[MacPorts] #65612: nqp & rakudo 2022.07 on Rosetta: incorrect checksum for freed object - object was probably modified after being freed

MacPorts noreply at macports.org
Thu Aug 4 16:24:34 UTC 2022


#65612: nqp & rakudo 2022.07 on Rosetta: incorrect checksum for freed object -
object was probably modified after being freed
-------------------------------+-------------------------------------------
  Reporter:  barracuda156      |      Owner:  mojca
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.2
Resolution:                    |   Keywords:  powerpc, rosetta, snowleopard
      Port:  nqp, rakudo,      |
  MoarVM                       |
-------------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > this looks like that same error we have been seeing for several years
 with the ODR issue with libstdc++ in libgcc on some systems.
 >
 > The only fix for now is to use the binwrapping in legacysupport, which
 can work sometimes. Look at the cmake Portfile to see how to do it, as one
 example. In this case, looks like an intermediate build product is
 failing, and that is always harder.
 >
 > As you have heard, Iain is working on this ODR issue (along with 1.2
 million other things). No timeline or promise that it will ever be fixed,
 however.

 Thank you. Yes, these `malloc` errors look familiar. Usually build fails
 with them though. Here it appears to go through completion. I will see if
 there are some tests for `rakudo` to check if it works as supposed to.

 P. S. If we manage to fix `libcxx` for PPC, that will solve the problem?
 Iain said that he backported an option to use `libcxx` from `gcc12` to
 earlier versions (through `gcc10`?).

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


More information about the macports-tickets mailing list