http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52502
Bug #: 52502 Summary: *86*-elf dwarf2asm.o fails to build with -Werror Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org Blocks: 44756 Host: x86_64-unknown-linux-gnu Target: i686-elf, i686-rtems, x86_64-elf 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 -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber ../../../gcc/gcc/dwarf2asm.c -o dwarf2asm.o ../../../gcc/gcc/dwarf2asm.c: In function ‘dw2_asm_output_nstring’: ../../../gcc/gcc/dwarf2asm.c:334:7: error: pointer targets in passing argument 2 of ‘default_elf_asm_output_limited_string’ differ in signedness [-Werror=pointer-sign] In file included from ../../../gcc/gcc/dwarf2asm.c:29:0: ../../../gcc/gcc/output.h:667:13: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ cc1: all warnings being treated as errors make[2]: *** [dwarf2asm.o] Error 1