Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame
Jim Rice
jmrice6640@yahoo.com
Fri Nov 30 16:28:00 GMT 2012
ld: fatal: file .libs/sjlj.o: section [12].eh_frame: section type is SHT_PROGBITS: expected SHT_AMD64_UNWIND
All of my Googling has lead me down the rabbit hole.
Something about binutils?
Am I stumbling in the right direction?
Figured I would ask the source...
Let me know what more info you would like to see if you can help me...
Sun X4100M2 - x86 AMD64 - Solaris 10 U10
Compiling with GCC 3.4.3
GNU ld (GNU Binutils)2.22
solaris-build# mkdir gcc-4.7.2_build
solaris-build# cd gcc-4.7.2_build
solaris-build# $PWD/../gcc-4.7.2/configure --prefix=/opt/gcc-4.7.2 --with-gnu-as --with-as=/usr/sfw/bin/gas \
--enable-languages=c,c++ CC='gcc -m64'
solaris-build# make
Thanks!
More information about the Gcc-help
mailing list