From owner-freebsd-current@FreeBSD.ORG Thu Aug 1 19:10:58 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E9DBD241 for ; Thu, 1 Aug 2013 19:10:57 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A5082550 for ; Thu, 1 Aug 2013 19:10:57 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id c11so2027099wgh.20 for ; Thu, 01 Aug 2013 12:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=94Lrr00bPO7BWXUMoqZUcIBVlPe1rYcrs3Y7HmTkO74=; b=Qbe/gCLO02BK5iL11O/gAGs/fNsGMW+bP0DHkNYlr5pNtG93wmBNCg5XfJI/sj1bFD 55cpckKYX1RMjNkXwIx8SlNVs/8YZJGMgCG0vJA3PK9PMNJLoJxmsuwLYskXisyTUQn7 zRxsOHb5o3chBED0EDGO7KiNtgv6EbHTgvzLiYWH7cVp4oxcgb7Pj3ZiZ00lt6C6iduB JuULzlsNxvbXHjvMSgMrLwmfW5Hw0PdFvkPC9Liu4zrkkdZwY1Ze+RWxWldaV3fHxRWk Y3S7G6wkzk423X3lHGdZ175fVr/1MDS4lP2zFderl+dG4YPDUbjEpvDl9h5TwNdQmAqT PxEA== X-Received: by 10.180.183.180 with SMTP id en20mr8856244wic.18.1375384255746; Thu, 01 Aug 2013 12:10:55 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id n2sm5594038wiz.4.2013.08.01.12.10.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 01 Aug 2013 12:10:54 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 1 Aug 2013 21:10:52 +0200 From: Baptiste Daroussin To: "O. Hartmann" Subject: Re: CURRENT (r253862): buildworld fails in libexec/atf/atf-check: ... /usr/obj/usr/src/tmp/usr/bin/ld: 6: invalid DSO for symbol `__cxa_call_unexpected@@CXXABI_1.3' Message-ID: <20130801191052.GN95363@ithaqua.etoilebsd.net> References: <20130801203102.112dbc5e@thor.walstatt.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uMPAU7A2Er6+wvsD" Content-Disposition: inline In-Reply-To: <20130801203102.112dbc5e@thor.walstatt.dyndns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 19:10:58 -0000 --uMPAU7A2Er6+wvsD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 01, 2013 at 08:31:02PM +0200, O. Hartmann wrote: > Buildworld fails with >=20 >=20 > =3D=3D=3D> libexec/atf/atf-check (all) > c++ -O2 -pipe -O3 -march=3Dnative -DHAVE_CONFIG_H -O3 > -I/usr/src/libexec/atf/atf-check/../../../contrib/atf > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -stdlib=3Dlibc++ -std=3Dc++11 > -c /usr/src/libexec/atf/atf-check/../../../contrib/atf/atf-sh/atf-check.c= pp > c++ -O2 -pipe -O3 -march=3Dnative -DHAVE_CONFIG_H -O3 > -I/usr/src/libexec/atf/atf-check/../../../contrib/atf > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -stdlib=3Dlibc++ -std=3Dc++11 > -L/usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c++ > -L/usr/obj/usr/src/libexec/atf/atf-check/../../../lib/atf/libatf-c -o > atf-check atf-check.o -latf-c++ > -latf-c /usr/obj/usr/src/tmp/usr/bin/ld: 6: invalid DSO for symbol > `__cxa_call_unexpected@@CXXABI_1.3' > definition /usr/obj/usr/src/tmp/lib/libcxxrt.so.1: could not read > symbols: Bad value c++: error: linker command failed with exit code 1 > (use -v to see invocation) *** Error code 1 >=20 > Stop. > make: stopped in /usr/src/libexec/atf/atf-check > *** Error code 1 >=20 >=20 > Just for the record. >=20 > Oliver Thay is with the new ld behaviour, it seems like for some reason, when link= ing with libc++ it lacks an explicit link on libcxxrt, I ll let c++ people find= out why. As a side note, it will be nice if you could add your specific settings when reporting failures, it tool me a while to see the -stdlib=3Dc++ regards, Bapt --uMPAU7A2Er6+wvsD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlH6srwACgkQ8kTtMUmk6EwvtgCfRK1xsOfUm1ctYWPwDXlu79Ov 5MQAoJU/sBvGvhNHajaMsWDSsFnjiTea =yc05 -----END PGP SIGNATURE----- --uMPAU7A2Er6+wvsD--