Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907255 - 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)
Summary: sys-devel/gcc: ICE when building dev-qt/qtwebengine-5.15.9_p20230505 (interna...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-27 19:14 UTC by noldor
Modified: 2023-05-31 03:31 UTC (History)
2 users (show)

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


Attachments
emerge_info (emerge_info.txt,6.50 KB, text/plain)
2023-05-27 19:15 UTC, noldor
Details
build_log (qtwebengine-5.15.9_p20230505_build.log.tar.gz,224.19 KB, application/gzip)
2023-05-29 16:42 UTC, noldor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description noldor 2023-05-27 19:14:13 UTC
qt-webengine crashes with the following error, regardless if I use MAKEOPTS="-j1"or disable jumbo-build:

[7599/33124] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/torque_generated_initializers/base-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/base-tq-csa.cc -o obj/v8/torque_generated_initializers/base-tq-csa.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:699: run_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.15.9_p20230505::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1.emerge dev-qt/qtwebengine-5.15.9_p20230505
2.watch it die with the error posted above
Actual Results:  
[7599/33124] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/torque_generated_initializers/base-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/base-tq-csa.cc -o obj/v8/torque_generated_initializers/base-tq-csa.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:699: run_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/work/qtwebengine-5.15.9_p20230505_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.15.9_p20230505::gentoo failed (compile phase):
 *   emake failed


Expected Results:  
successful compilation.

I have tried with MAKEOPTS="-j1" because it helped in the past with qt-webengine and also with jumbo-build disabled.
Comment 1 noldor 2023-05-27 19:15:16 UTC
Created attachment 862697 [details]
emerge_info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-27 19:20:32 UTC
Please attach the full build.log, compressed if necessary.
Comment 3 Mike Gilbert gentoo-dev 2023-05-29 14:18:07 UTC
Change the status to UNCONFIRMED once the build log has been provided.
Comment 4 noldor 2023-05-29 16:42:40 UTC
Created attachment 862846 [details]
build_log

compressed build.log
Comment 5 noldor 2023-05-29 16:45:52 UTC
Sry for the late respones, wasn't near a pc but I'm back now.
Bug still persists
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-30 20:00:56 UTC
[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
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-30 20:02:02 UTC
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.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-30 21:34:55 UTC
(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
Comment 9 noldor 2023-05-30 22:52:02 UTC
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.
Comment 10 noldor 2023-05-30 22:53:14 UTC
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.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-30 22:54:09 UTC
I think you probably need to do a memtest in that case. I can't reproduce.
Comment 12 noldor 2023-05-30 22:54:54 UTC
Now that I see that the errors are different, this might be hardware-related.
I'll do a mem check.
Comment 13 noldor 2023-05-30 22:55:21 UTC
(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.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-31 03:31:36 UTC
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.)