[MacPorts] #61906: gcc48: error: non-local symbol required in directive

MacPorts noreply at macports.org
Thu Dec 24 18:34:04 UTC 2020


#61906: gcc48: error: non-local symbol required in directive
---------------------+--------------------
  Reporter:  dbl001  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.4
Resolution:          |   Keywords:
      Port:  gcc48   |
---------------------+--------------------

Comment (by kencu):

 It's your {{{OpenBLAS +gcc48}}} , some ancient variant that just kept
 getting updated I guess.

 You also have openmpi-default as +gcc9, and other things as +gcc10.

 So I would uninstall everything that is not +gcc10, and then reinstall
 them with default variants (that should be gcc10) or make them +gcc10 if
 they don't default that way.

 Remove all your gcc versions prior to gcc10, remove all your libgcc
 versions prior to libgcc10, uninstall everything that depends on any gcc
 before gcc10, and then reinstall them with gcc10 variants.

 That should keep you in business for a few years, until you need to do
 this again.

 This is kinda MacPorts' fault, as forcing to a specific gcc version
 basically guarantees this will happen to people over time. We should force
 to a generic "gcc" that represents the latest gcc instead....

 Another project for a compsci grad student with nothing to do :>

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


More information about the macports-tickets mailing list