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

MacPorts noreply at macports.org
Wed Mar 26 23:37:10 UTC 2025


#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  |
-----------------------------------------------------+--------------------

Comment (by RJVB):

 There is a related addition snafu in GCC 12 (and probably earlier) :

 {{{
 > gcc-mp-12 -g -o foo.o -c foo.S
 clang: error: unsupported option '--gstabs'
 }}}

 This error cost me 2 days to trace when it triggered when building an
 application written in rust ...

 the gcc/configure script has logic to determine if the assembler supports
 `--gstabs`, and I assume that the system `as` command (on older OS X
 versions) indeed does.
 Either way, the (g)stabs debugging format is obsolete and unsupported
 (according to GCC 12) and the entire logic has been stripped from the v13
 version of the script.

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


More information about the macports-tickets mailing list