Not sure if that's related, but we had two failures last night as well: MacOS/Universal build failed on rev 54197, when building the x86->ppc cross: cc1: warnings being treated as errors /Users/julien/buildbot/llvm/gcc-build/src/gcc/cp/pt.c:5296: warning: no previous prototype for 'outermost_tinst_level' make[2]: *** [cp/pt.o] Error 1 MingW failed on rev 54208: /c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/./gcc/xgcc -B/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/./gcc/ -L/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/i686-pc-mingw32/winsup/mingw -L/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/i686-pc-mingw32/winsup/w32api/lib -isystem /c/cygwin/home/jlerouge/buildbot/llvm-gcc4.2-src/winsup/mingw/include -isystem /c/cygwin/home/jlerouge/buildbot/llvm-gcc4.2-src/winsup/w32api/include -Bc:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/bin/ -Bc:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/lib/ -isystem c:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/include -isystem c:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/sys-include -O2 -I../../../llvm-gcc4.2-src/gcc/../winsup/w32api/include -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../../llvm-gcc4.2-src/gcc -I../../../llvm-gcc4.2-src/gcc/. -I../../../llvm-gcc4.2-src/gcc/../include -I../../../llvm-gcc4.2-src/gcc/../libcpp/include -I../../../llvm-gcc4.2-src/gcc/../libdecnumber -I../libdecnumber -Ic:/cygwin/home/jlerouge/buildbot/llvm/llvm-build/include -I/c/cygwin/home/jlerouge/buildbot/llvm-src/include -DL_trampoline -c ../../../llvm-gcc4.2-src/gcc/libgcc2.c -o libgcc/./_trampoline.o ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2086: warning: no previous prototype for 'getpagesize' ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2095: error: conflicting types for 'VirtualProtect' c:/cygwin/home/jlerouge/buildbot/llvm/lib/../include/winbase.h:1998: error: previous declaration of 'VirtualProtect' was here ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2100: warning: no previous prototype for 'mprotect' make[3]: *** [libgcc/./_trampoline.o] Error 1 make[3]: Leaving directory `/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/gcc' Thanks, Julien On Wed, Jul 30, 2008 at 10:56:07AM -0700, Evan Cheng wrote:> 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 > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-- Julien Lerouge PGP Key Id: 0xB1964A62 PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62 PGP Public Key from: keyserver.pgp.com
On Jul 30, 2008, at 11:17 AM, Julien Lerouge wrote:> Not sure if that's related, but we had two failures last night as > well: > > MacOS/Universal build failed on rev 54197, when building the x86->ppc > cross: > > cc1: warnings being treated as errors > /Users/julien/buildbot/llvm/gcc-build/src/gcc/cp/pt.c:5296: warning: > no > previous prototype for 'outermost_tinst_level' > make[2]: *** [cp/pt.o] Error 1 >I think this was a temporary situation. I can't find it in TOT anymore.> MingW failed on rev 54208: > > /c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/./gcc/xgcc > -B/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/./gcc/ > -L/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/i686-pc-mingw32/ > winsup/mingw > -L/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/i686-pc-mingw32/ > winsup/w32api/lib > -isystem > /c/cygwin/home/jlerouge/buildbot/llvm-gcc4.2-src/winsup/mingw/include > -isystem > /c/cygwin/home/jlerouge/buildbot/llvm-gcc4.2-src/winsup/w32api/include > -Bc:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/bin/ > -Bc:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/lib/ -isystem > c:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/include -isystem > c:/cygwin/home/jlerouge/buildbot/llvm/i686-pc-mingw32/sys-include -O2 > -I../../../llvm-gcc4.2-src/gcc/../winsup/w32api/include -O2 -g -O2 > -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include -g > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. > -I../../../llvm-gcc4.2-src/gcc -I../../../llvm-gcc4.2-src/gcc/. > -I../../../llvm-gcc4.2-src/gcc/../include > -I../../../llvm-gcc4.2-src/gcc/../libcpp/include > -I../../../llvm-gcc4.2-src/gcc/../libdecnumber -I../libdecnumber > -Ic:/cygwin/home/jlerouge/buildbot/llvm/llvm-build/include > -I/c/cygwin/home/jlerouge/buildbot/llvm-src/include -DL_trampoline -c > ../../../llvm-gcc4.2-src/gcc/libgcc2.c -o libgcc/./_trampoline.o > ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2086: warning: no previous > prototype for 'getpagesize' >I think that this was also a temporary situation.> ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2095: error: conflicting types > for 'VirtualProtect' > > c:/cygwin/home/jlerouge/buildbot/llvm/lib/../include/winbase.h:1998: > error: previous declaration of 'VirtualProtect' was here >This is weird. Why is it #including this header during the bootstrap?> ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2100: warning: no previous > prototype for 'mprotect' >Hopefully temporary. -bw> make[3]: *** [libgcc/./_trampoline.o] Error 1 > make[3]: Leaving directory > `/c/cygwin/home/jlerouge/buildbot/llvm/gcc-build/gcc' > > Thanks, > Julien > > On Wed, Jul 30, 2008 at 10:56:07AM -0700, Evan Cheng wrote: >> 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 >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -- > Julien Lerouge > PGP Key Id: 0xB1964A62 > PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62 > PGP Public Key from: keyserver.pgp.com
On Wed, Jul 30, 2008 at 11:32:18AM -0700, Bill Wendling wrote:> On Jul 30, 2008, at 11:17 AM, Julien Lerouge wrote: >> ../../../llvm-gcc4.2-src/gcc/libgcc2.c:2095: error: conflicting types >> for 'VirtualProtect' >> >> c:/cygwin/home/jlerouge/buildbot/llvm/lib/../include/winbase.h:1998: >> error: previous declaration of 'VirtualProtect' was here >> > This is weird. Why is it #including this header during the bootstrap?Not sure, I'll take a look. This is not a real bootstrap anyway. Thanks, Julien -- Julien Lerouge PGP Key Id: 0xB1964A62 PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62 PGP Public Key from: keyserver.pgp.com