From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AEEB53973031; Tue, 17 Nov 2020 14:04:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEEB53973031 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97865] MACOSX_DEPLOY_TARGET needs to be updated Date: Tue, 17 Nov 2020 14:04:54 +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: 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 14:04:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97865 --- Comment #9 from J=C3=BCrgen Reuter --- (In reply to Iain Sandoe from comment #8) > (In reply to J=C3=BCrgen Reuter from comment #4) >=20 > It's OK to need it (there are legitimate design reasons to do so) - howev= er > where that need exists, the -Wl,-undefined,dynamic_lookup should be appli= ed > to the specific configuration (with eyes open as to why, of course). >=20 > Placing it in the libtool.m4 (and regenerating the configurations) applies > it globally to everything in the GCC tree which isn't right. Yes, I understand. Our code finally links dynamically: /usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, curre= nt version 1.0.0) /usr/local/lib/libgfortran.5.dylib (compatibility version 6.0.0, current version 6.0.0) /usr/local/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)/usr/local/lib/libstdc++.6.dylib (compatibility versi= on 7.0.0, current version 7.29.0) So, I guess at least one of those libraries has to be built with the -dynamic_lookup in order to work properly. I would guess it is libgfortran,= but maybe not only.=