From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2BC03858D37; Sun, 11 Feb 2024 23:46:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2BC03858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707695187; bh=iyuFQokPSLlM9hSOQhAim1I8gVMpEuft9acR57PrJdI=; h=From:To:Subject:Date:From; b=JK1OaDKWT2fSFGMt4YndmwtGCSowPdc4X2QoKrae1MQQ/vF7ExwcNTe/X3fPTUfiY 6SzDtw1Vgtr7LUm3SjAzgc/PqT5f641cvkMegEOQ9hnpM1nCJcN9rohSXAHGzOOY7/ 1qdCFO1bHf6eXpDbkqgWw1mXmrIsqks8sk7w7udA= From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/113881] New: Multiple testsuite failures with gfortran on FreeBSD Date: Sun, 11 Feb 2024 23:46:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113881 Bug ID: 113881 Summary: Multiple testsuite failures with gfortran on FreeBSD Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- % gmake bootstrap % cd gcc % gmake check-fortran ... Inspection of testsuite/gfortran/gfortran.sum on x86_64-*-freebsd shows PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O0 (te= st for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O0 exe= cution test PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O1 (te= st for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O1 exe= cution test PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O2 (te= st for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O2 exe= cution test PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (test for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 execution test PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O3 -g = (test for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O3 -g=20 execution test PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -Os (te= st for excess errors) FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -Os exe= cution test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O0 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O0 execution = test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O1 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O1 execution = test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O2 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O2 execution = test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (test for excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 execution test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O3 -g (test f= or excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -O3 -g executi= on test PASS: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -Os (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-2.f90 -fsanitize=3Daddress -Os execution = test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O0 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O0 execution = test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O1 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O1 execution = test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O2 (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O2 execution = test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (test for excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 execution test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O3 -g (test f= or excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -O3 -g executi= on test PASS: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -Os (test for = excess errors) FAIL: gfortran.dg/asan/pr110415-3.f90 -fsanitize=3Daddress -Os execution = test Digging into testsuite/gfortran/gfortran.log the failure are all of the form spawn -ignore SIGHUP /usr/home/kargl/gcc/obj/gcc/testsuite/gfortran/../../gfortran -B/usr/home/kargl/gcc/obj/gcc/testsuite/gfortran/../../ -B/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libgfortran/ /home/kargl/gcc/gcc/gcc/testsuite/gfortran.dg/asan/pointer_assign_16.f90 -fdiagnostics-plain-output -B/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libsanitizer/ -B/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libsanitizer/asan/ -B/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libsanitizer/asan/.l= ibs -B/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libstdc++-v3/src/.li= bs -fsanitize=3Daddress -g -I/home/kargl/gcc/gcc/gcc/testsuite/../../libsanitizer/include -fdiagnostics-plain-output -fsanitize=3Daddress -O1 -L/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libgfortran/.libs -L/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libatomic/.libs -L/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libquadmath/.libs -l= m -o ./pointer_assign_16.exe PASS: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O1 (te= st for excess errors) Setting LD_LIBRARY_PATH to .:/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libgfortran/.libs:/u= sr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libatomic/.libs:/usr/hom= e/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libquadmath/.libs:/usr/home/ka= rgl/gcc/obj/gcc/testsuite/gfortran/../..:/usr/home/kargl/gcc/obj/x86_64-unk= nown-freebsd15.0/./libsanitizer/asan/.libs:/usr/home/kargl/gcc/obj/x86_64-u= nknown-freebsd15.0/./libstdc++-v3/src/.libs:.:/usr/home/kargl/gcc/obj/x86_6= 4-unknown-freebsd15.0/./libgfortran/.libs:/usr/home/kargl/gcc/obj/x86_64-un= known-freebsd15.0/./libatomic/.libs:/usr/home/kargl/gcc/obj/x86_64-unknown-= freebsd15.0/./libquadmath/.libs:/usr/home/kargl/gcc/obj/gcc/testsuite/gfort= ran/../..:/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libsanitizer= /asan/.libs:/usr/home/kargl/gcc/obj/x86_64-unknown-freebsd15.0/./libstdc++-= v3/src/.libs Execution timeout is: 300 spawn [open ...] =3D=3D323=3D=3DASan runtime does not come first in initial library list; yo= u should either link runtime to your application or manually preload it with LD_PREL= OAD. FAIL: gfortran.dg/asan/pointer_assign_16.f90 -fsanitize=3Daddress -O1 exe= cution test Shouldn't the testsuite harness ensure that LD_PRELOAD is properly set?=