Skip to content

Update GCC on benchmark-ubuntu1604-intel-64 #2681

@targos

Description

@targos

See https://ci.nodejs.org/job/node-test-commit-v8-linux/4078/nodes=benchmark-ubuntu1604-intel-64,v8test=v8test/console

Since we increased our minimum supported GCC version to >=8.3, V8 already removed hacks that they had to support old versions. Now V8 CI fails on the benchmark machine because GCC is too old:

15:19:43 + ./configure --verbose
15:19:45 Node.js configure: Found Python 3.9.4...
15:19:45 Detected C++ compiler (CXX=g++-6) version: 6.5.0
15:19:45 WARNING: C++ compiler (CXX=g++-6, 6.5.0) too old, need g++ 8.3.0 or clang++ 8.0.0
15:19:45 Detected C compiler (CC=gcc-6) version: 6.5.0
15:41:19 ../deps/v8/src/compiler/node.h:53:29: error: enclosing class of constexpr non-static member function ‘v8::internal::compiler::IrOpcode::Value v8::internal::compiler::Node::opcode() const’ is not a literal type
15:41:19    constexpr IrOpcode::Value opcode() const {
15:41:19                              ^~~~~~
15:41:19 ../deps/v8/src/compiler/node.h:42:7: note: ‘v8::internal::compiler::Node’ is not literal because:
15:41:19  class V8_EXPORT_PRIVATE Node final {
15:41:19        ^~~~
15:41:19 ../deps/v8/src/compiler/node.h:42:7: note:   ‘v8::internal::compiler::Node’ is not an aggregate, does not have a trivial default constructor, and has no constexpr constructor that is not a copy or move constructor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions