Vladimir Merzliakov
2005-Jan-03 21:35 UTC
[LLVMdev] Problem with LLVM CFE bootstrap at FreeBSD
I can't boostrap LLVM CFE at FreeBSD with current LLVM and LLVM CFE CVS sources. GCC bootstrap terminated with error: /usr/home/wanderer/pkg/build/llvm/objcfe/gcc/xgcc -B/usr/home/wanderer/pkg/build/llvm/objcfe/gcc/ -B/home/wanderer/pkg/build /llvm/night/cfe/i386-unknown-freebsd5.3/bin/ -B/home/wanderer/pkg/build/llvm/night/cfe/i386-unknown-freebsd5.3/lib/ -isystem /home/wanderer/pkg/build/llvm/night/cfe/i386-unknown-freebsd5.3/include -isystem /home/wanderer/pkg/build/llvm/night/cfe/i3 86-unknown-freebsd5.3/sys-include -O2 -DIN_GCC -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd5.3\" -W -Wall -Wwrite-str ings -Wstrict-prototypes -Wmissing-prototypes -isystem /include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc -I/home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/. -I/home/wanderer/pkg/bui ld/llvm/src/llvm-gcc/gcc/../include -fexceptions -c /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2.c -o libgcc/. /unwind-dw2.o In file included from /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2.c:38: /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2-fde.h: In function `get_cie': /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2-fde.h:157: warning: return from incompatible pointer type xgcc: Internal error: Illegal instruction (program cc1) Please submit a full bug report. See <URL:http://llvm.cs.uiuc.edu> for instructions. gmake[2]: *** [libgcc/./unwind-dw2.o] Error 1 gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/objcfe/gcc' gmake[1]: *** [libgcc.a] Error 2 gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/objcfe/gcc' gmake: *** [all-gcc] Error 2 Vladimir
On Tue, 4 Jan 2005, Vladimir Merzliakov wrote:> I can't boostrap LLVM CFE at FreeBSD with current LLVM and LLVM CFE CVS > sources. > GCC bootstrap terminated with error:That is my bug, I appologize. Please update gcc/c-common.c to get the temporary work around. I will work up a proper fix in the next couple of days. Thanks for pointing this out. -Chris> /usr/home/wanderer/pkg/build/llvm/objcfe/gcc/xgcc > -B/usr/home/wanderer/pkg/build/llvm/objcfe/gcc/ -B/home/wanderer/pkg/build > /llvm/night/cfe/i386-unknown-freebsd5.3/bin/ > -B/home/wanderer/pkg/build/llvm/night/cfe/i386-unknown-freebsd5.3/lib/ > -isystem > /home/wanderer/pkg/build/llvm/night/cfe/i386-unknown-freebsd5.3/include > -isystem /home/wanderer/pkg/build/llvm/night/cfe/i3 > 86-unknown-freebsd5.3/sys-include -O2 -DIN_GCC > -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd5.3\" -W -Wall -Wwrite-str > ings -Wstrict-prototypes -Wmissing-prototypes -isystem /include -fPIC -g > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. > -I/home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc > -I/home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/. -I/home/wanderer/pkg/bui > ld/llvm/src/llvm-gcc/gcc/../include -fexceptions -c > /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2.c -o libgcc/. > /unwind-dw2.o > In file included from > /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2.c:38: > /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2-fde.h: In function > `get_cie': > > /home/wanderer/pkg/build/llvm/src/llvm-gcc/gcc/unwind-dw2-fde.h:157: warning: > return from incompatible pointer type > xgcc: Internal error: Illegal instruction (program cc1) > Please submit a full bug report. > See <URL:http://llvm.cs.uiuc.edu> for instructions. > gmake[2]: *** [libgcc/./unwind-dw2.o] Error 1 > gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/objcfe/gcc' > gmake[1]: *** [libgcc.a] Error 2 > gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/objcfe/gcc' > gmake: *** [all-gcc] Error 2 > > Vladimir > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
Reasonably Related Threads
- [LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
- Possible stack corruption during call to JITSymbol::getAddress()
- Possible stack corruption during call to JITSymbol::getAddress()
- Possible stack corruption during call to JITSymbol::getAddress()
- Possible stack corruption during call to JITSymbol::getAddress()