Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 31 Dec 2014 18:09:49 -0300
From: "Matias A. Fonzo" <selk@...gora.org>
To: "piranna@...il.com" <piranna@...il.com>
Cc: musl@...ts.openwall.com
Subject: Re: Failed to execute /init (error -2) for system-wide musl
 libc

El Wed, 31 Dec 2014 21:46:48 +0100
"piranna@...il.com" <piranna@...il.com> escribió:
> > You've used CLFS-embedded, right?.  Probably you are getting
> > dynamic-link issues because the steps used for musl in CLFS-embedded
> > are not linked with the cross binutils (or the binutils from the
> > clfs-toolchain).  You need to add CROSS_COMPILE="${CLFS_TARGET}-"
> > to the environment.
> 
> Yes, cross-compiler is based on CLFS-embedded. I think what you say
> it's not an issue because I'm explicitly using $TARGET-gcc, but
> definitely is a good idea to also define the environment variable just
> to be sure :-)
> 

With CC="${CLFS_TARGET}-gcc" you won't get musl linked against
cross-binutils. CROSS_COMPILE will use $TARGET-ld.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.