too long lines were shrinked: [985/1672] x86_64-pc-linux-gnu-g++ -MMD -MF obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.process-heap-statistics.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -DNODE_OPENSSL_CONF_NAME=nodejs_conf -DNODE_OPENSSL_CERT_STORE -DICU_NO_USER_DATA_OVERRIDE -DV8_GYP_BUILD -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -D__ST FAILED: obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.process-heap-statistics.o x86_64-pc-linux-gnu-g++ -MMD -MF obj/deps/v8/src/heap/cppgc/v8_base_without_compiler.process-heap-statistics.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -DNODE_OPENSSL_CONF_NAME=nodejs_conf -DNODE_OPENSSL_CERT_STORE -DICU_NO_USER_DATA_OVERRIDE -DV8_GYP_BUILD -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -D__STDC_FORMAT_M In file included from ../../deps/v8/src/heap/cppgc/process-heap-statistics.h:9, from ../../deps/v8/src/heap/cppgc/process-heap-statistics.cc:5: ../../deps/v8/src/heap/cppgc/stats-collector.h: In member function void cppgc::internal::StatsCollector::ForAllAllocationObservers(Callback): ../../deps/v8/src/heap/cppgc/stats-collector.h:401:48: error: cannot convert std::vector<cppgc::internal::StatsCollector::AllocationObserver*>::iterator to const char* 401 | std::remove(allocation_observers_.begin(), allocation_observers_.end(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20231102-160004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.4 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] *) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 php cli (if any): go version go1.21.3 linux/amd64 HEAD of ::gentoo commit d8cdeb2963651de81b9d6cd62e13a9e2fb23e6be Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 3 11:17:02 2023 +0000 2023-11-03 11:17:01 UTC emerge -qpvO net-libs/nodejs [ebuild N ] net-libs/nodejs-20.8.1-r1 USE="icu npm snapshot ssl system-icu system-ssl -corepack -debug -doc -inspector (-lto) (-pax-kernel) -test" CPU_FLAGS_X86="sse2"
Created attachment 873977 [details] emerge-info.txt
Created attachment 873978 [details] emerge-history.txt
Created attachment 873979 [details] environment
Created attachment 873980 [details] etc.clang.tar.xz
Created attachment 873981 [details] etc.portage.tar.xz
Created attachment 873982 [details] net-libs:nodejs-20.8.1-r1:20231103-121841.log.xz
Created attachment 873983 [details] qlist-info.txt
Created attachment 873984 [details] temp.tar.xz
I fixed this a while ago upstream in V8, so it just needs to be pulled into node (which will happen eventually). We can backport it for now: https://chromium-review.googlesource.com/c/v8/v8/+/4583222.
I just added 20.9.0 to the tree. Please test and let me know if that version can be compiled with gcc 14. Thanks, William
(In reply to William Hubbs from comment #10) > I just added 20.9.0 to the tree. > Please test and let me know if that version can be compiled with gcc 14. > > Thanks, > > William same issue
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a367252e37e26524a0008a4923ba37ac08fc403 commit 5a367252e37e26524a0008a4923ba37ac08fc403 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-11-06 15:41:36 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-11-06 15:41:36 +0000 net-libs/nodejs: gcc 14 porting fixes Bug: https://bugs.gentoo.org/916754 Signed-off-by: William Hubbs <williamh@gentoo.org> net-libs/nodejs/files/nodejs-20.8.1-gcc14.patch | 24 ++++++++++++++++++++++++ net-libs/nodejs/nodejs-20.8.1-r1.ebuild | 1 + net-libs/nodejs/nodejs-20.9.0.ebuild | 4 ++++ 3 files changed, 29 insertions(+)