[MacPorts] #65793: nodejs12 static assert failure on PPC: wrong size of ThreadLocalTop
MacPorts
noreply at macports.org
Wed Sep 7 11:05:13 UTC 2022
#65793: nodejs12 static assert failure on PPC: wrong size of ThreadLocalTop
--------------------------+----------------------
Reporter: barracuda156 | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: powerpc | Port: nodejs12
--------------------------+----------------------
There are three failures at the moment, but the most puzzling one is a
failure of a bunch of static asserts from `isolate-data.h`. It looks like
ThreadLocalTop size gets wrong (100 instead of 96 = 24 * pointer, as per
definition in `nodejs12` – note, it changed in later versions), and due to
that all subsequent offsets mismatch by +4.
I can understand that no one perhaps even tried to build it for PPC, but
any ideas will be appreciated.
Ticket with upstream (but little hope there, tbh):
https://github.com/nodejs/help/issues/3972
My branch with patches: https://github.com/barracuda156/node-
ppc/tree/nodejs12-ppc-darwin (WIP!)
--
Ticket URL: <https://trac.macports.org/ticket/65793>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list