[MacPorts] #65146: gcc11/gcc12 portfiles need minor changes to enable building with gcc10-bootstrap on Leopard and Rosetta
MacPorts
noreply at macports.org
Mon Jul 18 13:53:59 UTC 2022
#65146: gcc11/gcc12 portfiles need minor changes to enable building with
gcc10-bootstrap on Leopard and Rosetta
------------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords: snowleopard, leopard, powerpc
Port: gcc11, libgcc11 |
------------------------------+-------------------------------------------
Comment (by kencu):
Replying to [comment:9 barracuda156]:
> Replying to [comment:4 kencu]:
> > gcc11 builds using clang on 10.6 (for Intel).
> >
> > Here you are trying to build gcc11 on 10.6 on PPC using
gcc10-bootstrap?
> >
> > We haven't really explored that path as yet. Someday we may set up
gcc11/libgcc11 (or gcc12/libgcc12) to build with gcc10-bootstrap. That
will require somebody figuring out how it should be done, and on which
systems.
> >
> > But it is not presently supported, and there is no error in gcc11 or
circular dependancy a this time.
>
> Well, FWIU, `gcc10-bootstrap` was precisely designed to help older
systems to get to the latest compilers (which cannot be bootstrapped
directly).
That is indeed a plan, once gcc10-bootstrap builds everywhere it is
needed, someone will correctly modify the builds of gcc11+ to build with
gcc10-bootstrap, and then trigger the ancient systems to use libgcc12 as
the new default by changing a couple of numbers in the libgcc port and
elsewhere (I showed you how to do this last year).
Step 1. make sure gcc10-bootstrap builds everywhere (Tiger to Mojave,
anyway). Universal where needed (10.6 at least).
Step 2. modify gcc11+ to build with it, properly, including universal, on
certain systems TBA (? Tiger to Lion)
Step 3. update libgcc and compiler selection code to use libgcc12 on all
system
But nobody with the proper skills and time has been motivated to do this
yet, so it is still presently unsupported on MacPorts.
--
Ticket URL: <https://trac.macports.org/ticket/65146#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list