Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame
Ian Lance Taylor
iant@google.com
Sat Dec 1 01:13:00 GMT 2012
On Fri, Nov 30, 2012 at 8:28 AM, Jim Rice <jmrice6640@yahoo.com> wrote:
> ld: fatal: file .libs/sjlj.o: section [12].eh_frame: section type is SHT_PROGBITS: expected SHT_AMD64_UNWIND
Sounds like you are using the GNU assembler with the Solaris linker,
or the Solaris assembler with the GNU linker. Don't do that. Use
both the Solaris assembler and linker, or both the GNU assembler and
linker. Use the -v option with gcc to see precisely which assembler
and linker it is running.
Ian
More information about the Gcc-help
mailing list