Hi, I tried to do a build with CMake, Ninja, and MinGW32 and MinG64 respectively: MinGW32 failed on an missing sys/mman.h (POSIX-specific header): D:/test/llvm-trunk/projects/compiler-rt/lib/enable_execute_stack.c:13:22: fatal error: sys/mman.h: No such file or directory #include <sys/mman.h> ^ MinGW64 failed on an #error directive: D:/test/llvm-trunk/projects/compiler-rt/lib/ubsan/ubsan_value.h:20:2: error: #error "UBSan not supported for this platform!" #error "UBSan not supported for this platform!" ^ Are these going to be fixed or should we consider MinGW unsupported for the time being? Cheers, Mikael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131115/8c1cf6f5/attachment.html>
Alexey Samsonov
2013-Nov-15 09:15 UTC
[LLVMdev] MingGW32 and MinGW64 builds (Windows) fail
Hi Mikael! On Fri, Nov 15, 2013 at 3:15 AM, Mikael Lyngvig <mikael at lyngvig.org> wrote:> Hi, > > I tried to do a build with CMake, Ninja, and MinGW32 and MinG64 > respectively: > > MinGW32 failed on an missing sys/mman.h (POSIX-specific header): > > D:/test/llvm-trunk/projects/compiler-rt/lib/enable_execute_stack.c:13:22: > fatal error: sys/mman.h: No such file or directory > #include <sys/mman.h> > ^ > > MinGW64 failed on an #error directive: > > D:/test/llvm-trunk/projects/compiler-rt/lib/ubsan/ubsan_value.h:20:2: > error: #error "UBSan not supported for this platform!" > #error "UBSan not supported for this platform!" > ^ > > Are these going to be fixed or should we consider MinGW unsupported for > the time being? >ubsan and compiler-rt are not yet working on Windows. I've submitted r194796 to disable building them on Windows.> > > Cheers, > Mikael > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-- Alexey Samsonov, MSK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131115/88e4f101/attachment.html>
Apparently Analagous Threads
- [LLVMdev] cmake+ninja build error for compiler-rt sources
- [LLVMdev] cmake+ninja build error for compiler-rt sources
- [LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
- [LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
- [LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources