Re: CURRENT (r253862): buildworld fails in libexec/atf/atf-check
--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--
討論串 (同標題文章)
完整討論串 (本文為第 1 之 5 篇):