similar to: [LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory"

2013 Jan 22
2
[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
2013 Jan 23
0
[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
2013 Jan 22
0
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
> What can I do? Just don't build compiler-rt. And yes, instructions should be modified to outline that compiler-rt is optional step. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2013 Jan 22
1
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
On 1/22/2013 1:49 AM, Anton Korobeynikov wrote: >> What can I do? > Just don't build compiler-rt. And yes, instructions should be modified > to outline that compiler-rt is optional step. > > -- > With best regards, Anton Korobeynikov > Faculty of Mathematics and Mechanics, Saint Petersburg State University > _______________________________________________ > LLVM
2013 Jan 23
2
[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
2013 Jan 23
0
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
None. We're working on Windows port for ASan, but we don't use CMake to build it anyway. On Wed, Jan 23, 2013 at 12:42 PM, Anton Korobeynikov < anton at korobeynikov.info> wrote: > > 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
2013 Jan 23
1
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
> None. We're working on Windows port for ASan, but we don't use CMake to build it anyway. Right. But this does not seem to be build system issue, but rather source code issue. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2019 Apr 12
0
[klibc:master] Fix missing include in sys/mman.h
Commit-ID: d4853d030639cf3542ae39129c18b654d8d4f020 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d4853d030639cf3542ae39129c18b654d8d4f020 Author: Barret Rhoden <brho at google.com> AuthorDate: Thu, 14 Mar 2019 17:30:38 -0400 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Thu, 11 Apr 2019 23:40:06 +0100 Fix missing include in sys/mman.h
2019 Mar 14
0
[PATCH] Fix missing include in sys/mman.h
Linux commit 746c9398f5ac ("arch: move common mmap flags to linux/mman.h") moved a few mmap flags, particularly MAP_PRIVATE, from asm/mman.h to linux/mman.h. This broke klibc's build, which uses MAP_PRIVATE. linux/mman.h includes asm/mman.h, so this commit merely includes linux/mman.h instead of asm/mman.h. Signed-off-by: Barret Rhoden <brho at google.com> --- That patch is
2013 Jun 25
0
[LLVMdev] [PATCH] Windows implementation of enable_execute_stack
2013/5/30 Ruben Van Boxem <vanboxem.ruben at gmail.com> > 2013/5/25 Aaron Ballman <aaron at aaronballman.com> > >> On Fri, May 24, 2013 at 5:53 PM, Ruben Van Boxem >> <vanboxem.ruben at gmail.com> wrote: >> > Hi, >> > >> > I submitted this patch a long while ago, together with a bunch of other >> > changes (some of which got
2013 Nov 14
1
[LLVMdev] MingGW32 and MinGW64 builds (Windows) fail
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:
2013 Feb 26
0
[LLVMdev] LLVM/clang 3.2 build error on Linux
I'm posting this here to document what I encountered and the solution I found, in hopes that others may find it useful. When building clang 3.2 on Linux (Ubuntu 12.04, 32-bit, x86 PC), I received the following errors (messages from the make output): ... make[4]: Entering directory `/home/youngmj/DevTools/LLVM/Version_3.2/build/tools/clang/runtime/compiler-rt' /bin/sh: 1:
2006 Feb 14
2
[rfc patch] mman.h remove asm/page.h include
klibc fails to compile on sparc64 since the kbuild switch: In file included from include/sys/mman.h:11, from klibc/malloc.c:8: linux/include/asm/page.h:18:2: error: #error No page size specified in kernel configuration the current dirty build hack is to define CONFIG_SPARC64_PAGE_SIZE_8KB in the sparc64 MCONFIG. belows patch removes the asm/page.h include. another way to fix
2013 Feb 26
0
[LLVMdev] make error building llvm/clang 3.2 on Linux
Hi Michael, you don't need compiler-rt to use clang. If you don't need it, I suggest you don't bother building it. Ciao, Duncan. On 21/02/13 01:15, Michael Young wrote: > > I'm attempting to build a native build of clang from the 3.2 source > distribution tarballs, but I ran into this build error that's got me > really puzzled. My platform is Linux - 32-bit
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
On Thu, Aug 1, 2013 at 5:32 PM, Pranav Garg <pranav.garg2107 at gmail.com>wrote: > Dear Alexey, > > Yes I am sure that the llvm, clang and compiler-rt are synced to the same > version. I downloaded them all from git > http://llvm.org/docs/GettingStarted.html#git-mirror > I think I need compiler-rt for my project but I'll verify it again to see > if I can proceed
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
Dear Alexey, Yes I am sure that the llvm, clang and compiler-rt are synced to the same version. I downloaded them all from git http://llvm.org/docs/GettingStarted.html#git-mirror I think I need compiler-rt for my project but I'll verify it again to see if I can proceed without it. You are correct that compiler-rt is compiled with the just built clang. The complete command that gives an error
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi, I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current llvm source from the git repository). ... COMPILE: clang_linux/full-x86_64/x86_64:
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
Hi, I am trying to build llvm along with clang and compiler-rt. when I run make, I am getting the following compilation error: ... COMPILE: clang_linux/full-x86_64/x86_64:/home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29:error: cast to 'unsigned char *' from
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
yes I think that is correct. I wrote a simple program to print if sizeof(uintptr_t) != sizeof(unsigned char *) and when I compile with gcc -m64 and execute it on a 64-bit host (that is different from the 32-bit laptop on which I originally compiled the program), it says the sizes are not equal. Thanks Pranav On Thu, Aug 1, 2013 at 9:29 AM, Alexey Samsonov <samsonov at google.com> wrote:
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
You can disable -Werror by adding the cmake flag -DLLVM_ENABLE_WERROR=OFF, which should let it just ignore that (that's also the default, so you must have turned it on somewhere) On Jul 31, 2013, at 13:09 , Pranav Garg <pranav.garg2107 at gmail.com> wrote: > Hi, > > I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following