[Buildroot] [PATCH 1/1] toolchain/helpers.mk: fix check-musl

Jörg Krause jkrause at posteo.de
Mon Dec 8 21:17:03 UTC 2014


On Mo, 2014-12-08 at 20:32 +0100, Thomas Petazzoni wrote:
> Dear Jörg Krause,
> 
> On Thu,  4 Dec 2014 00:13:59 +0100, Jörg Krause wrote:
> > check_musl works fine for the external musl 1.1.1 toolchain which is downloaded
> > and installed, but fails for a musl toolchain which, in a first step is build
> > by the internal toolchain backend of Buildroot, and in a second step is copied
> > to an external directory and imported as an custom external toolchain (in a new
> > configuration).
> > 
> > In case of the downloaded musl 1.1.1 toolchain the libc.so and libm.a files
> > reside in the sysroot/lib directory and sysroot/usr/lib is a symlink to
> > sysroot/lib.
> > 
> > In case of the custom musl toolchain build by Buildroot the files reside in
> > sysroot/usr/lib which is not a symlink.
> 
> Actually, I am not sure this is the best fix we could do. Having the C
> library installed in /usr/lib in the sysroot is a bit weird, and I
> believe we should rather fix the Buildroot musl package to ensure that
> the C library gets installed in /lib instead.
> 
> Do you want to have a look into this?

I'm not a toolchain expert, but I will have a look at it.




More information about the buildroot mailing list