How to force ld to find crti.o

Dan Kegel dank@kegel.com
Fri May 14 13:38:00 GMT 2004


Roman Duka wrote back in January:
 > [for sparc:]
> so far i i used --with-sysroot to build binutils-2.14, install 
> glibc-2.3.2 headers, bootstrap gcc-3.4-20040121, and while building 
> glibc-2.3.2 this is what i get:
> 
> <stdin>: Assembler messages:
> <stdin>:2: Warning: rest of line ignored; first ignored character is `1'
> <stdin>:2: Warning: rest of line ignored; first ignored character is `1'
> <stdin>:2: Warning: rest of line ignored; first ignored character is `1'
> <stdin>:2: Error: unrecognized symbol type ""
> <stdin>:2: Warning: rest of line ignored; first ignored character is `1'
> <stdin>:2: Warning: rest of line ignored; first ignored character is `1'
> <stdin>:2: Error: Illegal operands: PC-relative operand can't be a constant
> make[4]: *** [/home/roman/crosstool/build/glibc-build/io/rtld-open.os] Error 1
> make[4]: Leaving directory `/home/roman/crosstool/build/glibc-2.3.2/io'  ...
> 
> have you seen this sort of thing before? 

I just ran into this myself.  I'm pretty sure it's fixed in newer binutils.
I'm about to try binutils-2.14.92 for the first time, I bet that'll do.

BTW one of the things that's delaying the release of crosstool-0.28
is I'm trying to get most architectures building with gcc-3.4.0.
- Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list