https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119172

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Iain D Sandoe
<ia...@gcc.gnu.org>:

https://gcc.gnu.org/g:6d57ab56981cf085480df21f602dacb7f3cf3e49

commit r12-11249-g6d57ab56981cf085480df21f602dacb7f3cf3e49
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Sun Mar 9 09:24:34 2025 +0000

    Darwin: Pass -macos_version_min to the linker [PR119172].

    For binaries to be notarised, the SDK version must be available.
    Since we do not, at present, parse this information we have been
    passing "0.0" to ld64.  This now results in a warning and a fail
    to notarise.  As a quick-fix, we can fall back to letting ld64
    figure out the SDK version (which it does for -macos_version_min).

    TODO: Parse the SDKSetting.plist at some point.

    cherry-picked from 952e17223d3a9 and fc728cfd569e291a5

            PR target/119172

    gcc/ChangeLog:

            * config.in: Regenerate.
            * config/darwin.h (DARWIN_PLATFORM_ID): Add the option to
            use -macos_version_min where available.
            * configure: Regenerate.
            * configure.ac: Check for ld64 support of -macos_version_min.

    Co-authored-by: Andrew Pinski <quic_apin...@quicinc.com>

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>
    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
  • [Bug target/119172] [12/13 regr... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to