[Bug 214863] lang/gcc + libc++ may fail due to spurious __cxa_throw_bad_array_new_length reference

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 30 18:38:48 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214863

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bapt at FreeBSD.org

--- Comment #8 from Dimitry Andric <dim at FreeBSD.org> ---
One question though: why are ports on 10.x using devel/libc++, while libc++ is
in base?  I would really like to understand the reasoning behind this.  IIRC
Baptiste added it, so I'm putting him on the CC list.

Another way to fix this would be to make the ports that use devel/libc++, also
use devel/libcxxrt, in which this problem has already been fixed.  E.g, change
the devel/libc++ port so the /usr/local/lib/c++/libstdc++.so linker scripts it
installs contains:

GROUP ( /usr/local/lib/libc++.so.1 /usr/local/lib/libcxxrt.so )

and add devel/libcxxrt as a dependency of devel/libc++.

This is far easier than an EN, and this workaround can be removed as soon as
9.x and 10.[12] reach end of life.  In fact, we should actively try to remove
the whole devel/libc++ and devel/libcxxrt ports in the future.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-toolchain mailing list