Summary: | sys-devel/gcc: ICE when building dev-qt/qtwebengine-5.15.9_p20230505 (internal compiler error: in cp_parser_lookup_name, at cp/parser.cc:30474) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | noldor |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | qt, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge_info
build_log |
Description
noldor
2023-05-27 19:14:13 UTC
Created attachment 862697 [details]
emerge_info
Please attach the full build.log, compressed if necessary. Change the status to UNCONFIRMED once the build log has been provided. Created attachment 862846 [details]
build_log
compressed build.log
Sry for the late respones, wasn't near a pc but I'm back now. Bug still persists [31mFAILED: [0mobj/v8/torque_generated_initializers/arraybuffer-tq-csa.o /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_CONCURRENT_MARKING -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Igen -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/v8/torque-generated/src/builtins/arraybuffer-tq-csa.cc -o obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/vector:65, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/include/v8.h:27, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/src/handles/handles.h:10, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/src/execution/messages.h:17, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/src/heap/factory.h:12, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/src/ast/ast-value-factory.h:36, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/src/ast/ast.h:10, from gen/v8/torque-generated/src/builtins/arraybuffer-tq-csa.cc:1: /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_bvector.h: In constructor ‘std::_Bit_const_iterator::_Bit_const_iterator(const std::_Bit_iterator&)’: /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_bvector.h:389:26: internal compiler error: in cp_parser_lookup_name, at cp/parser.cc:30474 389 | : _Bit_iterator_base(__x._M_p, __x._M_offset) { } | ^~~ 0x1bf59fe internal_error(char const*, ...) ???:0 0x69776c fancy_abort(char const*, int, char const*) ???:0 0x7fdb98 c_parse_file() ???:0 0x8f0f35 c_common_parse_file() ???:0 1. Do you get the same error each time? 2. Could you cd into /var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build please, then run: /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_CONCURRENT_MARKING -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Igen -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/v8/torque-generated/src/builtins/arraybuffer-tq-csa.cc -o obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o -save-temps Then search the dir using find for arraybuffer-tq-csa.ii and upload it here. Thanks. (In reply to Sam James from comment #7) > 1. Do you get the same error each time? > 2. Could you cd into > /var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15. > 9_p20230505_build please, then run: sorry, I meant cd into /var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core/release here 1) No, not the same: [3025/33124] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/libyuv/libyuv_internal/compare_win.o.d -DHAVE_JPEG -DLIBYUV_DISABLE_MMI -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_B ITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_SYSTEM_LIBJPEG -Igen -I../../../../qtwebengine-5.15.9_p20230505/src/3r dparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libyuv/include -ffp-contract=fast -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -f PIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-mi ssing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobjec t-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libyuv/source/compare_win.cc -o obj/third_p arty/libyuv/libyuv_internal/compare_win.o [3026/33124] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/libxml/libxml_utils/libxml_utils.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE FILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Igen -I../../../../qtwebe ngine-5.15.9_p20230505/src/3rdparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/src/include -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/linux/include -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-de precated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 - fvisibility=hidden -DLIBXML_STATIC= -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions - fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/chromium/libxml_utils.cc -o obj/third_party/libxml/libxml_utils/libxml_utils.o FAILED: obj/third_party/libxml/libxml_utils/libxml_utils.o /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/libxml/libxml_utils/libxml_utils.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Igen -I../../../../qtwebengine-5.15.9_ p20230505/src/3rdparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/src/include -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/linux/include -Igen -fno-strict-a liasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-decl arations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=h idden -DLIBXML_STATIC= -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvi sibility-inlines-hidden -c ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/chromium/libxml_utils.cc -o obj/third_party/libxml/libxml_utils/libxml_utils.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/string:53, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/chromium/libxml_utils.h:10, from ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/libxml/chromium/libxml_utils.cc:5: /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/basic_string.h: In instantiation of ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’: /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/basic_string.h:4030:12: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/basic_string.h:679:70: internal compiler error: Segmentation fault 679 | : _M_dataplus(_M_local_data(), std::move(__str._M_get_allocator())) | ~~~~~~~~~~~~~~~~~~~~~~^~ 0x1bf59fe internal_error(char const*, ...) ???:0 0x84c322 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool, bool, int) ???:0 0x8148d1 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x81467e tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x823de5 tsubst_tree_list(tree_node*, tree_node*, int, tree_node*) ???:0 0x82409f tsubst_tree_list(tree_node*, tree_node*, int, tree_node*) ???:0 0x814947 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x825769 instantiate_decl(tree_node*, bool, bool) ???:0 0x83ad1b instantiate_pending_templates(int) ???:0 0x734978 c_parse_final_cleanups() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. 2) seems there only exists "ls obj/v8/torque_generated_initializers.ninja" at this stage. e /var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core/release # /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_INTL_SUPPORT -DV8_CONCURRENT_MARKING -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -Igen -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/v8/torque-generated/src/builtins/arraybuffer-tq-csa.cc -o obj/v8/torque_generated_initializers/arraybuffer-tq-csa.o -save-temps x86_64-pc-linux-gnu-g++: warning: ‘-pipe’ ignored because ‘-save-temps’ specified cc1plus: fatal error: opening output file obj/v8/torque_generated_initializers/arraybuffer-tq-csa.ii: No such file or directory compilation terminated. I think you probably need to do a memtest in that case. I can't reproduce. Now that I see that the errors are different, this might be hardware-related. I'll do a mem check. (In reply to Sam James from comment #11) > I think you probably need to do a memtest in that case. I can't reproduce. yep, thanks for your help. No worries. If you end up concluding it's unlikely to be a HW issue, please let us know. (I did try for a while with the same settings to compile the same files and didn't get any issue.) |