http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51101
Bug #: 51101 Summary: i386-rtems fails to compile dwarf2asm.c Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org First noticed: Fri Nov 11 13:16:33 UTC 2011 (revision 181284) Still present: Fri Nov 11 22:49:37 UTC 2011 (revision 181301) gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -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/users/joel/test-gcc/gcc-svn/gcc -I/users/joel/test-gcc/gcc-svn/gcc/. -I/users/joel/test-gcc/gcc-svn/gcc/../include -I/users/joel/test-gcc/gcc-svn/gcc/../libcpp/include -I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber -I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber/dpd -I../libdecnumber -I/users/joel/test-gcc/install-svn/include /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c -o dwarf2asm.o /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c: In function ‘dw2_asm_output_nstring’: /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c:334:7: error: ‘STRING_LIMIT’ undeclared (first use in this function) /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c:334:7: note: each undeclared identifier is reported only once for each function it appears in /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c:334:7: warning: pointer targets in passing argument 2 of ‘default_elf_asm_output_limited_string’ differ in signedness [-Wpointer-sign] In file included from /users/joel/test-gcc/gcc-svn/gcc/dwarf2asm.c:29:0: /users/joel/test-gcc/gcc-svn/gcc/output.h:667:13: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ make[2]: *** [dwarf2asm.o] Error 1