Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 20:48:03 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@FreeBSD.org>
Subject:   r235510: recent buildworld fail
Message-ID:  <4FB3F663.8090308@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig06A33F2ADA38B6A28850E566
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

When compiling world (make buildworld) I receive the bewlo error, which
seems very strange!
The error occured out of the blue on a FreeBSD 10.0-CURRENT/amd64 box.

The line

/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNSi6ignoreEv@GLIBCXX_3.4' changed from 243 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so

looks like a "mixed up" between CLANG and legacy GCC 4.2.1, as far as I
remember this error was typical for a mismatch.

I can not imagine how this could be introduced on one of my systems.

By the way, all FreeBSD 10.0-CURRENT boxes I have compiling under CLANG
refuse compiling world - neither with make "-jXX buildworld" nor "make
buildworl".

This is my /etc/src.conf:

WITH_CLANG=3D             YES
WITH_CLANG_EXTRAS=3D      YES
#
WITH_BIND_LARGE_FILE=3D   YES
WITH_BIND_SIGCHASE=3D     YES
WITH_BIND_LIBS=3D         YES
#
WITH_IDEA=3D              YES
WITH_HESIOD=3D            YES
#
WITH_BSD_SORT=3D          YES
#WITH_BSD_GREP=3D         YES
#WITH_ICONV=3D            YES
#
WITH_LIBCPLUSPLUS=3D      YES
#
#WITH_OFED=3D             YES
#
PORTS_MODULES=3D          x11/nvidia-driver
#
MALLOC_PRODUCTION=3D      YES


What can I do to repair the system?


Regards,
Oliver
[...]
clang++ -O2 -pipe -O2 -fno-strict-aliasing -pipe -O3 -pipe
-fno-strict-aliasing -march=3Dnative -Qunused-arguments -fstack-protector=

-Wsystem-headers -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum
-Wno-parentheses -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib
-I/usr/src/gnu/usr.bin/gperf  -o gperf bool-array.o hash-table.o input.o
keyword-list.o keyword.o main.o options.o output.o positions.o search.o
version.o getline.o hash.o
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_ifstream<wchar_t, std::char_traits<wchar_t>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_Rep::_M_set_length_and_sharable(unsigned long=
)'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_M_check_length(unsigned long, unsigned long,
char const*) const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_fstream<char, std::char_traits<char>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_istream<wchar_t, std::char_traits<wchar_t>
>::ignore()'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_M_copy(wchar_t*, wchar_t const*, unsigned lon=
g)'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::string::_M_assign(char*, unsigned long, char)'
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@GLIBCXX_3.4' changed
from 243 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_fstream<wchar_t, std::char_traits<wchar_t>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_M_move(wchar_t*, wchar_t const*, unsigned lon=
g)'
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@GLIBC=
XX_3.4'
changed from 19 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 24 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::string::_M_move(char*, char const*, unsigned long)'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::istream::ignore()'
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNKSs15_M_check_lengthEmmPKc@GLIBCXX_3.4' changed from 39 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 36 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_ofstream<char, std::char_traits<char>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_M_assign(wchar_t*, unsigned long, wchar_t)'
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@GLIBCXX_3.4'
changed from 39 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 36 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so
/usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
`_ZNSi6ignoreEv@GLIBCXX_3.4' changed from 243 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_ifstream<char, std::char_traits<char>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::string::_M_copy(char*, char const*, unsigned long)'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::basic_ofstream<wchar_t, std::char_traits<wchar_t>
>::is_open() const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::string::_M_check_length(unsigned long, unsigned
long, char const*) const'
/usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple
definition of `std::string::_Rep::_M_set_length_and_sharable(unsigned lon=
g)'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [gperf] Error code 1

Stop in /usr/src/gnu/usr.bin/gperf.
*** [all] Error code 1

Stop in /usr/src/gnu/usr.bin.
*** [all] Error code 1

Stop in /usr/src/gnu.
*** [gnu.all__D] Error code 1

Stop in /usr/src.
*** [everything] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.


--------------enig06A33F2ADA38B6A28850E566
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJPs/ZqAAoJEOgBcD7A/5N8bjMIAJHpnykFPlR1Oaf95uc73pAy
IqA3aOm1h70RiiH44K+xtOdw2BmXrrH4l8kL+gFZeMKRwG0Ng6e1ZN/JUjKf06Px
eDjMamoWpVJN03F+oUlQGufdVGIoWZlYFGo1JPON6+e6eHpTTEd23VB2Rk05cSsg
wDT28sBPJ1QJ7KKK3cpUdmnMiXOMy+vsiMQYJz/G1ZJ5dyu/tHUPzfObNpon+GaB
EL4XMRldeklzxvzhCsOhbSHTRpNwpuoT9vAlDlWlUigjROl+5VX8xfOhOQE/vyed
SNNwVSOcQs55mi7MSEIfQuHOkJpr9RJPeMY5YUnUboGMzTz6fhhOCVsQ/eanElA=
=N+yh
-----END PGP SIGNATURE-----

--------------enig06A33F2ADA38B6A28850E566--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB3F663.8090308>