This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
dyn-string and cxa_demangle
- From: Matt Thomas <matt at 3am-software dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 07 Aug 2002 13:32:16 -0700
- Subject: 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