[LLVMdev] Patch Causing Failure

Bill Wendling isanbard at gmail.com
Wed Feb 6 11:16:06 PST 2008


Hi Owen,

I'm seeing this failure on one of my machines -- PPC G5:

$ # APPLE LOCAL use -mlongcall for large text support
/Volumes/SandBox/Clean/bug/llvm-gcc.obj/./gcc/xgcc
-B/Volumes/SandBox/Clean/bug/llvm-gcc.obj/./gcc/
-B/Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/bin/
-B/Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/lib/
-isystem /Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/include
-isystem /Volumes/SandBox/Clean/bug/llvm-gcc.install/powerpc-apple-darwin9.1.0/sys-include
-O2 -g -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
-I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/.
-I../../llvm-gcc.src/gcc/../include -I./../intl
-I../../llvm-gcc.src/gcc/../libcpp/include
-I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber
-I/Volumes/SandBox/Clean/bug/llvm.src/include
-I/Volumes/SandBox/Clean/bug/llvm.obj/include  -mlongcall \
	  -c ../../llvm-gcc.src/gcc/config/darwin-crt2.c -o crt2.o
xgcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [crt2.o] Error 1
rm gpl.pod fsf-funding.pod gcov.pod gfdl.pod cpp.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
xgcc: Internal error: Segmentation fault (program cc1)
xgcc: Internal error: Segmentation fault (program cc1)

I did a binary search, and it turns out that this patch was the first
one that broke things:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080128/057882.html

Could you take a look at it? I can give you access to my machine if you need it.

Thanks!
-bw



More information about the llvm-dev mailing list