[llvm-commits] [llvm-gcc-4.2] r54240 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Matthijs Kooijman matthijs at stdin.nl
Thu Jul 31 05:20:47 PDT 2008


Hi Mon Ping,

> I'm currently testing the one-line change above, if it works I'll commit it.
The fix worked to fix the problem at hand (I can now succesfully do stage1 and
stage2), but compilation breaks in stage3.

I get the following error:

/home/kooijman/src/llvm-gcc/obj/./gcc/xgcc -B/home/kooijman/src/llvm-gcc/obj/./gcc/ -B/home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/bin/ -B/home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/lib/ -isystem /home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/include -isystem /home/kooijman/src/llvm-gcc/obj/../install/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../llvm-gcc-4.2-trunk/libgomp -I. -I../../../llvm-gcc-4.2-trunk/libgomp/config/linux/x86 -I../../../llvm-gcc-4.2-trunk/libgomp/config/linux -I../../../llvm-gcc-4.2-trunk/libgomp/config/posix -I../../../llvm-gcc-4.2-trunk/libgomp -Wall -Werror -ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c ../../../llvm-gcc-4.2-trunk/libgomp/alloc.c  -fPIC -DPIC -o .libs/alloc.o
In file included from ../../../llvm-gcc-4.2-trunk/libgomp/libgomp.h:50,
                 from ../../../llvm-gcc-4.2-trunk/libgomp/alloc.c:32:
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/sem.h: In function 'gomp_sem_wait':
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/sem.h:45: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/sem.h: In function 'gomp_sem_post':
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/sem.h:52: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
In file included from ../../../llvm-gcc-4.2-trunk/libgomp/libgomp.h:51,
                 from ../../../llvm-gcc-4.2-trunk/libgomp/alloc.c:32:
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/mutex.h: In function 'gomp_mutex_lock':
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/mutex.h:47: error: incompatible type for argument 1 of '__sync_bool_compare_and_swap'
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/mutex.h: In function 'gomp_mutex_unlock':
../../../llvm-gcc-4.2-trunk/libgomp/config/linux/mutex.h:54: error: incompatible type for argument 1 of '__sync_lock_test_and_set'

This seems terribly related to the other error, but I can't really tell where
this comes from (my gcc-fu is quite lacking in this respect).

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080731/e3689e26/attachment.sig>


More information about the llvm-commits mailing list