This is the mail archive of the
mailing list for the GCC project.
Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame
On Sat, Dec 1, 2012 at 12:15 AM, Marc Glisse <firstname.lastname@example.org> wrote:
> On Fri, 30 Nov 2012, Ian Lance Taylor wrote:
>> Sounds like you are using the GNU assembler with the Solaris linker,
>> or the Solaris assembler with the GNU linker. Don't do that.
> that mix is what we recommend in our doc...
Ah, sorry for being misleading.
I think I see the real problem now. The OP is using GCC 3.4.3, which
does not have this patch:
That patch was added in GCC 4.0. It changes GCC to use the
SHT_AMD64_UNWIND section type for the .eh_frame section on x86_64
I think the effect is that version of GCC before 4.0 do not properly
support Solaris 10.