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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 1, 2012 at 12:15 AM, Marc Glisse <marc.glisse@xxxxxxxx> 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.
>
>
> Ian,
>
> that mix is what we recommend in our doc...
> http://gcc.gnu.org/install/specific.html#ix86-x-solaris210

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:

http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02353.html

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
Solaris.

I think the effect is that version of GCC before 4.0 do not properly
support Solaris 10.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux