[LLVMdev] More llvm-gcc build breakage

Duncan Sands baldrick at free.fr
Wed Jul 30 10:04:00 PDT 2008


x86-64 linux, during stage3:

xgcc -B/home/duncan/LLVM/gcc-4.2.llvm-objects/./gcc/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/include -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.2.llvm/libgomp -I. -I../../../gcc-4.2.llvm/libgomp/config/linux/x86 -I../../../gcc-4.2.llvm/libgomp/config/linux -I../../../gcc-4.2.llvm/libgomp/config/posix -I../../../gcc-4.2.llvm/libgomp -Wall -pthread -Werror -O2 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../../../gcc-4.2.llvm/libgomp/alloc.c -o alloc.o
In file included from ../../../gcc-4.2.llvm/libgomp/libgomp.h:50,
                 from ../../../gcc-4.2.llvm/libgomp/alloc.c:32:
../../../gcc-4.2.llvm/libgomp/config/linux/sem.h: In function 'gomp_sem_wait':
../../../gcc-4.2.llvm/libgomp/config/linux/sem.h:45: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
../../../gcc-4.2.llvm/libgomp/config/linux/sem.h: In function 'gomp_sem_post':
../../../gcc-4.2.llvm/libgomp/config/linux/sem.h:52: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
In file included from ../../../gcc-4.2.llvm/libgomp/libgomp.h:51,
                 from ../../../gcc-4.2.llvm/libgomp/alloc.c:32:
../../../gcc-4.2.llvm/libgomp/config/linux/mutex.h: In function 'gomp_mutex_lock':
../../../gcc-4.2.llvm/libgomp/config/linux/mutex.h:47: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
../../../gcc-4.2.llvm/libgomp/config/linux/mutex.h: In function 'gomp_mutex_unlock':
../../../gcc-4.2.llvm/libgomp/config/linux/mutex.h:54: error: incompatible type for argument 1 of '__sync_lock_test_and_set'
make[4]: *** [alloc.lo] Error 1

I rummaged around in the recent Apple changes but didn't see anything
that could cause this.

Ciao,

Duncan.



More information about the llvm-dev mailing list