Issue |
121090
|
Summary |
Failed to build llvm using i686-w64-mingw32-gcc 9.3
|
Labels |
new issue
|
Assignees |
|
Reporter |
fanghuaqi
|
Hi there,
I tried to build llvm 19.x using i686-w64-mingw32-gcc, but met with following bug, see
```
[ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_socket_stream.cpp.obj
/work/llvm/llvm/lib/Support/raw_socket_stream.cpp:34:10: fatal error: afunix.h: No such file or directory
34 | #include <afunix.h>
| ^~~~~~~~~~
compilation terminated.
```
I cannot find this header file in `/usr/i686-w64-mingw32/include`, it seems this is introduced by https://github.com/llvm/llvm-project/pull/73603 , so is it not possible to cross build llvm windows in a linux machine using this 9.3 version of gcc? How should I do to make it work.
Thanks
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs