[MacPorts] #65286: graphviz @2.50.0+universal: malloc: *** error for object 0x10201f2c8: Non-aligned pointer being freed
MacPorts
noreply at macports.org
Fri Jun 10 13:17:27 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 kencu):
Sergey, what you bring to the table is great enthusiasm and willingness to
put time in. Iain brings great expertise but little time available. I
bring neither, but perhaps might fall in between. There are others
interested too, as you have seen.
The first thing for you to do is understand exactly what is needed. Using
apple-gcc42 from MacPorts, built it universal as ppc/ppc64 and use it to
built simple universal software (eg a simple hello.c executable). See and
understand what driverdriver.c does to make this work. It is actually
quite straitforward. Read the driverdriver.c code until you understand
what parts are in it, and what each part does.
Then choose one single newer gcc version to work on. I would say gcc7
perhaps as that is what macports uses now. There is already a ticket where
a very smart person has worked on updating driverdriver.c for newer gcc
versions here
https://trac.macports.org/ticket/48857
and see here for how to build and use it (only the driverdriver.c part is
needed for now)
https://github.com/devernay/macportsGCCfixup
that file needs some updating to work with gcc7. Once you are to that
point, people will probably contribute small fixes if the effort gets
stuck.
Fred got this far, but then got bogged down in politics, you might say. I
have a feeling you might blast through that.
Once gcc7 works, then update it to work with gcc11.
--
Ticket URL: <https://trac.macports.org/ticket/65286#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list