glibc 2.16.0

白い熊 ShiroiKuma@ShiroiKuma.org
Mon Dec 17 20:37:00 GMT 2012


On Tue, Dec 18, 2012 at 12:10 AM, Bernhard Walle <bernhard@bwalle.de> wrote:

> The binaries have /lib/ld-linux.so.2 as interpreter (run "readelf -l"

I've got it thanks to you. It got me thinking, I went double checking
and sure enough:

in the crosscompiled glibc-2.14.1's lib there is ld-linux.so.3, which
is good. In the 2.16.0's there is ld-linux-armhf.so.3

So it doesn't find ld-linux.so.3 it's looking for... Why does the
crosscompiler append the -armhf in the 2.16.0's case? Where can I set
the behavior? I mean, would like to know, I can solve the issue for
now via symlinking, but still...

> You can change the interpreter when compiling with
>
>     gcc ... -Wl,-dynamic-linker,/my/lib/ld-linux.so.2 ...

Yeah, I'll probably look into this, as a way to remove the necessity
to bindmount /lib, thanks for the hint...
-- 
白い熊

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list