From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: [PACKAGE] musl libc Date: Mon, 8 Aug 2016 15:26:18 +0200 Message-ID: References: <87shun46de.fsf@elephly.net> <87vazihz8o.fsf@elephly.net> <87twf2hw0y.fsf@elephly.net> <87k2furtky.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWkZR-0000XS-Td for guix-devel@gnu.org; Mon, 08 Aug 2016 09:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWkZQ-0001rX-2I for guix-devel@gnu.org; Mon, 08 Aug 2016 09:26:20 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:33211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWkZP-0001rQ-UL for guix-devel@gnu.org; Mon, 08 Aug 2016 09:26:19 -0400 Received: by mail-qk0-x242.google.com with SMTP id x189so20828233qkd.0 for ; Mon, 08 Aug 2016 06:26:19 -0700 (PDT) In-Reply-To: <87k2furtky.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 Cc: guix-devel >> We usually don=E2=80=99t use the =E2=80=9Cgcc=E2=80=9D package directly = in Guix. Instead we use >> =E2=80=9Cgcc-toolchain=E2=80=9D, which also comes with a wrapper around = the linker that >> ensures that binaries are linked with libraries in the store, ensuring >> that things generally just work=E2=84=A2. >> >> I think more work would be needed to ensure that packages can actually >> successfully be linked with musl, but I=E2=80=99m not at all familiar wi= th this. >> I had mixed success with a GCC ARM cross-compiler toolchain linking with >> newlib, so I know that it=E2=80=99s not exactly obvious how to do this r= ight, >> but I find it hard to understand this. >> >> Have you tried building something that links with the libc provided by >> this musl package instead of the GNU libc? I=E2=80=99m not opposed to a= dding >> the package, but I=E2=80=99d like it to be usable. I'm not sure... I built musl, made the sinit package use the musl-wrapper as CC, and it worked (it builds =3D> it works) but couldn't test that sinit as replacement for pid 1... --=20 Vincent Legoll