From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4EE273858410; Wed, 17 Jan 2024 10:14:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EE273858410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705486452; bh=kcMIc8Rm1Z+CW3AIZ3t6AXv2eH1bsWm/n2TYdUXiFd4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I18t1qiE/bkEchL+jEEL3WTVewERfCSTfd46rXdg0+3KzgzVGwMJLXS3rqJGjMA/1 VGb6xFYmc1KVLOCBaDcqHb+fcmlwcxqY94Fe75+2YCPIQo42W3fSd3DK7rKXtINoRS v1Tzr+CaXRdxJ61Og8oHrYZbLv++T0qWpx9pMX2A= From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112862] [14 regression] gfortran.dg coarray tests FAIL on macOS 12+ Date: Wed, 17 Jan 2024 10:14:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D112862 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Iain Sandoe --- > this appears to be fixed; I get clean fortran testsuite results on (x86_6= 4) > Darwin21 and Darwin23. Please could you check and either close this or p= ost > your Xcode version, configure line and OS version. I'm still seeing this in last Friday's bootstraps: macOS/Darwin versions Xcode version 12.7.2 (21G1974)/21.6.0 14.2 13.6.3 (22G436)/22.6.0 14.3 14.2.1 (23C71)/23.2.0 15.1 The full configure line for macOS 14 is /usr/local/bin/bash /vol/gcc/src/hg/master/darwin/configure --prefix=3D/vol= /gcc --target=3Dx86_64-apple-darwin23.2.0 --disable-multilib --with-sysroot=3D/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk --enable-libphobos --enable-objc-gc --with-target-bdw-gc-include=3D/vol/gcc/include --with-target-bdw-gc-lib=3D/vol/gcc/lib/amd64,i386=3D/vol/gcc/lib --with-gmp-include=3D/vol/gcc/include --with-gmp-lib=3D/vol/gcc/lib/amd64 --with-mpfr-include=3D/vol/gcc/include --with-mpfr-lib=3D/vol/gcc/lib/amd64 --with-mpc-include=3D/vol/gcc/include --with-mpc-lib=3D/vol/gcc/lib/amd64 --enable-languages=3Dall,ada,obj-c++ --with-isl-include=3D/vol/gcc/include --with-isl-lib=3D/vol/gcc/lib/amd64 --with-zstd-include=3D/vol/gcc/include --with-zstd-lib=3D/vol/gcc/lib/amd64 --build=3Dx86_64-apple-darwin23.2.0 --host=3Dx86_64-apple-darwin23.2.0 The other two are equivalent. When I check the coarray_40.exe binary on macOS 14, I find: $ otool -L ./coarray_40.exe ./coarray_40.exe: @rpath/libatomic.1.dylib (compatibility version 4.0.0, current vers= ion 4.0.0) @rpath/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) @rpath/libgcc_s.1.1.dylib (compatibility version 1.0.0, current ver= sion 1.1.0) @rpath/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1) $ otool -l ./coarray_40.exe [...] Load command 14 cmd LC_LOAD_DYLIB cmdsize 56 name @rpath/libatomic.1.dylib (offset 24) time stamp 2 Thu Jan 1 01:00:02 1970 current version 4.0.0 compatibility version 4.0.0 but, unlike for the other libs, *no* corresponding LC_RPATH. If I manually add the right -B arg (-B/private/var/gcc/regression/master/14-gcc/build/x86_64-apple-darwin23.2.= 0/./libatomic/.libs) to the command line, the missing LC_RPATH shows up and the excutable runs successfully.=