From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1667 invoked from network); 12 Apr 2021 10:30:20 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 12 Apr 2021 10:30:20 -0000 Received: (qmail 17887 invoked by uid 550); 12 Apr 2021 10:30:17 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 17864 invoked from network); 12 Apr 2021 10:30:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sJhv9KvjQM8qpH2hnffb7laGKSdrSXxQ+kYa5mhDhTg=; b=QKin/zoHtVx/qZQVuf7uQv+h5JJqycQXV7Y1UApDFEqnvPFCqxz7T6RoBS2ZmruF1m 894pEAq4UJr9B8x6DVv9cevJV0J/YzuuVAfYH/hhjNoiBsruaWGAkU7D+1txxv6hnUbG YX/LUgsRQUHwZsP3GdA/woSZZpconUJRUhlXwY4WxwVI4iHoqFIL2Nh8lKJXm69+Ma7Y htfvqNOlvRsOClzmqTFIrYxbLRuITWJflua/JisX5F29goFLFZXvhMSVLIEuv64tjYgr 2y+2Sux+849dfYz7kEvOJZdGaaeQJOMFCL5vMGJu09oAqMCe0g6PxlCfFcg05IcLYW+C nN6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=sJhv9KvjQM8qpH2hnffb7laGKSdrSXxQ+kYa5mhDhTg=; b=S6rsiYfWZiawNaRpBSXyxaaKjdYFC4/ZaAoTyiDa2udb9fxWMtC8de4MX3t3IKnasd aCyjIMgPHp/wnah2yiOY96/vKP8ad1a7pCnUDV6DxDnUupnMCrDUxHYLIECX79/xi/N+ dUDx9ca1A6VealTyrrQH2VNdqsH6TUx8+5UJIb+h/mCa73BoF5Dc95ilvWlat4lnHoXa HTTIET7vt1m2D+bi1jjEuxEDmj/Ry6qiriMpCYdGvVQAi6I2Oc7NjbeQtnvrAm0kbake aZmcmBpCCnVGvM+sQ9ibyOz9xqamMso/reSm1rIwTTT4tVixQ/ZQS8aysF8/mkYSQ5vT Qtpg== X-Gm-Message-State: AOAM533c9HTSrOILE6MKhVaj44wHY2orLa+WatxhTjk7+oHeI9bpcp84 2CKL9Ajc66sIFtRlQ4TVeyJSr9blK9Xz04/cLcKjkyL9 X-Google-Smtp-Source: ABdhPJxGrK9t2v2FbUbO8sVVD7QVhlWlHW9ovsPrUvT74hY7aS6L4nmuoZV0JxVup63Q++xArsEsWaW9tkt4Kvew9q4= X-Received: by 2002:a02:a88e:: with SMTP id l14mr27637608jam.59.1618223404848; Mon, 12 Apr 2021 03:30:04 -0700 (PDT) MIME-Version: 1.0 References: <20210410122449.GH2799122@port70.net> In-Reply-To: From: ardi Date: Mon, 12 Apr 2021 12:29:48 +0200 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="00000000000036973305bfc3ffb8" Subject: Re: [musl] Linux distribution for using RISC-V musl? --00000000000036973305bfc3ffb8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ataraxia looks really interesting: LLVM+musl+Toybox is the kind of distribution I=E2=80=99d love to have. Is there any page explaining how to = install Ataraxia on RISCV? The docs only cover x86 and PPC, and besides the latest RISCV release I found is from 2019 or so... Also, regarding LLVM LTO, what=E2=80=99s the ticket for following that bug?= I searched for it and all what I found is. Thanks!! Nagakamira wrote: > Try ataraxia gnu/linux! But llvm lto have to be fixed. > > =D0=B2=D1=81, 11 =D0=B0=D0=BF=D1=80. 2021 =D0=B3., 00:17 ardi : > >> Really useful!! Thanks a lot! >> >> On Sat, Apr 10, 2021 at 2:24 PM Szabolcs Nagy wrote: >> > >> > * ardi [2021-04-10 14:08:31 +0200]: >> > > Also, I've read that QEMU is able to emulate multicore RISC-V CPUs. >> > > Does musl support multicore RISC-V in 64bit? I mean, if I configure = a >> > > multicore RISC-V in QEMU and I try to build a parallel loop using >> > > OpenMP for example, will such loop be parallelized if I'm using musl= ? >> > >> > yes. >> > >> > this has not much to do with the libc though. >> > openmp uses pthreads, pthreads uses clone and >> > clone is implemented by the os in some way. >> > whether things are parallel is not in the hands >> > of the libc and the logic is not target dependent, >> > the libc works the same way on x86_64 as on riscv. >> > there can be target specific synchronization bugs >> > in the libc, but those are just bugs. >> > >> > --00000000000036973305bfc3ffb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ataraxia looks really interesting: LLVM+musl+Toybox is th= e kind of distribution I=E2=80=99d love to have. Is there any page explaini= ng how to install Ataraxia on RISCV? The docs only cover x86 and PPC, and b= esides the latest RISCV release I found is from 2019 or so...

Also, regarding LLVM LTO, what=E2=80= =99s the ticket for following that bug? I searched for it and all what I fo= und is.=C2=A0

Thanks!!


Nagakamira <nagakamira@gmail.com> wrote:
Try ataraxia gnu/linux! But llvm lto have t= o be fixed.

=D0=B2=D1=81, 11 =D0=B0=D0=BF=D1=80. 2021 =D0=B3., 00:17 ardi &l= t;ardillasd= elmonte@gmail.com>:
Really useful!! Thanks a lot!

On Sat, Apr 10, 2021 at 2:24 PM Szabolcs Nagy <nsz@port70.net> wrote:=
>
> * ardi <ardillasdelmonte@gmail.com> [2021-04-10 14:0= 8:31 +0200]:
> > Also, I've read that QEMU is able to emulate multicore RISC-V= CPUs.
> > Does musl support multicore RISC-V in 64bit? I mean, if I configu= re a
> > multicore RISC-V in QEMU and I try to build a parallel loop using=
> > OpenMP for example, will such loop be parallelized if I'm usi= ng musl?
>
> yes.
>
> this has not much to do with the libc though.
> openmp uses pthreads, pthreads uses clone and
> clone is implemented by the os in some way.
> whether things are parallel is not in the hands
> of the libc and the logic is not target dependent,
> the libc works the same way on x86_64 as on riscv.
> there can be target specific synchronization bugs
> in the libc, but those are just bugs.
>
--00000000000036973305bfc3ffb8--