[MacPorts] #63480: pspp-devel @1.5.3_10+gui+x11: failed assertion `!"reached"' when building

MacPorts noreply at macports.org
Mon Sep 13 01:56:42 UTC 2021


#63480: pspp-devel @1.5.3_10+gui+x11: failed assertion `!"reached"' when building
-------------------------+----------------------
  Reporter:  evanmiller  |      Owner:  nerdling
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  pspp-devel  |
-------------------------+----------------------

Comment (by kencu):

 no, not memory corruption in the app, exactly, I don't think

 This is the error we see caused by the new libgcc_s.1.dylib in gcc7
 conflicting with the old libgcc_s.1.dylib in /usr/lib.

 We saw the same error in several (but not all) gcc7 builds. The exact
 nature of what causes it is not 100% clear to me at least, but it did not
 happen with gcc 7.4.0 and it does happen since then.

 There are two fixes I know of. Build with static-libgcc (I believe that
 will work, haven't actually done it to prove it) or use DYLD_LIBRARY_PATH
 set to /opt/local/lib/libgcc. Or use gcc 7.4.0.

 MacPorts decided to do the DYLD setting fix. There is an option in the
 legacysupport PortGroup to wrap the binaries that error, and set this
 automatically with a wrapper.

 Inspect the legacysupport 1.1 PortGroup, and look in the cmake Portfile
 for a good example.

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


More information about the macports-tickets mailing list