This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linux ppc64 - compatibility-ldbl.o can't find std::num_put


On Wed, Apr 10, 2019 at 12:52:59PM -0400, Brian Groose wrote:
> It looks like I'm hitting the same issue that was reported in this
> invalid gcc bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43968,
> which was closed because it is a binutils bug?

No, that old ar bug won't be the trouble here.

> I'm getting the exact same errors but running Linux on ppc64 instead
> of alpha.  I have built binutils 2.25.1 and 2.32 from source, and both
> have hit the same linker errors as in that gcc bug.  The same code
> with the same binutils and gcc versions links without error on Linux
> x86 and x64 (and 32-bit Solaris targets).
> 
> I am NOT linking with -static, though I am using -static-libgcc and
> -static-libstdc++.  I am unable to reproduce this with a small test
> case program such as the one found in the gcc bug.
> 
> Can anyone give me any suggestions of things to try here or what might be wrong?

I don't know what to suggest with the few details you've supplied.
I think you'll find that the missing compatibility-ldbl.o symbols are
defined in locale-inst.o, also in libstdc++.a.  So it's a mystery why
they don't satisfy the references.  Have you tried newer versions of
gcc?

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]