Hey Andrew,

The default sysroot path is hardcoded into the linker at build time. You can 
use the –sysroot=<path> option to gcc/g++ to specify the correct sysroot if it 
has moved.

If the path is correct, see if the libraries were built correctly: run the 
`file` command and check the architecture of libc.so.6.

--
Warm regards,
Sayan Chaliha.

May the force be with you

From: [email protected] [mailto:[email protected]] On Behalf Of 
Andrew Rose
Sent: Monday, January 13, 2014 7:46 AM
To: Carlos O'Donell
Cc: [email protected]
Subject: Re: [Issues] Wrong path to library in libc.a


))! I'am ask question gnu LD developer. What he answer:

"
On Sun, Jan 12, 2014 at 10:28:39AM +0400, Andrew Rose wrote:

I think it's a bug

Yes, in your libc.so.  Take a look at that file with an editor.

--
Alan Modra
Australia Development Lab, IBM"


I try other linker, with same result





On 13 янв. 2014 г., at 5:43, Carlos O'Donell 
<[email protected]<mailto:[email protected]>> wrote:

On Sun, Jan 12, 2014 at 3:43 PM, Andrew Rose 
<[email protected]<mailto:[email protected]>> wrote:
Good day! I build own toolchan under mips architecture
Script to create toolchan:
http://pastebin.com/RxwS09iT
Toolchan build great.

Building is the easy part. Testing and validating are the hard parts.

This looks a configuration error with your linker likely looking in
$SYSROOT + $SYSROOT/lib/libc.so.6 for the libraries (do an strace to
see what full paths it's trying to open).

You need to fix your configuration.

Cheers,
Carlos.
_______________________________________________
Issues mailing list
[email protected]
http://eglibc.org/cgi-bin/mailman/listinfo/issues

Reply via email to