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

V8 5.4.500.31 requires binutils 2.26 #227

@ignisf

Description

@ignisf

It seems that V8 now requires binutils 2.26 to build. The result of this is that one cannot build it on Ubuntu 14.04 (and anything under 16.04 really).

Error message:

/usr/bin/ld.gold: error: /home/travis/build/cowboyd/libv8/vendor/v8/out/x64.release/obj.target/mkpeephole/src/interpreter/bytecodes.o: unsupported reloc 42 against global symbol v8::internal::interpreter::BytecodeTraits<(v8::internal::interpreter::AccumulatorUse)2, (v8::internal::interpreter::OperandType)4>::GetOperandTypes()::operand_types

Full error log: https://travis-ci.org/cowboyd/libv8/jobs/167891871

Possible courses of action:

  • Document the dependency on binutils >= 2.26 and go ahead without further actions. Pros: easy for maintaining. Cons: possibly an avalanche of unhappy users.
  • Check the version of binutils on build time and decide between using the system version or the Google-provided binary version. Pros: easy for implementation. Cons: depending on a binary provided by a third party.
  • Find and patch whatever imposes a dependency on reloc 42. Pros: cleanest solution. Cons: hard.

@SamSaffron, thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions