Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727116 - net-libs/nodejs-14.2.0 - In file included from ../deps/v8/src/torque/global-context.cc:5: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h:88:14: internal compiler error: Segmentation fault
Summary: net-libs/nodejs-14.2.0 - In file included from ../deps/v8/src/torque/global-c...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 12:31 UTC by Niels
Modified: 2020-12-03 15:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,105.01 KB, text/plain)
2020-06-04 12:31 UTC, Niels
Details
environment.txt (environment,113.81 KB, text/plain)
2020-06-04 12:32 UTC, Niels
Details
emerge_info.txt (emerge_info.txt,16.63 KB, text/plain)
2020-06-04 12:33 UTC, Niels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels 2020-06-04 12:31:53 UTC
Created attachment 643402 [details]
build.log

Nodejs fails to compile and explicitly calls for a complete Bug report.
I didn't find one for this specific version, so here we go:


  x86_64-pc-linux-gnu-g++ -o /var/tmp/portage/net-libs/nodejs-14.2.0/work/node-v14.2.0/out/Release/obj.target/torque_base/deps/v8/src/torque/global-context.o ../deps/v8/src/torque/global-context.cc '-DNODE_OPENSSL_CERT_STORE' '-DV8_EMBEDDED_BUILTINS' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.33"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' -I../deps/v8 -I../deps/v8/include  -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing -m64 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -std=gnu++1y -fexceptions   -O2 -march=znver1 -c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/vector:67,
                 from ../deps/v8/src/torque/ast.h:14,
                 from ../deps/v8/src/torque/global-context.h:12,
                 from ../deps/v8/src/torque/global-context.cc:5:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h: In instantiation of ‘struct std::_Vector_base<v8::internal::torque::Identifier*, std::allocator<v8::internal::torque::Identifier*> >::_Vector_impl_data’:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h:125:14:   required from ‘struct std::_Vector_base<v8::internal::torque::Identifier*, std::allocator<v8::internal::torque::Identifier*> >::_Vector_impl’
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h:337:20:   required from ‘struct std::_Vector_base<v8::internal::torque::Identifier*, std::allocator<v8::internal::torque::Identifier*> >’
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h:386:11:   required from ‘class std::vector<v8::internal::torque::Identifier*>’
../deps/v8/src/torque/ast.h:335:28:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_vector.h:88:14: internal compiler error: Segmentation fault
   88 |       struct _Vector_impl_data
      |              ^~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [tools/v8_gypfiles/torque_base.target.mk:144: /var/tmp/portage/net-libs/nodejs-14.2.0/work/node-v14.2.0/out/Release/obj.target/torque_base/deps/v8/src/torque/global-context.o] Error 1
make: *** Waiting for unfinished jobs....
rm 4468680e58a851d8ee7aaa133c43822315ca899e.intermediate 0bba14adfd98608446d5d0a82de5c56d9bcf1cf2.intermediate
make: Leaving directory '/var/tmp/portage/net-libs/nodejs-14.2.0/work/node-v14.2.0/out'
 * ERROR: net-libs/nodejs-14.2.0::gentoo failed (compile phase):
 *   emake failed

please find:
- `emerge --info '=net-libs/nodejs-14.2.0::gentoo'` 
- '/var/tmp/portage/net-libs/nodejs-14.2.0/temp/build.log'
- '/var/tmp/portage/net-libs/nodejs-14.2.0/temp/environment'
attached.

emerge -pqv '=net-libs/nodejs-14.2.0::gentoo'
[ebuild   R   ] net-libs/nodejs-14.2.0  USE="doc icu inspector npm snapshot ssl system-ssl -debug -pax_kernel -systemtap -test" CPU_FLAGS_X86="sse2"
Comment 1 Niels 2020-06-04 12:32:42 UTC
Created attachment 643404 [details]
environment.txt
Comment 2 Niels 2020-06-04 12:33:08 UTC
Created attachment 643406 [details]
emerge_info.txt
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-29 22:21:16 UTC
If this is still an issue, follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide.
Comment 4 Marek Szuba archtester gentoo-dev 2020-12-03 15:09:17 UTC
Closing due to inactivity, go ahead and reopen if this is still a problem.