This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]