Opened 2 years ago

#65793 assigned defect

nodejs12 static assert failure on PPC: wrong size of ThreadLocalTop

Reported by: barracuda156 Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc Cc:
Port: nodejs12

Description

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!)

Attachments (1)

nodejs12ppc_fail.log (3.4 MB) - added by barracuda156 2 years ago.

Change History (1)

Changed 2 years ago by barracuda156

Attachment: nodejs12ppc_fail.log added
Note: See TracTickets for help on using tickets.