You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./configure --prefix=/usr/local/node-v20.9.0
make -j 64
How often does it reproduce? Is there a required condition?
It fails everytime. Only need GCC 14.2.0
What is the expected behavior? Why is that the expected behavior?
The build process should not fail.
What do you see instead?
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(),
|~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
||| std::vector<cppgc::internal::StatsCollector::AllocationObserver*>::iterator
Version
Node.js v20.9.0
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
It fails everytime. Only need GCC 14.2.0
What is the expected behavior? Why is that the expected behavior?
The build process should not fail.
What do you see instead?
Additional information
Solution
using method suggested from this question
<algorithm>
in the header filedeps/v8/src/heap/cppgc/stats-collector.h
PATH=/usr/local/Python-3.11.0/bin:/usr/local/gcc-13.2.0/bin:$PATH make -j 64
The text was updated successfully, but these errors were encountered: