Giter Club home page Giter Club logo

Comments (3)

mathomp4 avatar mathomp4 commented on September 6, 2024

GCC 13.1.0 on M1 Mac

Compiling GCC

Official Tarball

I grabbed the official tarball from GCC and tried to build but:

*** Configuration aarch64-apple-darwin22.4.0 not supported

Interestingly, this failed in the make step and not the configure step. Hmm.

Nothing is showing up yet on the buildstat page, so I might just be too early.

I wonder if it's the usual Apple Clang issue that spack protects against:

    # https://github.com/iains/gcc-12-branch/issues/6
    conflicts("%apple-clang@14:14.0")

Iain Repo

Next thought was the as with GCC 12.2 on M1, we move to the @iains repos.

I see there is a gcc-13-branch repo now but it's still on rc3. For now, I'll wait and monitor.

Build GCC 13 with GCC 12

So if Apple Clang is the issue, we can try a bootstrap from a working GCC to a new GCC.

Nope. Same error as when building with Apple Clang:

*** Configuration aarch64-apple-darwin22.4.0 not supported

from esma-baselibs.

iains avatar iains commented on September 6, 2024

The gcc-13-1-darwin-r0 branch should be ready this week - it takes time to test across the whole range of versions and GCC-13-1 was only release this morning :)

edit: we are hoping to be able to find time to upstream some of the work for GCC14.

from esma-baselibs.

mathomp4 avatar mathomp4 commented on September 6, 2024

The gcc-13-1-darwin-r0 branch should be ready this week - it takes time to test across the whole range of versions and GCC-13-1 was only release this morning :)

edit: we are hoping to be able to find time to upstream some of the work for GCC14.

@iains I figured I was jumping the gun. I guess part of me just hoped all the fixes were in GCC 13 after I saw:

Support for new CPU features in the ARM, x86 family, RISC-V and LoongArch

and said, hey, M1 is Arm! 😄

If we can ever just get clang to build GCC inside of spack, I suppose that would solve some problems (though not this crazy issue which I still cannot figure out...)

from esma-baselibs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.