Binary package hint: gcc-4.5
gcc -c -g -fno-stack-protector -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 -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf ../../src/gcc/c-convert.c -o c-convert.o
../../src/gcc/c-convert.c: In function 'convert':
../../src/gcc/c-convert.c:84:7: warning: format not a string literal and no format arguments
gcc -c -g -fno-stack-protector -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 -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf ../../src/gcc/c-aux-info.c -o c-aux-info.o
gcc -c -g -fno-stack-protector -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 -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/include/libelf ../../src/gcc/c-common.c -o c-common.o
In file included from ../../src/gcc/c-common.c:4647:0:
../../src/gcc/builtins.def: In function 'c_define_builtins':
../../src/gcc/builtins.def:178:1: error: 'OPTION_GLIBC' undeclared (first use in this function)
../../src/gcc/builtins.def:178:1: note: each undeclared identifier is reported only once for each function it appears in
../../src/gcc/c-common.c: In function 'c_parse_error':
../../src/gcc/c-common.c:8257:5: warning: format not a string literal and no format arguments
../../src/gcc/c-common.c:8261:7: warning: format not a string literal and no format arguments
make[5]: *** [c-common.o] Error 1
make[5]: *** Waiting for unfinished jobs....
Confirmed using a cross compiler with the Ubuntu rules:
cc -c -g -O2 -DIN_GCC -DCROSS_ DIRECTORY_ STRUCTURE -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 -DHAVE_CONFIG_H -I. -I. -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc/ . -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc/ ../include -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc/ ../libcpp/ include -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc/ ../libdecnumber -I../.. /../src/ gcc-linaro- 4.5-2011. 04-0/gcc/ ../libdecnumber /dpd -I../libdecnumber -DCLOOG_PPL_BACKEND -I/usr/ include/ libelf ../../. ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ c-common. c -o c-common.o ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ c-common. c:4646: 0: ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ builtins. def: In function ‘c_define_ builtins’ : ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ builtins. def:178: 350: error: ‘OPTION_GLIBC’ undeclared (first use in this function) ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ builtins. def:178: 350: note: each undeclared identifier is reported only once for each function it appears in ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ c-common. c: In function ‘c_parse_error’: ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ c-common. c:8256: 5: warning: format not a string literal and no format arguments ./src/gcc- linaro- 4.5-2011. 04-0/gcc/ c-common. c:8260: 7: warning: format not a string literal and no format arguments
In file included from ../../.
../../.
../../.
../../.
../../.
../../.
../../.