From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3707 invoked by alias); 3 Dec 2012 16:35:13 -0000 Received: (qmail 2933 invoked by uid 22791); 3 Dec 2012 16:35:11 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm28-vm0.bullet.mail.bf1.yahoo.com (HELO nm28-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Dec 2012 16:35:04 +0000 Received: from [98.139.212.149] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 03 Dec 2012 16:35:02 -0000 Received: from [98.139.212.246] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 03 Dec 2012 16:35:00 -0000 Received: from [127.0.0.1] by omp1055.mail.bf1.yahoo.com with NNFMP; 03 Dec 2012 16:35:00 -0000 Received: (qmail 52727 invoked by uid 60001); 3 Dec 2012 16:35:00 -0000 Received: from [71.165.245.194] by web160503.mail.bf1.yahoo.com via HTTP; Mon, 03 Dec 2012 08:35:00 PST X-Rocket-MIMEInfo: 001.001,Ci0tLSBPbiBTdW4sIDEyLzIvMTIsIElhbiBMYW5jZSBUYXlsb3IgPGlhbnRAZ29vZ2xlLmNvbT4gd3JvdGU6Cgo.IEZyb206IElhbiBMYW5jZSBUYXlsb3IgPGlhbnRAZ29vZ2xlLmNvbT4KPiBTdWJqZWN0OiBSZTogQnVpbGRpbmcgR0NDIDQuNy4yIG9uIFNvbGFyaXMgMTAgeDg2IEFNRDY0IC0gR2V0dGluZyBsaW5rZXIgZXJyb3IgaW52b2x2aW5nIGVoX2ZyYW1lCj4gVG86IGdjYy1oZWxwQGdjYy5nbnUub3JnCj4gQ2M6ICJKaW0gUmljZSIgPGptcmljZTY2NDBAeWFob28uY29tPgo.IERhdGU6IFN1bmRheSwBMAEBAQE- Message-ID: <1354552500.50964.YahooMailClassic@web160503.mail.bf1.yahoo.com> Date: Mon, 03 Dec 2012 16:35:00 -0000 From: Jim Rice Subject: Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame To: gcc-help@gcc.gnu.org, Ian Lance Taylor In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00014.txt.bz2 --- On Sun, 12/2/12, Ian Lance Taylor wrote: > From: Ian Lance Taylor > Subject: Re: Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker = error involving eh_frame > To: gcc-help@gcc.gnu.org > Cc: "Jim Rice" > Date: Sunday, December 2, 2012, 6:07 PM > On Sat, Dec 1, 2012 at 12:15 AM, Marc > Glisse > 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.=A0 > Don't do that. > > > > > > Ian, > > > > that mix is what we recommend in our doc... > > http://gcc.gnu.org/install/specific.html#ix86-x-solaris210 >=20 > Ah, sorry for being misleading. >=20 > I think I see the real problem now.=A0 The OP is using > GCC 3.4.3, which > does not have this patch: >=20 > http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02353.html >=20 > That patch was added in GCC 4.0.=A0 It changes GCC to use > the > SHT_AMD64_UNWIND section type for the .eh_frame section on > x86_64 > Solaris. >=20 > I think the effect is that version of GCC before 4.0 do not > properly > support Solaris 10. >=20 > Ian >=20 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