libstdc++ build problem

Alexander Kabaev kabaev at gmail.com
Mon May 28 06:24:19 UTC 2007


On Sun, 27 May 2007 21:36:51 -0700
vehemens <vehemens at verizon.net> wrote:

> While updating a system using the 200705 current snapshot to the
> latest current, libstdc++ fails to compile.
> 
> What's the trick to updating current to post gcc 4.2?
> 
> cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe  -DIN_GLIBCPP_V3
> -DHAVE_CONFIG_H -I/usr/src/gnu /lib/libstdc++
> -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++
> -I/usr/src/g nu/lib/libstdc++/../../../contrib/gcc
> -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++ /include
> -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/include
> -I/usr/src/gnu/lib/lib stdc++/../../../contrib/libstdc++/include -I.
> -frandom-seed=RepeatabilityConsideredGood  -c /
> usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/libiberty/cp-demangle.c
> -o cp-demangle.So building shared library
> libstdc++.so.6 /usr/obj/usr/src/tmp/usr/bin/ld: libstdc++.so.6:
> undefined versioned symbol name _ZN10__gnu_n
> orm15_List_node_base8transferEPS0_S1_@@GLIBCXX_3.4 /usr/obj/usr/src/tmp/usr/bin/ld:
> failed to set dynamic section sizes: Bad value *** Error code 1
> 

Do not disable symbol versioning.

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070528/7d651301/signature.pgp


More information about the freebsd-current mailing list