Building qt6 with LLVM 15
Unsolved
Qt 6
-
I'm getting
[6215/8781] Linking CXX executable qtbase/bin/lupdate FAILED: qtbase/bin/lupdate
with log:... clangtoolastreader.cpp:(.text+0x5998): undefined reference to `clang::SourceRange::printToString(clang::SourceManager const&) const' clangtoolastreader.cpp:(.text+0x5aa8): undefined reference to `clang::SourceLocation::printToString(clang::SourceManager const&) const' ...
my build configs are:
ENV CC=/usr/bin/clang \ CXX=/usr/bin/clang++ \ CXX_STANDARD=c++17 \ LLVM_USE_LINKER=lld \ CPLUS_INCLUDE_PATH=/usr/lib/llvm-15/include/c++/v1 \ C_INCLUDE_PATH=/usr/lib/llvm-15/include/clang \ LIBRARY_PATH=/usr/lib/llvm-15/lib \ CXXFLAGS="-std=c++17 -stdlib=libc++" \ PATH=$PATH:/usr/lib/llvm-15/bin
./configure cmake --build .
Docker file with minimal repro and the full error log available here
Thanks!