Skip to content

Can't build on gcc-g++ 14.0.0 #51369

Closed as not planned
Closed as not planned
@bocchi810

Description

@bocchi810

Version

21.5.0

Platform

Linux DESKTOP-LN5CS60 6.6.8-microsoft-standard-WSL2 #2 SMP Sun Dec 31 21:27:57 CST 2023 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

First,clone the gcc latest source (commit a945c346f57ba40fc80c14ac59be0d43624e559d) code and build it
./configure
make -j12

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

No response

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

No response

What do you see instead?

  g++ -o /home/hhm/nodejs/out/Release/obj.target/icui18n/deps/icu-small/source/i18n/tridpars.o ../deps/icu-small/source/i18n/tridpars.cpp '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DNODE_OPENSSL_HAS_QUIC' '-DICU_NO_USER_DATA_OVERRIDE' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DU_I18N_IMPLEMENTATION=1' '-DU_ATTRIBUTE_DEPRECATED=' '-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations -Wno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fno-exceptions -std=gnu++17 -frtti -MMD -MF /home/hhm/nodejs/out/Release/.deps//home/hhm/nodejs/out/Release/obj.target/icui18n/deps/icu-small/source/i18n/tridpars.o.d.raw   -c
../deps/simdjson/simdjson.cpp: In static member function 'static simdjson::error_code simdjson::fallback::{anonymous}::stage2::tape_builder::parse_document(simdjson::fallback::dom_parser_implementation&, simdjson::dom::document&) [with bool STREAMING = false]':
../deps/simdjson/simdjson.cpp:16566:49: error: inlining failed in call to 'always_inline' 'simdjson::error_code simdjson::fallback::{anonymous}::stage2::json_iterator::walk_document(V&) noexcept [with bool STREAMING = false; V = simdjson::fallback::{anonymous}::stage2::tape_builder]': target specific option mismatch
16566 | simdjson_warn_unused simdjson_inline error_code json_iterator::walk_document(V &visitor) noexcept {
      |                                                 ^~~~~~~~~~~~~
../deps/simdjson/simdjson.cpp:17003:39: note: called from here
17003 |   return iter.walk_document<STREAMING>(builder);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
../deps/simdjson/simdjson.cpp:16566:49: error: inlining failed in call to 'always_inline' 'simdjson::error_code simdjson::fallback::{anonymous}::stage2::json_iterator::walk_document(V&) noexcept [with bool STREAMING = false; V = simdjson::fallback::{anonymous}::stage2::tape_builder]': target specific option mismatch
16566 | simdjson_warn_unused simdjson_inline error_code json_iterator::walk_document(V &visitor) noexcept {
      |                                                 ^~~~~~~~~~~~~
../deps/simdjson/simdjson.cpp:17003:39: note: called from here
17003 |   return iter.walk_document<STREAMING>(builder);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
  g++ -o /home/hhm/nodejs/out/Release/obj.target/icui18n/deps/icu-small/source/i18n/collationweights.o ../deps/icu-small/source/i18n/collationweights.cpp '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DNODE_OPENSSL_HAS_QUIC' '-DICU_NO_USER_DATA_OVERRIDE' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DU_I18N_IMPLEMENTATION=1' '-DU_ATTRIBUTE_DEPRECATED=' '-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common  -pthread -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations -Wno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fno-exceptions -std=gnu++17 -frtti -MMD -MF /home/hhm/nodejs/out/Release/.deps//home/hhm/nodejs/out/Release/obj.target/icui18n/deps/icu-small/source/i18n/collationweights.o.d.raw   -c
make[1]: *** [deps/simdjson/simdjson.target.mk:84: /home/hhm/nodejs/out/Release/obj.target/simdjson/deps/simdjson/simdjson.o] Error 1
make[1]: *** Waiting for unfinished jobs....
^Cmake[1]: *** [tools/v8_gypfiles/torque_base.target.mk:178: /home/hhm/nodejs/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o] Interrupt
make[1]: *** [tools/v8_gypfiles/torque_base.target.mk:178: /home/hhm/nodejs/out/Release/obj.target/torque_base/deps/v8/src/torque/torque-parser.o] Interrupt
make: *** [Makefile:134: node] Interrupt

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.dependenciesPull requests that update a dependency file.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions