[libcxx-dev] [llvm-dev] Shipping custom libc++ on MacOS

Isuru Fernando via libcxx-dev libcxx-dev at lists.llvm.org
Sat Jul 10 06:33:46 PDT 2021


Hi Ken,

I'm in the same situation as you in conda package manager.
Note that with libcxx 12, https://reviews.llvm.org/D91517 was merged where
codecvt with char8_t is added in the middle of a structure instead of at
the end.
This means that you have to be careful that all applications link to the
custom libc++.

For libcxx developers,
While we are discussing how to avoid ODR violations, is it possible to move
the two lines at
https://github.com/llvm/llvm-project/blob/llvmorg-12.0.1/libcxx/src/locale.cpp#L210-L211

to the bottom to avoid segfaults resulting from this?

Thanks,
Isuru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20210710/d117c68c/attachment.html>


More information about the libcxx-dev mailing list