svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: Stefan.Scheruebl AT continental-corporation.com
- To: svadev AT cs.uiuc.edu
- Subject: [svadev] SAFECode/PoolAllocator module is not compilable with Cygwin
- Date: Mon, 12 May 2014 12:15:47 +0200
- Importance: Normal
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
- List-id: <svadev.cs.uiuc.edu>
Hello,
I've problems with the compilation of the SAFECode/PoolAllocator modules.
Preconditions:
Windows 7
Latest version of Cygwin (Setup-x86.exe version 2.850 (32 bit))
I followed the instructions in "SAFECode Install Guide", i.e.
- cd C:\LegacyApp\cygwin\tmp\LLVM_SRC
- svn co http://llvm.org/svn/llvm-project/llvm/branches/release_32 llvm
- cd llvm/projects
- svn co http://llvm.org/svn/llvm-project/poolalloc/branches/release_32 poolalloc
- svn co http://llvm.org/svn/llvm-project/safecode/branches/release_32 safecode
cd LLVM_OBJ
../LLVM_SRC/configure --disable-embed-stdcxx --enable-shared --enable-targets=powerpc,x86 --enable-optimized
make tools-only
make tools-only
•cd projects/poolalloc
•make
The make failed with the following message:
llvm[2]: Compiling PoolAllocator.cpp for Release+Asserts build
/tmp/LLVM_SRC/projects/poolalloc/runtime/FL2Allocator/PoolAllocator.cpp:23:14: Fehler: in Konflikt stehende Deklaration »typedef long int intptr_t« typedef long intptr_t;
/tmp/LLVM_SRC/projects/poolalloc/runtime/FL2Allocator/PoolAllocator.cpp:23:14: Fehler: in Konflikt stehende Deklaration »typedef long int intptr_t« typedef long intptr_t;
(Error: Conflicting declaration »typedef long int intptr_t« typedef long intptr_t;)
•cd projects/safecode
•make
The make failed with the following message:
llvm[2]: Compiling PoolAllocatorBitMask.cpp for Release+Asserts build
/tmp/LLVM_SRC/projects/safecode/runtime/DebugRuntime/PoolAllocatorBitMask.cpp:62:22: schwerwiegender Fehler: ucontext.h: No such file or directory
#include <ucontext.h>
^
Kompilierung beendet. (...Compilation finished)
/usr/bin/rm: Entfernen von "/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime/Release+Asserts/PoolAllocatorBitMask.d.tmp" nicht möglich: No such file or directory
/tmp/LLVM_SRC/projects/safecode/runtime/DebugRuntime/PoolAllocatorBitMask.cpp:62:22: schwerwiegender Fehler: ucontext.h: No such file or directory
#include <ucontext.h>
^
Kompilierung beendet. (...Compilation finished)
/usr/bin/rm: Entfernen von "/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime/Release+Asserts/PoolAllocatorBitMask.d.tmp" nicht möglich: No such file or directory
(/usr/bin/rm: Unpossible to remove "/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime/Release+Asserts/PoolAllocatorBitMask.d.tmp": No such file or directory)
make[2]: *** [/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime/Release+Asserts/PoolAllocatorBitMask.o] Error 1
make[2]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime'
make[1]: *** [DebugRuntime/.makeall] Error 2
make[1]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/runtime'
make: *** [all] Error 1
make[2]: *** [/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime/Release+Asserts/PoolAllocatorBitMask.o] Error 1
make[2]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/runtime/DebugRuntime'
make[1]: *** [DebugRuntime/.makeall] Error 2
make[1]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/runtime'
make: *** [all] Error 1
The error in the PoolAllocator module seems to have a conflict regarding 32/64 bit configuration but I don't know why.
The error message in the safecode module makes no sense to me at all.
I guess the problem is all about the Cygwin stuff because the modules are only supported for Linux but for my application I have to get it running on Windows...
Can anybody tell me whats going wrong here?
Stefan
- [svadev] SAFECode/PoolAllocator module is not compilable with Cygwin, Stefan . Scheruebl, 05/12/2014
- Re: [svadev] SAFECode/PoolAllocator module is not compilable with Cygwin, John Criswell, 05/12/2014
- Re: [svadev] SAFECode/PoolAllocator module is not compilable with Cygwin, Csaba Raduly, 05/13/2014
Archive powered by MHonArc 2.6.16.