This is the mail archive of the gcc@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]

dyn-string and cxa_demangle


I've done a bootstap of gcc 3.3 (20020806) on NetBSD/macppc 1.6D.
That went fine.

However, programs linked against libstdc++.so.5 fail to run because
in libsupc++, dyn-string.o and cxa_demangle.o are not compiled -fpic
or -fPIC.  This causes libstdc++.so.5 to contain R_PPC_REL24 relocs
instead of R_PPC_PLTREL24 relocs which the NetBSD dynamic loader
can't deal with.

So the question is why these objects are not compiled PIC.

I have the entire build.log available if it would to figure why this
happens.

--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message


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