This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] 3.2: Fixup symbol versioning mistake on powerpc-linux-gnu


On Tue, Aug 06, 2002 at 10:45:11PM +0200, Franz Sirl wrote:
> http://gcc.gnu.org/ml/gcc-patches/2002-08/subjects.html#00357
>
> The problem is that glibc also exports these 4
> symbols with link-time reference (fixing that will be a follow-up patch) and
> there are still a bunch of apps that manually link shared libs with -lc -lgcc
> (like openssl, KDE, mozilla, etcetc) instead of -lgcc -lc -lgcc or using gcc
> to link. That caused an undefined reference for __divdi3@GLIBC_2.0 when
> running on a gcc2 compiled glibc, even though libgcc_s.so was delivered with
> the app.

So libc.so exports __divdi3@@GLIBC_2.0, but we're not matching
that somehow?  I'm confused.  If libgcc_s exports these symbols
with the same version tag, then they should be resolvable by 
either library, correct?


r~


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