All my bootstraps fail with: /usr/bin/ld: cannot find crti.o in stage 2.

Toon Moene toon@moene.org
Sun Jul 3 14:11:00 GMT 2011


On 07/02/2011 11:25 PM, Martin Jambor wrote:

> On Sat, Jul 02, 2011 at 04:05:59PM +0200, Toon Moene wrote:

>> Which crti.o is the build looking for ? The original one from my
>> Debian Testing installation ?
>>
>> $ find /usr/lib -name crti.o
>> /usr/lib/x86_64-linux-gnu/crti.o
>>
>
> set LIBRARY_PATH (I really mean LIBRARY_PATH without LD_ prefix):
>
> export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
>
> at least that works for me on debian (with an i386 directory though)
> and I didn't have to create any symlinks.

Yep, that did it; 
http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg00280.html.

Thanks !

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news



More information about the Gcc mailing list