From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D629385780B; Thu, 19 Nov 2020 19:50:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D629385780B From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97865] libtool needs to be updated for Darwin20. Date: Thu, 19 Nov 2020 19:50:34 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2020 19:50:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97865 --- Comment #23 from J=C3=BCrgen Reuter --- (In reply to Iain Sandoe from comment #18) > (In reply to J=C3=BCrgen Reuter from comment #17) > ----- >=20 > * I found that there was one incorrect case in libgfortran (where there i= s a > direct reference to **environ from the dylib, which is not allowed) - this > was being hidden by the 'global dynamic_lookup' -- the > master-wip-config-darwin20 branch has a patch now for that too. >=20 > My test setup >=20 > clean install of macOS11.0.1 > master-wip-config-darwin20 > command line install of XC12.2RC > GMP/MPFR/PMC/ISL are built in-tree (the sources are symlinked into the ro= ot > dir) >=20 > /src-local/gcc-master/configure > --prefix=3D/opt/iains/x86_64-apple-darwin20/gcc-11-0-0 > --target=3Dx86_64-apple-darwin20 --host=3Dx86_64-apple-darwin20 > --build=3Dx86_64-apple-darwin20 > --with-sysroot=3D/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk > --enable-languages=3Dall CC=3Dx86_64-apple-darwin19-gcc > CXX=3Dx86_64-apple-darwin19-g++ >=20 > =3D=3D=3D=3D >=20 > The effort of testing a top-level configuration change across multiple > platforms is quite significant - so I'd rather not hack a minimal change = and > then have to go back and fix it properly later - so let's get to the bott= om > of what's happening and find the correct solution. So with that patch it works. Probably it worked even before your last fix, = as I think I cloned the first your repo just with the link above, but was on mas= ter, not on the master-wip-config-darwin20, my fault. I compiled/bootstrapped now with Apple clang version 12.0.0 (clang-1200.0.32.27), and just did make -i install, skipping over the error, which I think is not relevant for me. I u= sed my patches for the gmp, mpfr, mpc, though I think it's not relevant for the= m. In any case I notified their developers about the issue. Hope we get a stab= le and convincing solution into 11.0.1. Will you then backport this for upcomi= ng 10.3 and 9.4 as well? (for 8 it's probably too late).=