[MacPorts] #64896: gcc and gcc-devel run fails libSystem.B.dylib not found
MacPorts
noreply at macports.org
Wed Mar 30 17:54:12 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 Dave-Allured):
Suggestions:
1. In gfortran and other compilers, allocate huge arrays dynamically, not
statically, with `allocate` statements. Yes it makes a difference.
2. Avoid compile time initialization of huge arrays. Along with this,
avoid automatic or implicit initialization of large arrays, e.g. automatic
zero fill.
3. Investigate the `-fstack-arrays` option for gfortran. I do not have
direct experience, but it sounds like an option provided specifically to
assist with large arrays. I think it moves huge arrays away from the heap
and onto the stack. It is in the gfortran documentation under **2.9
Options for code generation conventions**.
Perhaps try all of these in various combinations.
--
Ticket URL: <https://trac.macports.org/ticket/64896#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list