Does anyone object to these trivial patches? (If not someone please push)
#1
FreeBSD has a local patch that for some stupid reason they have’t pushed upstream. We recently added a commit that without the libc++ fix causes multiple symbols for us and a build regression.
FWIW, your description doesn't seem bad, but we can't commit a patch to
libc++ without the author of the patch contributing it by posting it to the
list... Hopefully whomever wrote this is willing to upstream it?
-if ( APPLE )
+if ( APPLE AND "${LIBCXX_CXX_ABI}" STREQUAL "libcxxaib" )
This should be "libcxxabi"
Other than that (and needing to test this on OS X with libc++abi to make
sure the typo fix works) the CMake side looks fine. Sadly, the
exception.cpp code is stuff I have never rightly understood well enough to
help with. Hopefully Marshall or someone can help there.
The patch is too trivial to be covered by copyright (it moves an #endif down a few lines). Baptiste committed it to the FreeBSD repo, but on my advice so I can count as the person who wrote it if that's really a problem.
We're talking about moving a #if a couple lines down. I'd agree there's a
line nobody wants to cross, but it's unrealistic to think this could be
done another way. The time taken for 3 people to write emails was longer
than the commit message.
(Now I guess I understand why FreeBSD has local changes that aren't
upstream..)