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
- From: Jim Rice <jmrice6640 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org, Ian Lance Taylor <iant at google dot com>
- Date: Mon, 3 Dec 2012 08:35:00 -0800 (PST)
- Subject: Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame
--- On Sun, 12/2/12, Ian Lance Taylor <email@example.com> wrote:
> From: Ian Lance Taylor <firstname.lastname@example.org>
> Subject: Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame
> To: email@example.com
> Cc: "Jim Rice" <firstname.lastname@example.org>
> Date: Sunday, December 2, 2012, 6:07 PM
> On Sat, Dec 1, 2012 at 12:15 AM, Marc
> Glisse <email@example.com>
> > 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:
> That patch was added in GCC 4.0.? It changes GCC to use
> SHT_AMD64_UNWIND section type for the .eh_frame section on
> I think the effect is that version of GCC before 4.0 do not
> support Solaris 10.
Thanks for the clarification and the info.
What would you recommend as a course going forward?
I do not believe that our old version was built from source,
so I wouldn't know how to apply the patch.
Should I obtain GCC 4.x binaries, then try to build 4.7.2 from there?