16 Nov
2023
16 Nov
'23
3:40 p.m.
Andrey Semashev wrote:
Incidentally, I have reported a similar problem before here:
https://github.com/llvm/llvm-project/issues/60578
and it looks like it hasn't been fixed yet.
As for a workaround, I suspect the problem can be worked around by manually adding linking with the standard library that defines those missing symbols. For example, `operator delete` is defined in libc++abi, so you may fix the problem by adding `linkflags=c++abi` to `b2` command line.
Maybe we need to change b2 to automatically add -lc++abi in addition to -stdlib=libc++ when stdlib=libc++ is used? (Assuming that this is the issue we're hitting.)