From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D4C833833020; Mon, 16 Nov 2020 20:49:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4C833833020 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97865] New: MACOSX_DEPLOY_TARGET needs to be updated Date: Mon, 16 Nov 2020 20:49:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Mon, 16 Nov 2020 20:49:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97865 Bug ID: 97865 Summary: MACOSX_DEPLOY_TARGET needs to be updated Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- libtool and configure do not correctly cover macOS Big Sur as the Darwin version now reached 20 and the MACOSX_DEPLOYMENT_TARGET 11.x instead of 10.= x. All configure's need to be updated for the dynamic linking: e.g. for libtool.m4 $ git diff diff --git a/m4/libtool.m4 b/m4/libtool.m4 index f2d1f398..be9d50f3 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1072,11 +1072,11 @@ _LT_EOF # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) + 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*) _lt_dar_allow_undefined=3D'$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined=3D'$wl-flat_namespace $wl-undefined ${wl}sup= press' ;; - 10.*) + 10.*|11.*) _lt_dar_allow_undefined=3D'$wl-undefined ${wl}dynamic_lookup' ;; esac ;; etc. This then turns into configure. Without this gcc, gfortran and the dyn= amic libraries get built wiht -flat_namespace instead of dynamic_lookup.=