[MacPorts] #65286: graphviz @2.50.0+universal: malloc: *** error for object 0x10201f2c8: Non-aligned pointer being freed (was: graphviz 2.50.0 fails to build universal on Leopard: malloc errors, intel destroot added when build is for ppc+ppc64)
MacPorts
noreply at macports.org
Mon Jun 6 06:18:11 UTC 2022
#65286: graphviz @2.50.0+universal: malloc: *** error for object 0x10201f2c8: Non-
aligned pointer being freed
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, ppc64
Port: graphviz |
---------------------------+-------------------------------------
Comment (by ryandesign):
> intel destroot added when build is for ppc+ppc64
All destroot folders are always created on all architectures. It
simplifies the implementation of the muniversal portgroup to do so.
> Obviously I had to add muniversal 1.0, since it requires C++ 2011, and
gcc11 (or any other supporting the standard) does not accept multiple arch
flags.
As I've mentioned elsewhere I don't think we should be adding the
muniversal portgroup manually to every port that uses gcc on PowerPC
systems just to accommodate universal builds on PowerPC. Either MacPorts
base should do so automatically, or gcc should be fixed to accept multiple
-arch flags. I would prefer the latter solution since using the muniversal
portgroup can have other consequences with certain ports' build systems
which include build failures.
> this is the standard error you see with the bad libgcc.
>
> use this workaround https://github.com/macports/macports-
ports/blob/b159711ad932b653f146364b0db4179a5ed44cf8/_resources/port1.0/group/legacysupport-1.1.tcl#L32
to fix it until Iain gets around to the real fix.
I'm not familiar with the problem you're referring to or the workaround
you're suggesting. Are you saying he should add
`legacysupport.redirect_bins yes` to the graphviz portfile?
--
Ticket URL: <https://trac.macports.org/ticket/65286#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list