Re: libstdc++ build problem

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Mon, 28 May 2007 02:24:12 -0400
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__at__at_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

Received on Mon May 28 2007 - 04:24:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC