http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51094
Bug #: 51094
Summary: [4.7 Regression] Bootstrap failure at revision 181279
on non-ELF targets
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Revision 181279 breaks bootstrap on non-ELF targets (e.g., *-*-darwin*):
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wno-narrowing
-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 -I. -I. -I../../work/gcc -I../../work/gcc/.
-I../../work/gcc/../include -I./../intl -I../../work/gcc/../libcpp/include
-I/opt/mp/include -I../../work/gcc/../libdecnumber
-I../../work/gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/mp/include
-DCLOOG_INT_GMP -DCLOOG_ORG ../../work/gcc/varasm.c -o varasm.o
../../work/gcc/varasm.c: In function 'default_elf_asm_output_limited_string':
../../work/gcc/varasm.c:7534:16: error: 'ELF_ASCII_ESCAPES' undeclared (first
use in this function)
../../work/gcc/varasm.c:7534:16: note: each undeclared identifier is reported
only once for each function it appears in
../../work/gcc/varasm.c: In function 'default_elf_asm_output_ascii':
../../work/gcc/varasm.c:7586:42: error: 'ELF_STRING_LIMIT' undeclared (first
use in this function)
../../work/gcc/varasm.c:7601:20: error: 'ASCII_DATA_ASM_OP' undeclared (first
use in this function)
../../work/gcc/varasm.c:7601:38: error: expected ')' before string constant
../../work/gcc/varasm.c:7601:38: error: too few arguments to function 'fputs'
../../work/gcc/varasm.c:7604:20: error: 'ELF_ASCII_ESCAPES' undeclared (first
use in this function)
(see also http://gcc.gnu.org/ml/gcc/2011-11/msg00273.html ).