public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/101847] New: [12 regression] linker errors after r12-2808
@ 2021-08-10 14:42 seurer at gcc dot gnu.org
  2021-08-10 14:48 ` [Bug testsuite/101847] " burnus at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-08-10 14:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101847
           Summary: [12 regression] linker errors after r12-2808
           Product: gcc
           Version: 12.0
            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:527a1cf32c27a3fbeaf6be7596241570d864cc4c, r12-2808

After the change in include paths there are now a bunch of undefined symbol
linker errors.

FAIL: gfortran.dg/ieee/dec_math_1.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/dec_math_1.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/dec_math_1.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/dec_math_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/dec_math_1.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/dec_math_1.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_1.F90   -O0  execution test
FAIL: gfortran.dg/ieee/ieee_1.F90   -O1  execution test
FAIL: gfortran.dg/ieee/ieee_1.F90   -O2  execution test
FAIL: gfortran.dg/ieee/ieee_1.F90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/ieee/ieee_1.F90   -O3 -g  execution test
FAIL: gfortran.dg/ieee/ieee_1.F90   -Os  execution test
FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_3.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_4.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_6.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_7.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_8.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_9.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/large_1.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/large_3.F90   -Os  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/large_4.f90   -Os  (test for excess errors)

The errors look  like this:

spawn -ignore SIGHUP
/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran19/../../gfortran
-B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran19/../../
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
-I/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/ieee/ieee_9.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -O0 -pedantic-errors
-fintrinsic-modules-path
/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
-fno-unsafe-math-optimizations -frounding-math -fsignaling-nans
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libatomic/.libs
-B/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home3/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./ieee_9.exe^M
/home/seurer/binutils/install/bin/ld: /tmp/ccX7HStu.o: in function `MAIN__':^M
ieee_9.f90:(.text+0x5c): undefined reference to `_gfortran_ieee_scalb_4_1_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0xbc): undefined
reference to `_gfortran_ieee_scalb_8_1_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x12c): undefined
reference to `_gfortran_ieee_scalb_16_1_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x1ac): undefined
reference to `_gfortran_ieee_scalb_4_2_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x20c): undefined
reference to `_gfortran_ieee_scalb_8_2_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x27c): undefined
reference to `_gfortran_ieee_scalb_16_2_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x2fc): undefined
reference to `_gfortran_ieee_scalb_4_4_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x35c): undefined
reference to `_gfortran_ieee_scalb_8_4_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x3cc): undefined
reference to `_gfortran_ieee_scalb_16_4_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x444): undefined
reference to `_gfortran_ieee_scalb_4_8_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x49c): undefined
reference to `_gfortran_ieee_scalb_8_8_'^M
/home/seurer/binutils/install/bin/ld: ieee_9.f90:(.text+0x504): undefined
reference to `_gfortran_ieee_scalb_16_8_'^M
collect2: error: ld returned 1 exit status^M


commit 527a1cf32c27a3fbeaf6be7596241570d864cc4c (HEAD, refs/bisect/bad)
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Mon Aug 9 12:35:23 2021 +0200

    testsuite/lib/gfortran.exp: Add -I for ISO*.h [PR101305, PR101660]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-10 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 14:42 [Bug testsuite/101847] New: [12 regression] linker errors after r12-2808 seurer at gcc dot gnu.org
2021-08-10 14:48 ` [Bug testsuite/101847] " burnus at gcc dot gnu.org
2021-08-10 14:48 ` rguenth at gcc dot gnu.org
2021-08-10 15:27 ` cvs-commit at gcc dot gnu.org
2021-08-10 15:28 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).