https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100346
Bug ID: 100346 Summary: [11 regression] printf tests fail after r11-6755 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:3804e937b0e252a7e42632fe6d9f898f1851a49c, r11-6755 There are 3 similar failures starting with this revision on a powerpc64 power 9 LE system. I tried this on some other systems (power 7, 8, and 10) and on all of them the tests were flagged as unsupported so perhaps that is all that is needed here? commit 3804e937b0e252a7e42632fe6d9f898f1851a49c (HEAD) Author: Mark Wielaard <m...@klomp.org> Date: Tue Sep 29 15:52:44 2020 +0200 Default to DWARF5 make -k check-gcc RUNTESTFLAGS="execute.exp=gcc.c-torture/execute/user-printf.c" FAIL: gcc.c-torture/execute/user-printf.c -O3 -g (test for excess errors) # of expected passes 15 # of unexpected failures 1 spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-11-test/gcc/xgcc -B/home3/seurer/gcc/git/build/gcc-11-test/gcc/ /home/seurer/gcc/git/gcc-11-test/gcc/testsuite/gcc.c-torture/execute/user-printf.c -fdiagnostics-plain-output -O3 -g -w -lm -o ./user-printf.exe /usr/bin/ld: Dwarf Error: Can't find .debug_ranges section. /tmp/ccqaXtoD.o: In function `main': user-printf.c:(.text.startup+0x20): warning: the use of `tmpnam' is dangerous, better use `mkstemp' FAIL: gcc.c-torture/execute/user-printf.c -O3 -g (test for excess errors) make -k check-gcc RUNTESTFLAGS="execute.exp=gcc.c-torture/execute/printf-2.c" FAIL: gcc.c-torture/execute/printf-2.c -O3 -g (test for excess errors) # of expected passes 13 # of unexpected failures 1 spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-11-test/gcc/xgcc -B/home3/seurer/gcc/git/build/gcc-11-test/gcc/ /home/seurer/gcc/git/gcc-11-test/gcc/testsuite/gcc.c-torture/execute/printf-2.c -fdiagnostics-plain-output -O3 -g -w -lm -o ./printf-2.exe /usr/bin/ld: Dwarf Error: Can't find .debug_ranges section. /tmp/ccDgL46Y.o: In function `main': printf-2.c:(.text.startup+0x20): warning: the use of `tmpnam' is dangerous, better use `mkstemp' FAIL: gcc.c-torture/execute/printf-2.c -O3 -g (test for excess errors) Excess errors: /usr/bin/ld: Dwarf Error: Can't find .debug_ranges section. make -k check-gcc RUNTESTFLAGS="execute.exp=gcc.c-torture/execute/fprintf-2.c" FAIL: gcc.c-torture/execute/fprintf-2.c -O3 -g (test for excess errors) # of expected passes 13 # of unexpected failures 1 spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-11-test/gcc/xgcc -B/home3/seurer/gcc/git/build/gcc-11-test/gcc/ /home/seurer/gcc/git/gcc-11-test/gcc/testsuite/gcc.c-torture/execute/fprintf-2.c -fdiagnostics-plain-output -O3 -g -w -lm -o ./fprintf-2.exe /usr/bin/ld: Dwarf Error: Can't find .debug_ranges section. /tmp/ccki8IKn.o: In function `main': fprintf-2.c:(.text.startup+0x20): warning: the use of `tmpnam' is dangerous, better use `mkstemp' FAIL: gcc.c-torture/execute/fprintf-2.c -O3 -g (test for excess errors) Excess errors: /usr/bin/ld: Dwarf Error: Can't find .debug_ranges section.