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'
O. Hartmann
ohartman at zedat.fu-berlin.de
Thu Aug 1 21:06:20 UTC 2013
On Thu, 1 Aug 2013 21:10:52 +0200
Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> On Thu, Aug 01, 2013 at 08:31:02PM +0200, O. Hartmann wrote:
> > Buildworld fails with
> >
> >
> > ===> libexec/atf/atf-check (all)
> > c++ -O2 -pipe -O3 -march=native -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=libc++ -std=c++11
> > -c /usr/src/libexec/atf/atf-check/../../../contrib/atf/atf-sh/atf-check.cpp
> > c++ -O2 -pipe -O3 -march=native -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=libc++ -std=c++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
> >
> > Stop.
> > make: stopped in /usr/src/libexec/atf/atf-check
> > *** Error code 1
> >
> >
> > Just for the record.
> >
> > Oliver
>
> Thay is with the new ld behaviour, it seems like for some reason,
> when linking 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=c++
>
> regards,
> Bapt
Thank you very much for looking into this.
I'm sorry about the missing piece of information, I will try to think
next time to mention that I'm using special compilation options.
Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130801/2af78acc/attachment.sig>
More information about the freebsd-current
mailing list