Duncan Sands
2008-Jul-30 20:51 UTC
[LLVMdev] address space overloading patch broke the llvm-gcc build
Hi, I see this when building llvm-gcc on x86-32 linux: xgcc -Bgcc/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/bin/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/i686-pc-linux-gnu/include -isystem /usr/local/gnat-llvm/i686-pc-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 -Werror -ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 -MT critical.lo -MD -MP -MF .deps/critical.Tpo -c ../../../gcc-4.2.llvm/libgomp/critical.c -fPIC -DPIC -o .libs/critical.o Overloaded intrinsic has incorrect suffix: '.i8'. It should be '.i8.p0i8' i8 (i8*, i8)* @llvm.atomic.swap.i8 Broken module found, compilation aborted! ../../../gcc-4.2.llvm/libgomp/critical.c: In function 'GOMP_critical_end': ../../../gcc-4.2.llvm/libgomp/critical.c:44: internal compiler error: Aborted So I guess your address space overloading patch broke llvm-gcc. Ciao, Duncan.
Mon P Wang
2008-Jul-30 21:03 UTC
[LLVMdev] address space overloading patch broke the llvm-gcc build
Hi, Sorry for breakage, I'll look into this right now. I guess llvm-gcc doesn't use llvm tablegen results to help create intrinsic names. -- Mon Ping On Jul 30, 2008, at 1:51 PM, Duncan Sands wrote:> Hi, I see this when building llvm-gcc on x86-32 linux: > > xgcc -Bgcc/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/bin/ -B/usr/ > local/gnat-llvm/i686-pc-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/ > i686-pc-linux-gnu/include -isystem /usr/local/gnat-llvm/i686-pc- > 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 -Werror - > ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 - > MT critical.lo -MD -MP -MF .deps/critical.Tpo -c ../../../ > gcc-4.2.llvm/libgomp/critical.c -fPIC -DPIC -o .libs/critical.o > Overloaded intrinsic has incorrect suffix: '.i8'. It should be > '.i8.p0i8' > i8 (i8*, i8)* @llvm.atomic.swap.i8 > Broken module found, compilation aborted! > ../../../gcc-4.2.llvm/libgomp/critical.c: In function > 'GOMP_critical_end': > ../../../gcc-4.2.llvm/libgomp/critical.c:44: internal compiler > error: Aborted > > So I guess your address space overloading patch broke llvm-gcc. > > Ciao, > > Duncan.
Dale Johannesen
2008-Jul-30 21:19 UTC
[LLVMdev] address space overloading patch broke the llvm-gcc build
On Jul 30, 2008, at 2:03 PMPDT, Mon P Wang wrote:> Hi, > > Sorry for breakage, I'll look into this right now. I guess llvm-gcc > doesn't use llvm tablegen results to help create intrinsic names. > > -- Mon PingIt calls Intrinsic::getDeclaration.> On Jul 30, 2008, at 1:51 PM, Duncan Sands wrote: > >> Hi, I see this when building llvm-gcc on x86-32 linux: >> >> xgcc -Bgcc/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/bin/ -B/usr/ >> local/gnat-llvm/i686-pc-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/ >> i686-pc-linux-gnu/include -isystem /usr/local/gnat-llvm/i686-pc- >> 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 -Werror - >> ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 - >> MT critical.lo -MD -MP -MF .deps/critical.Tpo -c ../../../ >> gcc-4.2.llvm/libgomp/critical.c -fPIC -DPIC -o .libs/critical.o >> Overloaded intrinsic has incorrect suffix: '.i8'. It should be >> '.i8.p0i8' >> i8 (i8*, i8)* @llvm.atomic.swap.i8 >> Broken module found, compilation aborted! >> ../../../gcc-4.2.llvm/libgomp/critical.c: In function >> 'GOMP_critical_end': >> ../../../gcc-4.2.llvm/libgomp/critical.c:44: internal compiler >> error: Aborted >> >> So I guess your address space overloading patch broke llvm-gcc. >> >> Ciao, >> >> Duncan. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Mon P Wang
2008-Jul-31 03:24 UTC
[LLVMdev] address space overloading patch broke the llvm-gcc build
I checked in the fix for the atomic names so GCC should build now. Sorry for the breaking the build. -- Mon Ping On Jul 30, 2008, at 1:51 PM, Duncan Sands wrote:> Hi, I see this when building llvm-gcc on x86-32 linux: > > xgcc -Bgcc/ -B/usr/local/gnat-llvm/i686-pc-linux-gnu/bin/ -B/usr/ > local/gnat-llvm/i686-pc-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/ > i686-pc-linux-gnu/include -isystem /usr/local/gnat-llvm/i686-pc- > 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 -Werror - > ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -g -O2 - > MT critical.lo -MD -MP -MF .deps/critical.Tpo -c ../../../ > gcc-4.2.llvm/libgomp/critical.c -fPIC -DPIC -o .libs/critical.o > Overloaded intrinsic has incorrect suffix: '.i8'. It should be > '.i8.p0i8' > i8 (i8*, i8)* @llvm.atomic.swap.i8 > Broken module found, compilation aborted! > ../../../gcc-4.2.llvm/libgomp/critical.c: In function > 'GOMP_critical_end': > ../../../gcc-4.2.llvm/libgomp/critical.c:44: internal compiler > error: Aborted > > So I guess your address space overloading patch broke llvm-gcc. > > Ciao, > > Duncan.