I can confirm that this patch solves some, but not all problems.
I wasn't able to compile LLVM+Clang on Arndale before this patch, but after it I managed to compile and bootstrap it, so big success.
However, the same cannot be said for GCC. While bootstrapping it, I still get the same error message:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../../src/libiberty/simple-object-coff.c -o simple-object-coff.o
../../../src/libiberty/simple-object-coff.c: In function ?simple_object_coff_write_to_file?:
../../../src/libiberty/simple-object-coff.c:781:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
each build on a different file.
So, by all means, do apply the patch, but that didn't solve the whole issue.
I can confirm that this patch solves some, but not all problems.
I wasn't able to compile LLVM+Clang on Arndale before this patch, but after it I managed to compile and bootstrap it, so big success.
However, the same cannot be said for GCC. While bootstrapping it, I still get the same error message:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../.. /../src/ libiberty/ ../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../. ./src/libiberty /simple- object- coff.c -o simple- object- coff.o ./src/libiberty /simple- object- coff.c: In function ?simple_ object_ coff_write_ to_file? : ./src/libiberty /simple- object- coff.c: 781:1: internal compiler error: Segmentation fault //usr/share/ doc/gcc- 4.7/README. Bugs> for instructions.
../../.
../../.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
The bug is not reproducible, so it is likely a hardware or OS problem.
each build on a different file.
So, by all means, do apply the patch, but that didn't solve the whole issue.