[MacPorts] #56521: gcc8 @8-20170604_2: update to 8.1

MacPorts noreply at macports.org
Fri Jun 8 20:00:51 UTC 2018


#56521: gcc8 @8-20170604_2: update to 8.1
-----------------------+--------------------
  Reporter:  iqgrande  |      Owner:  (none)
      Type:  update    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.4
Resolution:            |   Keywords:
      Port:  gcc8      |
-----------------------+--------------------
Changes (by ryandesign):

 * cc: jeremyhu (added)


Comment:

 Replying to [comment:7 MarcusCalhoun-Lopez]:
 > {{{libgcc}}} 8.1 built for me on macOS 10.13 with the following
 modification
 > {{{
 > configure.args-replace \
 >                     --with-as=${prefix}/bin/as \
 >                     --with-as=/usr/bin/as
 > }}}

 Thanks Marcus, I can confirm that works for me too with Xcode 9.2 on macOS
 Sierra.

 So I suppose the problem is that we were using `as` from cctools, which is
 version 895, which corresponds to Xcode 8.1, which is perhaps too old to
 do the right thing in this case.

 I usually have the ld64 port installed with the +ld64_xcode variant (which
 uses the `ld` installed by Xcode), but I also tried with the default
 installation (which uses the ld64-latest port which uses ld 274.2 which is
 from Xcode 8.2.1); using `--with-as=${prefix}/bin/as`, it fails with
 either `ld` version.

 Jeremy added `--with-as` (and `--with-ld` and `--with-ar`) to all the gcc
 ports [changeset:aeace29a908b0fd1e4151391fd982b1ddc844105/macports-ports 6
 years ago], though the commit message doesn't mention why. Jeremy, do you
 remember? What do you recommend—revert that? update cctools and/or
 ld64-latest? all of the above?

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


More information about the macports-tickets mailing list