Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Build breakage on ARMv6 devices with v0.11 branch #7222

@adammw

Description

@adammw

I've just been pinged on Twitter that the v0.11.9 build here throws an illegal instruction on ARMv6 devices (basically the Raspberry Pi, I haven't tested any other devices). Seems to do the same on all of the "offical" builds past v0.11.8.

Running node --v8-options presents:

target arm v6 vfp2 hard
ARMv7=1 VFP3=0 VFP32DREGS=0 NEON=0 SUDIV=0 UNALIGNED_ACCESSES=1 MOVW_MOVT_IMMEDIATE_LOADS=0 USE_EABI_HARDFLOAT=1

On v0.11.7:

target arm v6 vfp2 hard
ARMv7=0 VFP3=0 VFP32DREGS=0 NEON=0 SUDIV=0 UNALIGNED_ACCESSES=0 MOVW_MOVT_IMMEDIATE_LOADS=0 USE_EABI_HARDFLOAT=1

Obviously, an armv6 shouldn't be setting the ARMv7 flag, and that's causing illegal instructions to be generated.

I've been able to bisect it to something being changed between v0.11.7 and v0.11.8, but I haven't yet found the commit or change that needs reverting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions