[MacPorts] #64896: gcc and gcc-devel run fails libSystem.B.dylib not found

MacPorts noreply at macports.org
Wed Mar 30 16:12:49 UTC 2022


#64896: gcc and gcc-devel run fails libSystem.B.dylib not found
-----------------------------+--------------------
  Reporter:  AlanTAMU        |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  ggc, gcc-devel  |
-----------------------------+--------------------

Comment (by kencu):

 OK, so the short answer here is that at present, you can't load a static
 data structure on the heap of that size, as the linker is unable to do the
 needed relocations thereafter, and when it fails it generates a false
 error about the library not being found.

 The real error is that the library can't be loaded and linked as you're
 out of heap space.

 This is an Apple/ld64 thing, not related to gcc or fortran or macports or
 ... any such thing, and whether it will ever be fixed depends.

 If someone wanted to open an Apple Radar about it that might (or might
 not) be useful, but there is nothing for us to do here.

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


More information about the macports-tickets mailing list