[MacPorts] #57356: libgcc8 @8.2.0.1 fails to build on Mojave with "C compiler cannot create executables"

MacPorts noreply at macports.org
Fri Oct 12 19:58:57 UTC 2018


#57356: libgcc8 @8.2.0.1 fails to build on Mojave with "C compiler cannot create
executables"
----------------------+--------------------
  Reporter:  p-vitt   |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:  mojave
      Port:  libgcc8  |
----------------------+--------------------

Comment (by michaelld):

 Ah yes. "gnm" == "GNU nm". I guess since we're building GCC (and, past the
 bootstrap phase where Clang would be used) it shouldn't be a surprise that
 "gnm" is searched for & used if found LOL. Guessing since this issue is
 during configuration that there's probably a relatively simple patch that
 would fix this configure script
 (`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc8/libgcc8/work/gcc-8.2.0/libgomp/configure`)
 -- e.g., "don't search for "gnm" , just "nm" ... might be worth exploring,
 since we never want to use MP binutils ...

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


More information about the macports-tickets mailing list