Using Sun GCCFSS and GNU ld
Vardhan, Sundara (GE Infra, Energy)
sundara.vardhan@ge.com
Wed Jan 14 03:32:00 GMT 2009
Hi
I downloaded and installed Sun GCC for Sun Sparc (GCCFSS) and then have
been using Sun ld as linker. But I have a requirement wherein I should
use GNU ld. So I downloaded binutils 2.18 and compiled using gccfss and
Sun ld. After which, I tried to use gnu ld and get the following warning
and error :
/usr/local/bin/ld:
/usr/local/solaris-gcc/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/li
bgcc_eh.a(unwind-dw2.o): warning: sh_link not set for section
`.eh_frame%base_of_encoded_value'
/usr/local/bin/ld:
/usr/local/solaris-gcc/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/li
bgcc_eh.a(unwind-dw2.o): warning: sh_link not set for section
`.eh_frame%base_of_encoded_value'
/usr/local/bin/ld: final link failed: Bad value
I would very much appreciate your help and advice.
With Regards
Vardhan
More information about the Gcc-help
mailing list