No bootstrap on Solaris
Jeff Sturm
jsturm@one-point.com
Thu Oct 11 14:12:00 GMT 2001
On Thu, 11 Oct 2001, Martin Kahlert wrote:
> $ uname -a
> SunOS rumba 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
>
> $ /data/lorentz_3/kahlert/obj/gcc/xgcc -B/data/lorentz_3/kahlert/obj/gcc/ \
> -B/home/kahlert/GCC/sparc-sun-solaris2.7/bin/ \
> -B/home/kahlert/GCC/sparc-sun-solaris2.7/lib/ -isystem \
> /home/kahlert/GCC/sparc-sun-solaris2.7/include -m64 -g -O2 -o t t.c
> /usr/lib/libdl.so.1: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
Hmm... bootstrap fails for me too, but with a different message:
relocation truncated to fit: R_SPARC_32 .text
> It works without -m64. Is this a known problem?
Try the above without -g. It looks like a problem assembling .stabs, at
least in my case. If that works, you might try to configure using
`--with-dwarf2'.
> I am very sure, that this box is not 64 bit.
Sure it is... you have a sun4u running Solaris 7, right?
Jeff
More information about the Gcc-bugs
mailing list