Skip to content

Building Node 24 in unofficial-builds for armv6l #58458

@friebi

Description

@friebi

Version

24.1.0

Platform

Linux 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
docker image ubuntu:22.04

Subsystem

No response

What steps will reproduce the bug?

Clone my fork of unofficial-builds and run bin/local_build.sh -r armv6l -v v24.1.0

How often does it reproduce? Is there a required condition?

always.

What is the expected behavior? Why is that the expected behavior?

It compiles :-)

What do you see instead?

Compile error

In file included from ../deps/v8/src/compiler/turboshaft/int64-lowering-phase.cc:9:
../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h: In member function 'v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> > > v8::internal::compiler::turboshaft::Int64LoweringReducer<Next>::LowerClz(v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> > >)':
../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h:640:15: error: invalid use of 'struct v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> >'
  640 |     return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
      |               ^~~~~~~~~~~~~~~~~~~~~
../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h: In member function 'v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> > > v8::internal::compiler::turboshaft::Int64LoweringReducer<Next>::LowerCtz(v8::internal::compiler::turboshaft::V<v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> > >)':
../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h:653:15: error: invalid use of 'struct v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> >'
  653 |     return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
      |               ^~~~~~~~~~~~~~~~~~~~~

Additional information

Would be great if you could take a look!
I already revived Node 22 and 23 compilation for armv6l with PR nodejs/unofficial-builds#170. Please don't let armv6l die ❤

Metadata

Metadata

Assignees

No one assigned

    Labels

    armIssues and PRs related to the ARM platform.buildIssues and PRs related to build files or the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions