Control: reopen -1 Control: found -1 1:16.0.6-17 This is still not fixed :( Mike's findings still stand:
On Sat, Sep 16, 2023 at 05:53:55AM +0900, Mike Hommey wrote: > This is a regression from the upgrade to clang 16. > > with clang 14: > #include "..." search starts here: > #include <...> search starts here: > /usr/include/wasm32-wasi/c++/v1 > /usr/lib/llvm-14/lib/clang/14.0.6/include > /usr/local/include > /usr/include/wasm32-wasi > /usr/include > End of search list. > > with clang 16: > #include "..." search starts here: > #include <...> search starts here: > /usr/lib/llvm-16/lib/clang/16/include > /usr/local/include > /usr/include/wasm32-wasi > /usr/include > End of search list. > > Note how /usr/include/wasm32-wasi/c++/v1 is missing. Test case: $ apt install clang lld libclang-rt-dev-wasm32 libc++-dev-wasm32 $ cat > hello.cpp <<EOF #include <iostream> int main() { std::cout << "hello world" << std::endl; return 0; } EOF $ /usr/bin/clang++ -v --target=wasm32-wasi hello.cpp Only C++ include paths are affected, not C. This almost certainly has to do with the patch we carry for wasm include paths, that I have contributed to. Unfortunately I have no time to look into it right now :( I may find some time in a couple of weeks, but hoping someone else can take care of it in the meantime :/ Best, Faidon