At revision 164538 bootstrap fails at stage 1:
...
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -o cc1
c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o
c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o
c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o
c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o
c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o
darwin-c.o \
cc1-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -L/opt/sw64/lib
-liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-L/opt/sw64/lib -lcloog -lppl_c -lppl -lgmpxx -L/opt/sw64/lib -lmpc -lmpfr
-lgmp -lz
/opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/ -dumpspecs > tmp-specs
/bin/sh: line 1: 56759 Segmentation fault /opt/gcc/build_w/./gcc/xgcc
-B/opt/gcc/build_w/./gcc/ -dumpspecs > tmp-specs
make[3]: *** [specs] Error 139
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
Crash reporter gives:
Process: xgcc [56794]
Path: /opt/gcc/build_w/gcc/xgcc
Identifier: xgcc
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: tcsh [83530]
Date/Time: 2010-09-23 00:10:06.496 +0200
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000001001ffff0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fffffe00f4c __memcpy + 1964
1 xgcc 0x0000000100002c2f __inline_memcpy_chk
+ 44 (_string.h:59)
2 xgcc 0x0000000100004c9c save_switch + 340
(gcc.c:3082)
3 xgcc 0x0000000100005abb driver_handle_option
+ 3228 (gcc.c:3502)
4 xgcc 0x0000000100016328 handle_option + 208
(opts-common.c:823)
5 xgcc 0x000000010001673a read_cmdline_option
+ 444 (opts-common.c:962)
6 xgcc 0x0000000100006895 process_command +
3482 (gcc.c:3750)
7 xgcc 0x000000010000eb67 main + 3176
(gcc.c:6219)
8 xgcc 0x00000001000014bc start + 52
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0xfffffffffffffe00 rbx: 0x000000010020d768 rcx: 0xffffffffffff2e00
rdx: 0x0000000000000030
rdi: 0x000000010020d220 rsi: 0x000000010020d3c8 rbp: 0x00007fff5fbfd5f0
rsp: 0x00007fff5fbfd5f0
r8: 0x00000001002fc0a0 r9: 0x00000001002fc0a4 r10: 0x000000000000002d
r11: 0x000000010020d1f0
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000
r15: 0x0000000000000000
rip: 0x00007fffffe00f4c rfl: 0x0000000000010286 cr2: 0x00000001001ffff0
Binary Images:
0x100000000 - 0x10004aff7 +xgcc ??? (???)
<051C94EF-767B-D2B6-6694-6714C53EC614> /opt/gcc/build_w/gcc/xgcc
0x100080000 - 0x100087fff +libintl.8.dylib 9.2.0 (compatibility
9.0.0) <77764503-B558-C86F-5C9D-0896504B2BA5> /sw64/lib/libintl.8.dylib
0x10008c000 - 0x100187fe7 +libiconv.2.dylib 7.0.0 (compatibility
7.0.0) <2F723465-84E7-77FB-F9FD-572D6A0DBBCC> /sw64/lib/libiconv.2.dylib
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???)
<B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff817a4000 - 0x7fff81964fef libSystem.B.dylib 125.2.0
(compatibility 1.0.0) <95E02DD0-ADEA-745B-E7FA-ABA064E4658C>
/usr/lib/libSystem.B.dylib
0x7fff81965000 - 0x7fff81969ff7 libmathCommon.A.dylib 315.0.0
(compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5>
/usr/lib/system/libmathCommon.A.dylib
0x7fff83147000 - 0x7fff83158ff7 libz.1.dylib 1.2.3 (compatibility
1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
0x7fff85da6000 - 0x7fff85f1bff7 com.apple.CoreFoundation 6.6.3
(550.29) <48810602-63C3-994D-E563-DD02B16E76E1>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff86268000 - 0x7fff862e5fef libstdc++.6.dylib 7.9.0 (compatibility
7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff86622000 - 0x7fff866d8fff libobjc.A.dylib 227.0.0 (compatibility
1.0.0) <F206BE6D-8777-AE6C-B367-7BEA76C14241> /usr/lib/libobjc.A.dylib
0x7fff88767000 - 0x7fff887b3fff libauto.dylib ??? (???)
<072804DF-36AD-2DBE-7EF8-639CFB79077F> /usr/lib/libauto.dylib
0x7fff88855000 - 0x7fff88a13fff libicucore.A.dylib 40.0.0
(compatibility 1.0.0) <0E53A4A6-AC06-1B61-2285-248F534EE356>
/usr/lib/libicucore.A.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???)
<95E02DD0-ADEA-745B-E7FA-ABA064E4658C> /usr/lib/libSystem.B.dylib
--
Summary: [4.6 Regression] Bootstrap failure: at stage 1 xgcc
segfault
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: x86_64-apple-darwin10.4.0
GCC host triplet: x86_64-apple-darwin10.4.0
GCC target triplet: x86_64-apple-darwin10.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45751