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 7663 invoked from network); 11 Apr 2021 12:38:36 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 11 Apr 2021 12:38:36 -0000 Received: (qmail 21837 invoked by uid 550); 11 Apr 2021 12:38:31 -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 21819 invoked from network); 11 Apr 2021 12:38:30 -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=G/EeRi3JEKREjfOi9sXNBXgf4XtOS9R95OX36qm8++4=; b=aD0+Fza1WZ+uJov6LhVL2DzBJtoyv3/GuH55GwWd2mvGWGH00cCPjJBZeV3QyLYSFK ZBejVDH7Er+Xgk3twQVb77mvXc/oTiRomePbgkPvYHE6B9GEqmkXk8e89d4TXzPPT1UK myTxZSFroEJ3eAaAX6+EeAKfFNvodS+rzBc12REDgjnd69oiZcTxK+LZhAqChzHF4Idp uOOQTZSd7yTygnZ+Qm4ZXTSNZncafURe0veMxbtSz9QKKJ3Gy64aivuNO9306AeUVHg9 kVELzzmWg4xos/34Famas0NBNkSxIEofYquEn79lxVPNCEdB3donXbqLfMgAXGhxTbMn CVvA== 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=G/EeRi3JEKREjfOi9sXNBXgf4XtOS9R95OX36qm8++4=; b=mtp+AvFcNEunqM8MTscHcxhnNjAhbyGqHWL034KghQseKltQhcrAZfBTmppo2ftj8W Xs1InfpRknxqibcfqluvfWtvXsnfCQxn8aVdoi9fkRPwZZV9gjcoPxd6PpiAL+9FdG+p sXakWNUp70nAN42MU0mRJFSo+BgIpnCOxibt/DZU5PG++lLn8lrFgFlSyodZ7jAWePx6 961wPVgNULAFybmMzIU64mEOjKxtoF5dxh1XYYic8Lkw8lzt/S7YWi1Aejxt4DTz2/j5 lWG7y+kfhjX5Pep6ZFPYZyS+huTY/YCXsFaLWHwRVTs0qyuvwLs27wT+rivo3EYIeotp bM3A== X-Gm-Message-State: AOAM531XAfmCb/1cbQK2rrvw99CsUGUq/mabKX+qaz2zo0mLVRroL+Hn EYZ3du9ht3KEjEmu5s8YmegfK0qfxIhbXX+nivGZ53jrlAA= X-Google-Smtp-Source: ABdhPJyzF2cu9cBqd/1uNSiudBNDK5VESvUia4fmuhZ8Gbq1narbasWLkbu6f/VJjgC8BF8bMAnm3t4L1zs4KDtVZtE= X-Received: by 2002:a05:6638:3826:: with SMTP id i38mr692038jav.141.1618144698220; Sun, 11 Apr 2021 05:38:18 -0700 (PDT) MIME-Version: 1.0 References: <20210410122449.GH2799122@port70.net> In-Reply-To: From: Nagakamira Date: Sun, 11 Apr 2021 15:38:07 +0300 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000eec38705bfb1ab04" Subject: Re: [musl] Linux distribution for using RISC-V musl? --000000000000eec38705bfb1ab04 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. > > > --000000000000eec38705bfb1ab04 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 <ardillasdelmonte@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.
>
--000000000000eec38705bfb1ab04--