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 smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] unsigned char* startPage = (unsigned char*)(p & pageAlignMask); ^ /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:54:27:error: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Werror,-Wint-to-pointer-cast] unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); ^ 2 errors generated. ... I am using gcc-4.6.3 on a Ubuntu 12.04.1 LTS. Any ideas as to how to resolve this error? Thanks Pranav