--- On Sun, 12/2/12, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > From: Ian Lance Taylor <iant@xxxxxxxxxx> > Subject: Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame > To: gcc-help@xxxxxxxxxxx > Cc: "Jim Rice" <jmrice6640@xxxxxxxxx> > Date: Sunday, December 2, 2012, 6:07 PM > 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 > 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? Thanks again, Jim