[MacPorts] #68683: gcc8+: doesn't work on macOS 10.6

MacPorts noreply at macports.org
Fri Nov 17 20:06:27 UTC 2023


#68683: gcc8+: doesn't work on macOS 10.6
-----------------------------------------------------+--------------------
  Reporter:  catap                                   |      Owner:  catap
      Type:  defect                                  |     Status:  closed
  Priority:  Normal                                  |  Milestone:
 Component:  ports                                   |    Version:
Resolution:  fixed                                   |   Keywords:
      Port:  gcc8, gcc9, gcc10, gcc11, gcc12, gcc13  |
-----------------------------------------------------+--------------------
Changes (by catap):

 * status:  new => closed
 * owner:  (none) => catap
 * resolution:   => fixed


Comment:

 In [changeset:"d0e6ec59be9c26d232fede065a77f2835c026973/macports-ports"
 d0e6ec59be9c26d232fede065a77f2835c026973/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="d0e6ec59be9c26d232fede065a77f2835c026973"
 gcc7+: enforce using system `as`

 Since GCC 7.4.0, during configure, it detects features supported by
 target-as.
 On the other hand, MacPorts cctools contain a proxy for `as` that runs
 system
 `as` or one of the supported MacPorts clang's `as` if it is installed.
 Here,
 we may encounter a misconfiguration when GCC builds on a system with some
 MacPorts clang, and `as` is using it. However, on a clean system, it uses
 system `as` if no MacPorts clang is installed, which may behave
 differently.
 This can make GCC broken until MacPorts clang is installed. To avoid a
 stealth
 dependency on the used clang, I enforce building with system `as`.

 See: https://github.com/gcc-
 mirror/gcc/commit/b410cf1dc056aab195c5408871ffca932df8a78a
 Closes: https://trac.macports.org/ticket/68683

 [skip ci]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68683#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list