i've configured my gcc with -with-pic option and trying
to build statically linked shared c++ library.
$ make
g++ -O2 -g0 -Wall -z defs test.cpp -o libtest.so -fPIC -shared \
-nodefaultlibs \
-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic \
-lc -lgcc_eh
/usr/bin/ld: libtest.so: undefined versioned symbol name
[EMAIL PROTECTED]
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
--
Summary: undefined versioned symbol name
[EMAIL PROTECTED]
IBCXX_3.4
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: x86-64-linux
GCC host triplet: x86-64-linux
GCC target triplet: x86-64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811