Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build GCC 14.1 on aarch64-apple-darwin. #68

Closed
wants to merge 1 commit into from

Conversation

reznikmm
Copy link
Contributor

Use Xcode 15.3, because (at this time) the macos-14 runner defaults to Xcode 15.0.1, which has the linking bug. 15.3 is the latest version available in Command Line Tools; Xcode has 15.4.

Use GCC 13.3.0 as the base compiler, because (on Github) 13.2 links one of the tools generated during the compiler build in such a way that it won't run.

Update GNAT's aarch64 source to the gcc-14.1-darwin-r1 release.

Don't configure GCC with --without-build-config (the reason for using it was GCC PR 100340, which was fixed in 2022; using it caused failures in bootstrap stage 2/3 comparison).

  • .github/workflows/macos_arm.yml (GNAT macOS): use Xcode 15.3. (SPARK): likewise.
  • specs/base_gcc.anod (tarball): directly name the 13.3.0 build to be used. (url): directly name the location of the 13.3.0 build to be used.
  • specs/gcc.anod (source_pkg_build): update to the gcc-14.1-darwin-r1 release. (configure_args): don't use --without-build-config.

Refs #67

Use Xcode 15.3, because (at this time) the macos-14 runner defaults to
Xcode 15.0.1, which has the linking bug. 15.3 is the latest version
available in Command Line Tools; Xcode has 15.4.

Use GCC 13.3.0 as the base compiler, because (on Github) 13.2 links one
of the tools generated during the compiler build in such a way that it
won't run.

Update GNAT's aarch64 source to the gcc-14.1-darwin-r1 release.

Don't configure GCC with --without-build-config (the reason for
using it was GCC PR 100340, which was fixed in 2022; using it caused
failures in bootstrap stage 2/3 comparison).

  * .github/workflows/macos_arm.yml (GNAT macOS): use Xcode 15.3.
    (SPARK): likewise.
  * specs/base_gcc.anod (tarball): directly name the 13.3.0 build
      to be used.
    (url): directly name the location of the 13.3.0 build to be used.
  * specs/gcc.anod (source_pkg_build): update to the gcc-14.1-darwin-r1
      release.
    (configure_args): don't use --without-build-config.
@simonjwright
Copy link
Contributor

The macOS_arm fail was because there was already a GitHub release for 'gnat-aarch64-darwin-14.1.0-2'. I think this may have been the release in my fork??? I have now deleted all the releases there.

@reznikmm
Copy link
Contributor Author

reznikmm commented Jun 15, 2024 via email

@simonjwright
Copy link
Contributor

I thought the message at line 122 indicated an error.

@Fabien-Chouteau
Copy link
Member

Thanks @reznikmm , I move the patch to PR #66 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants