From: Alan Young <ayoung@teleport.com>
To: axp-list@redhat.com
Subject: Re: problems compiling glibc-2.2.5
Date: Wed, 23 Oct 2002 23:17:33 -0700 [thread overview]
Message-ID: <3DB7907D.F503705A@teleport.com> (raw)
In-Reply-To: 20021023222915.D16484@Marvin.DL8BCU.ampr.org
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
next prev parent reply other threads:[~2002-10-24 6:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-21 18:55 problems compiling glibc-2.2.5 sptddolphin
2002-10-21 19:31 ` Falk Hueffner
2002-10-21 20:09 ` Thorsten Kranzkowski
2002-10-22 6:15 ` Alan Young
2002-10-23 22:29 ` Thorsten Kranzkowski
2002-10-24 6:17 ` Alan Young [this message]
2002-10-24 7:03 ` Alan Young
-- strict thread matches above, loose matches on Subject: below --
2002-10-23 19:35 sptddolphin
2002-10-23 20:03 ` Chris Meadors
2002-10-23 20:13 ` Falk Hueffner
2002-10-23 20:51 sptddolphin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox