On 16/11/2023 15:43, Peter Dimov via Boost wrote:
Matthijs Möhlmann wrote:
As a general rule, you should prefer using the built-in b2 features for stdlib selection and C++ standard level; instead of
cxxflags="-I/usr/include/libcxxabi -std=c++20 -stdlib=libc++" linkflags="- stdlib=libc++" try
stdlib=libc++ cxxstd=20
and, if needed,
include=/usr/include/libcxxabi
.
I tried your suggestion but still the same errors.
If I say --with-toolset=clang is the linker from llvm also selected or do I have to add the flag linker=... to that list? There's no linker= feature, but I suppose you can try
linkflags=-fuse-ld=lld-16
since I see that in LDFLAGS in your log.
Ok, tried that. Same error although somewhat different output. I go with your suggestion and keep 'stdlib=libc++ cxxstd=20'. Is the correct location to report this bug: https://github.com/boostorg/filesystem/issues ? Regards, Matthijs