https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81960

Jürgen Reuter <juergen.reuter at desy dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |8.0

--- Comment #1 from Jürgen Reuter <juergen.reuter at desy dot de> ---
My system is Darwin 16.7.0 with Xcode 8.1.0 (clang-802.0.42). The svn revision
of the gcc 251319. 

/usr/local/packages/gcc_8.0.0/_build/./prev-gcc/xg++
-B/usr/local/packages/gcc_8.0.0/_build/./prev-gcc/
-B/usr/local/x86_64-apple-darwin16.7.0/bin/ -nostdinc++
-B/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/src/.libs
-B/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/libsupc++/.libs

-I/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/include/x86_64-apple-darwin16.7.0

-I/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/include
 -I/usr/local/packages/gcc_8.0.0/libstdc++-v3/libsupc++
-L/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/src/.libs
-L/usr/local/packages/gcc_8.0.0/_build/prev-x86_64-apple-darwin16.7.0/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2   -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I./../intl -I../../gcc/../libcpp/include -I/usr/local//include
-I/usr/local//include -I/usr/local//include  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace  
-o dwarf2out.o -MT dwarf2out.o -MMD -MP -MF ./.deps/dwarf2out.TPo
../../gcc/dwarf2out.c
../../gcc/dwarf2out.c: In function 'void init_sections_and_labels(bool)':
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 9 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 23 and 32
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27210:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_line_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 7 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 25 and 34
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27229:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_abbrev_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 9 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 23 and 32
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27238:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_line_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 9 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 23 and 32
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27245:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_info_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 7 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 25 and 34
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27290:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_abbrev_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 9 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 23 and 32
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27300:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_line_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: error: '%ld' directive writing between 1 and 10
bytes into a region of size 9 [-Werror=format-overflow=]
 init_sections_and_labels (bool early_lto_debug)
 ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27184:1: note: directive argument in the range [0,
4294967295]
In file included from ./tm.h:21:0,
                 from ../../gcc/target.h:52,
                 from ../../gcc/dwarf2out.c:61:
../../gcc/config/darwin.h:759:15: note: 'sprintf' output between 23 and 32
bytes into a destination of size 30
       sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM)); \
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc/dwarf2out.c:27306:4: note: in expansion of macro
'ASM_GENERATE_INTERNAL_LABEL'
    ASM_GENERATE_INTERNAL_LABEL (debug_skeleton_info_section_label,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [dwarf2out.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

Reply via email to