From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB4613958C13; Thu, 19 Nov 2020 13:10:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB4613958C13 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97865] libtool needs to be updated for Darwin20. Date: Thu, 19 Nov 2020 13:10:52 +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: 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 13:10:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97865 --- Comment #21 from Iain Sandoe --- (In reply to J=C3=BCrgen Reuter from comment #16) > (In reply to Iain Sandoe from comment #15) > > (In reply to J=C3=BCrgen Reuter from comment #14) > (4) I checked that on my system there is an older version of libasan > installed. > I thought this comes with every gcc installation, but apparently it= =20 > doesn't. Or do I have to build with a special sanitizer flag?=20 The branch contains a patch to enable libsanitizer for darwin20 (libsanitiz= er *is* built with dynamic_lookup, because it uses undefined weak symbols). So long as the initial configure says that libsanitizer is being built (or rather it doesn't say it's disabled) then it should be present. ** Perhaps the problem are coming primarily from the failed install because= of the no-pie issue. I am going to investigate this next. With the last patch on the branch, it would be academic for libgfortran to = be built with "undefined, dynamic_lookup" since there are *no* undefined symbo= ls. since DYLD_LIBRARY_PATH no longer works for Darwin, a failed install will no doubt produce a failed test. Will post more when I figure out what's happening with the no-pie issue. In the meantime - you could try a bootstrap with CC/CXX set to a darwin19 gcc = 7 or newer (if it's possible).=