From owner-freebsd-questions@FreeBSD.ORG Sat May 19 13:55:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6216106566C; Sat, 19 May 2012 13:55:21 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 887BC8FC0A; Sat, 19 May 2012 13:55:21 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SVk7m-0005Vf-TI>; Sat, 19 May 2012 15:55:15 +0200 Received: from e178020111.adsl.alicedsl.de ([85.178.20.111] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SVk7m-00067T-Kt>; Sat, 19 May 2012 15:55:14 +0200 Message-ID: <4FB7A63C.70509@zedat.fu-berlin.de> Date: Sat, 19 May 2012 15:55:08 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Current FreeBSD , freebsd-questions@freebsd.org X-Enigmail-Version: 1.5pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3FE2B60471D4EF092A7F9CC9" X-Originating-IP: 85.178.20.111 Cc: Subject: CURRENT: buildworld fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 13:55:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3FE2B60471D4EF092A7F9CC9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Since approx. a week for now, I can not build FreeBSD 10.0-CURRENT/amd64 anymore! This happens to be on ALL(!) FreeBSD 10 boxes around here I maintain. Build is usually performed with CLANG, but also legacy gcc 4.2.1 build do fail. The error is always the same, as documented below. I allow to build with "WITH_BSD_SORT" in /etc/src.conf. CFLAGS and COPTFLAGS are set to -pipe -O3 -fno-strict-aliasing -march=3Dnative when compiling with CLANG, otherwise the standard is used= as introduced by the vanilla sources. What I tried so far: a) build and install kernel -> works b) build and install /usr/src/lib via "make clean cleandepend depend obj all install" doesn't work anymore, it fails with =2E"/usr/src/lib/Makefile", line 179: Malformed conditional (${MK_NAND} != =3D "no") "/usr/src/lib/Makefile", line 181: if-less endif c) make installincludes from /usr/src works. But it doesn't relief as I hoped. As the error below may suggest, there seems to be an issue with the libstc++ lib. Building ports also fails due to errors refering to libstdc++.so. I feel helpless at the moment since the problem seems only to be sticky with me around here. Do others around here also allow the build of new C++ stuff with WITH_LIBCPLUSPLUS=3D YES in /etc/src.conf? Regards, Oliver [...] clang++ -O2 -fno-strict-aliasing -pipe -pipe -O3 -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 >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_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, std::allocator >::_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 >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_istream >::ignore()' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_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 >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_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 >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_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 >::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 >::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. --------------enig3FE2B60471D4EF092A7F9CC9 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) iQEcBAEBAgAGBQJPt6ZCAAoJEOgBcD7A/5N8YSMIALl1kI1bcHLZjXYtCNgI6ecY RpRhREoxTpD5fnJGjvBn0TJ6NoMClYB3x8NF3y1dx7OX789XRHpu8RWmpYe5MrWk pIaQTyRSfUYi2CcdR5fb9wfu0V8FhXrXiaPalT9PNoQkFmBrPC7q/TZEUD6gSJTA yaOoVK65YPzsa2WFrJWSxvWlVkCTbKJet2deWTIyrWTVsf4rPkpwe6Jf5/uZ1EY+ 1VbUb81wl2fEcl3D8TqeFgqBAZhoKVQzd+NtaYNZP01nFs7j0evR3tHXbZMBXpXw kzC7GPTsXfWMRn0IVUcyDSk6gh6lIyckB2CcZRVM6DUDyAe75Prl2qJrjHG6omg= =3FaR -----END PGP SIGNATURE----- --------------enig3FE2B60471D4EF092A7F9CC9--