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
* [Bug testsuite/101847] [12 regression] linker errors after r12-2808
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 ` burnus at gcc dot gnu.org
2021-08-10 14:48 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2021-08-10 14:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101847
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-08-10
Status|UNCONFIRMED |NEW
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Also discussed on IRC. Solution:
Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577099.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/101847] [12 regression] linker errors after r12-2808
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
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-10 14:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101847
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/101847] [12 regression] linker errors after r12-2808
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
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-10 15:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101847
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:2ba0376ac40447ce7ee09fcef00511c18db25dfa
commit r12-2839-g2ba0376ac40447ce7ee09fcef00511c18db25dfa
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Tue Aug 10 17:26:32 2021 +0200
gfortran: Fix in-build-tree testing [PR101305, PR101660]
ISO_Fortran_binding.h is written in the build dir - hence, a previous
commit
added it as include directory for in-build-tree testing. However,
it turned out that -I$specdir/libgfortran interferes with reading .mod
files
as they are then no longer regareded as intrinsic modules. Solution:
Create
an extra include/ directory in the libgfortran build dir and copy
ISO_Fortran_binding.h to that directory. As -B$specdir/libgfortran already
causes gfortran to read that include subdirectory, the -I flag is no longer
needed.
PR libfortran/101305
PR fortran/101660
PR testsuite/101847
libgfortran/ChangeLog:
* Makefile.am (ISO_Fortran_binding.h): Create include/ in the build
dir
and copy the include file to it.
(clean-local): Add for removing the 'include' directory.
* Makefile.in: Regenerate.
gcc/testsuite/ChangeLog:
* lib/gfortran.exp (gfortran_init): Remove -I$specpath/libgfortran
from the string used to set GFORTRAN_UNDER_TEST.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug testsuite/101847] [12 regression] linker errors after r12-2808
2021-08-10 14:42 [Bug testsuite/101847] New: [12 regression] linker errors after r12-2808 seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-08-10 15:27 ` cvs-commit at gcc dot gnu.org
@ 2021-08-10 15:28 ` burnus at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2021-08-10 15:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101847
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED - hopefully for good.
^ 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).