From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 07F1B41C3D for ; Thu, 24 Oct 2002 02:16:38 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9O6Gb928593 for axp-list@listman.redhat.com; Thu, 24 Oct 2002 02:16:37 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9O6Gbf28589 for ; Thu, 24 Oct 2002 02:16:37 -0400 Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9O5tAw31052 for ; Thu, 24 Oct 2002 01:55:10 -0400 Received: from teleport.com ([4.47.72.211]) by out002.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021024061631.LGMS2867.out002.verizon.net@teleport.com> for ; Thu, 24 Oct 2002 01:16:31 -0500 Message-ID: <3DB7907D.F503705A@teleport.com> Date: Wed, 23 Oct 2002 23:17:33 -0700 From: Alan Young X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: problems compiling glibc-2.2.5 References: <7C25CB45.781AF44B.53433F11@netscape.net> <20021021200904.D13221@Marvin.DL8BCU.ampr.org> <3DB4ED04.89CB8724@teleport.com> <20021023222915.D16484@Marvin.DL8BCU.ampr.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at out002.verizon.net from [4.47.72.211] at Thu, 24 Oct 2002 01:16:31 -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Thorsten Kranzkowski wrote: > > On Mon, Oct 21, 2002 at 11:15:32PM -0700, Alan Young wrote: > > The error is being issued due to a change in binutils. > > I understand that it's a relocation that can't be computed at link time. I believe you are right and that is why the check was added. > > I'm not sure how to fix Mozilla. I have not checked to see > > The actual messages are (repeated about 8 times): > > /usr/lib/gcc-lib/alphaev6-unknown-linux-gnu/3.3/../../../../alphaev6-unknown-linux-gnu/bin/ld: /usr/lib/gcc-lib/alphaev6-unknown-linux-gnu/3.3/../../../libiberty.a(cplus-dem.o): gp-relative relocation against dynamic symbol current_demangling_style > /usr/lib/gcc-lib/alphaev6-unknown-linux-gnu/3.3/../../../../alphaev6-unknown-linux-gnu/bin/ld: /usr/lib/gcc-lib/alphaev6-unknown-linux-gnu/3.3/../../../libiberty.a(cplus-dem.o): gp-relative relocation against dynamic symbol libiberty_demanglers > > It seems not to be mozilla's fault but gcc's own libiberty.a - the messages > change when another libiberty (e.g. from binutils) is installed (there are > less of them) But they're also about those two symbols from cplus-dem.o > > My guess is that gcc emits illegal instructions/relocations for cplus-dem.o > but I don't know for sure. Hmmm... I did not get that exact error here. Or maybe I just have not got that far in compiling. :) I get a pc-relative relocation where your's is gp related. For me it happens when it tries to link regExport in the xpcom tree. That error message led me to the second patch. Oh and I'm using gcc 3.2, binutils 2.13.90.0.4 and the Mozilla 1.1 source. > > if a bug relating to this has been filed yet. I doubt it as > > it will not compile using gcc 3.x without patches. That's a > > yeah - I know. I somehow figured out the STUB_ENTRY stuff myself - without > really knowing what it's about :-)) :-) Good for you! > > known bug, see > > > > http://bugzilla.mozilla.org/show_bug.cgi?id=86446 > > Ah, thanks. The 2nd patch is new to me. You're welcome. It appears that it may not be a complete fix. I applied it, but I still can not link regExport. ld is now complaining about undefined references to $invoke_copy_to_stack..ng and $PrepareAndDispatch..ng. It seems to be another twist on this issue. I see $invoke_copy_to_stack..ng defined in the source, but in the object, it's just a relocation record. > > And even if you get it to compile, plugins will break until you > > recompile those to pick up the gcc 3.x C++ ABI changes. > > well - plugins may be the next step - for now I'd only like to get > the main package running. Me too. :) It's more of a problem for the x86ers as they have more plugins that we do. Alan