nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

I have some concerns about this change:

- It makes it fundamentally impossible to link against a static 
system-libcxxabi (or any other `LIBCXX_CXX_ABI` option). This is currently 
already broken (https://github.com/llvm/llvm-project/issues/57759), but used to 
work prior to LLVM 15.
- It makes it fundamentally impossible to use a linker script for the shared 
library while linking the abi library into the static library. I think this 
currently doesn't work either, but would be trivial to support. (I was going to 
work on this when I found this revision.)

I think both of these points highlight that `LIBCXX_CXX_ABI=libcxxabi-objects` 
is not the correct representation for this functionality.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125683/new/

https://reviews.llvm.org/D125683

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to