------- Comment #10 from jakub at gcc dot gnu dot org  2008-06-06 12:14 -------
Doesn't --with-pic build just one set of *.o files?  If yes, then you are out
of luck, either configure libstdc++ without symbol versioning, or you need to
use
a version script when linking --with-pic libstdc++.a statically.
If no and --with-pic builds everything twice and it is possible to compile
the *.o's intended for libstdc++.so with -DSHARED, then surely replacing
uses of #ifdef PIC with #ifdef SHARED is the way to go.
Or leave compatibility.o from libstdc++.a (not sure if it is easily doable
with libtool).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811

Reply via email to