[LLVMdev] More llvm-gcc build breakage

Evan Cheng evan.cheng at apple.com
Wed Jul 30 10:56:07 PDT 2008


Hi Bill,

This is probably due to the llvm-gcc merge. Please take a look.

Thanks,

Evan

On Jul 30, 2008, at 10:04 AM, Duncan Sands wrote:

> 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.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list