From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 90AD03858019; Tue, 17 Nov 2020 10:49:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90AD03858019 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated Date: Tue, 17 Nov 2020 10:49:01 +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: iains at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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: Tue, 17 Nov 2020 10:49:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97865 --- Comment #7 from Iain Sandoe --- (In reply to J=C3=BCrgen Reuter from comment #6) > (In reply to Iain Sandoe from comment #5) > > I bootstrapped several times (without using MACOSX_DEPLOYMENT_TARGET) a= nd > > have been looking into other issues. > >=20 > > Note that the libgfortran directory throws up a lot of warnings when > > 'autoreconf'ed' so maybe there's some things to be looked at there anyw= ay. >=20 > Ok, sorry, my reply was not so clear (even to me): I also never used > MACOSX_DEPLOYMENT_TARGET myself. The main point in my fix is that libtool > defaults to 10.0 for the TARGET, and then the second option matches, not = the > first one because now there is not darwin1x.x anymore, but darwin20. In a= ny > case, it looks like that Fortran code that either uses bind(C) to C++ > libraries or legacy Fortran code based on common blocks produces ubiquito= us > SIGABRT when compiled with -Wl,-flat_namespace and without > -Wl,-dynamic_lookup. OK. I'll take a look at this (and the config.sub) and ask which things we p= atch and which we import - who is responsible for maintaining Darwin in lib tool? (I worked with Ben Elliston to test the newer config.sub across a range of Darwin machines, so fairly sure that's OK [but testing still needed of course]).=