MortenMacFly
2013-Jan-22 06:19 UTC
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
I am having trouble getting LLVM/Clang to compile from SVN/trunk on win32 using MinGW (4.7.1). The error is: sys/mman.h: No such file or directory ...and it happens during compilation of: [LLVM/Clang]\projects\compiler-rt\lib\enable_execute_stack.c I configured everything carefully as "CMAKE_BUILD_TYPE" "Release". I have in the PATH (in that order): - CMake - MinGW - Python 2.7.2 - ActivePerl - Subversion 1.7.x - GraphViz 2.3.0 All tools are found, configuration w/ Cmake succeeds hence that error. It used to work like that when I compiled earlier, but that's roughly 4 month ago. :-/ What can I do? BTW: I think I posted this to the wrong mailing list in the first place, so I repeat here (sorry for that): (See reference: http://llvm.1065342.n5.nabble.com/Fails-to-compile-w-MinGW-sys-mman-h-No-such-file-or-directory-tt53919.html) -- View this message in context: http://llvm.1065342.n5.nabble.com/Fails-to-compile-w-MinGW-sys-mman-h-No-such-file-or-directory-tp54005.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Alexey Samsonov
2013-Jan-23 07:07 UTC
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
Is there interest in building/using compiler-rt on Windows? If there is none, probably we should just disable building it in CMake rules. On Tue, Jan 22, 2013 at 10:19 AM, MortenMacFly <mac-fly at gmx.net> wrote:> I am having trouble getting LLVM/Clang to compile from SVN/trunk on win32 > using MinGW (4.7.1). The error is: > sys/mman.h: No such file or directory > ...and it happens during compilation of: > [LLVM/Clang]\projects\compiler-rt\lib\enable_execute_stack.c > I configured everything carefully as "CMAKE_BUILD_TYPE" "Release". I have > in > the PATH (in that order): > - CMake > - MinGW > - Python 2.7.2 > - ActivePerl > - Subversion 1.7.x > - GraphViz 2.3.0 > All tools are found, configuration w/ Cmake succeeds hence that error. It > used to work like that when I compiled earlier, but that's roughly 4 month > ago. :-/ > > What can I do? > > BTW: I think I posted this to the wrong mailing list in the first place, so > I repeat here (sorry for that): > (See reference: > > http://llvm.1065342.n5.nabble.com/Fails-to-compile-w-MinGW-sys-mman-h-No-such-file-or-directory-tt53919.html > ) > > > > -- > View this message in context: > http://llvm.1065342.n5.nabble.com/Fails-to-compile-w-MinGW-sys-mman-h-No-such-file-or-directory-tp54005.html > Sent from the LLVM - Dev mailing list archive at Nabble.com. > _______________________________________________ > 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/20130123/e61bb3ff/attachment.html>
Anton Korobeynikov
2013-Jan-23 08:42 UTC
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
> Is there interest in building/using compiler-rt on Windows?Well, which of *san family work on windows? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Apparently Analagous Threads
- [LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
- [LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
- [LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
- [LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
- [LLVMdev] MingGW32 and MinGW64 builds (Windows) fail