bootstrapping GCC 3.4.5 (using the gcc4.0 compiler) fails with the following error:
(SHLIB_LINK='' \ SHLIB_MULTILIB=''; \ gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I. -I./. -I./../include -I../intl \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.5\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin8.5.2\" -DSTANDARD_BINDIR_PREFIX=\"/usr/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c ./gcc.c -o gcc.o) ./gcc.c:714: warning: string length '2483' is greater than the length '509' ISO C89 compilers are required to support ./gcc.c:721: warning: string length '636' is greater than the length '509' ISO C89 compilers are required to support ./gcc.c:904: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support ./gcc.c:922: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support ./gcc.c:1093: error: parse error before ',' token ./gcc.c:1504: warning: string length '833' is greater than the length '509' ISO C89 compilers are required to support make[2]: *** [gcc.o] Error 1 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap] Error 2 the problem is in gcc/config/darwin.h, in the TARGET_OPTION_TRANSLATE_TABLE macro. This macro ends with ", SUBTARGET_OPTION_TRANSLATE_TABLE", but SUBTARGET... is empty, so gcc doesn't like the trailing comma. -- Summary: GCC 3.4.5 fails to build on intel mac Product: gcc Version: 3.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at junk dot kraney dot com GCC host triplet: i686-apple-darwin8.5.2 GCC target triplet: i686-apple-darwin8.5.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26484