Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924936 - dev-qt/qtwebengine-5.15.12_p20240122 macro-assembler-ppc.cc:1176:58: error: no matching function for call to 'v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState
Summary: dev-qt/qtwebengine-5.15.12_p20240122 macro-assembler-ppc.cc:1176:58: error: n...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-02-18 16:44 UTC by damoju+gentoo
Modified: 2024-03-23 17:18 UTC (History)
5 users (show)

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


Attachments
Emerge's build log (build.log.gz,307.69 KB, application/gzip)
2024-02-18 16:49 UTC, damoju+gentoo
Details
build.log.gz (build.log.gz,240.13 KB, application/gzip)
2024-02-23 14:17 UTC, darkbasic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description damoju+gentoo 2024-02-18 16:44:24 UTC
Emerge dev-qt/qtwebengine-5.15.12_p20240122 fails on ppc64 with error:

[8825/32810] /usr/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.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_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET
_ARCH_PPC64 -DV8_TARGET_ARCH_PPC_LE -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=
uint16_t -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSE_SYSTEM_ZLIB=1 -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8 -I../../../../qtwebe
ngine-5.15.12_p20240122/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwin
d-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-danglin
g-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -mcpu=power8 -maltivec -mvsx -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -g0 -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 ../../../../qtweben
gine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc -o obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o
FAILED: obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o 


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-qt/qtwebengine-5.15.12_p20240122 on ppc64 system

Actual Results:  
Build fails with error:

[8825/32810] /usr/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.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_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET
_ARCH_PPC64 -DV8_TARGET_ARCH_PPC_LE -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=
uint16_t -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSE_SYSTEM_ZLIB=1 -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8 -I../../../../qtwebe
ngine-5.15.12_p20240122/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwin
d-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-danglin
g-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -mcpu=power8 -maltivec -mvsx -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -g0 -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 ../../../../qtweben
gine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc -o obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o
FAILED: obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o 


Expected Results:  
Package emerges correctly.
Comment 1 damoju+gentoo 2024-02-18 16:49:01 UTC
Created attachment 885373 [details]
Emerge's build log
Comment 2 Mike Gilbert gentoo-dev 2024-02-18 18:06:07 UTC
FAILED: obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o
/usr/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.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_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_PPC64 -DV8
_TARGET_ARCH_PPC_LE -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DV8_DEP
RECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSE_SYSTEM_ZLIB=1 -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.12_p202
40122/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -Igen -I../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-async
hronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -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 -fvisibility=hidden -mcpu=power8 -maltivec -mvsx -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -g0 -std=gnu++14 -Wno-narrowing -W
no-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.12_p20240122
/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc -o obj/v8/v8_base_without_compiler/regexp-macro-assembler-ppc.o
In file included from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/runtime/runtime.h:11,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/codegen/external-reference.h:9,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/codegen/assembler.h:45,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/codegen/assembler-arch.h:8,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/codegen/turbo-assembler.h:12,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/codegen/macro-assembler.h:8,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.h:8,
                 from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc:7:
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/base/bit-field.h:42: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas]
   42 |   #pragma clang diagnostic push
      |
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/base/bit-field.h:43: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas]
   43 |   #pragma clang diagnostic ignored "-Wenum-constexpr-conversion"
      |
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/base/bit-field.h:46: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas]
   46 |   #pragma clang diagnostic pop
      |
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc: In static member function 'static int v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState(v8::internal::Address*, v8
::internal::Address, v8::internal::Address)':
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc:1176:58: error: no matching function for call to 'v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState(v8::internal::I
solate*&, long int&, v8::internal::RegExp::CallOrigin, v8::internal::Address*&, v8::internal::Code&, long unsigned int*, const unsigned char**, const unsigned char**)'
 1176 |   return NativeRegExpMacroAssembler::CheckStackGuardState(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1177 |       frame_entry<Isolate*>(re_frame, kIsolate),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1178 |       frame_entry<intptr_t>(re_frame, kStartIndex),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1179 |       static_cast<RegExp::CallOrigin>(
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1180 |           frame_entry<intptr_t>(re_frame, kDirectCall)),
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1181 |       return_address, re_code,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~
 1182 |       frame_entry_address<Address>(re_frame, kInputString),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1183 |       frame_entry_address<const byte*>(re_frame, kInputStart),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1184 |       frame_entry_address<const byte*>(re_frame, kInputEnd));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.h:10:
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/regexp-macro-assembler.h:260:14: note: candidate: 'static int v8::internal::NativeRegExpMacroAssembler::CheckStackGuardState(v8::internal::Isolate*, int, v8::internal::RegExp::CallOrigin, v8::internal::Address*, v8::internal::Code, v8::internal::Address*, const v8::internal::byte**, const v8::internal::byte**, uintptr_t)'
  260 |   static int CheckStackGuardState(Isolate* isolate, int start_index,
      |              ^~~~~~~~~~~~~~~~~~~~
../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/regexp-macro-assembler.h:260:14: note:   candidate expects 9 arguments, 8 provided
Comment 3 darkbasic 2024-02-23 14:17:00 UTC
Created attachment 885815 [details]
build.log.gz

The error I get is this one:

./../../../../qtwebengine-5.15.12_p20240122/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc:1176:58: error: no matching function for call to ‘v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState(v8::internal::Isolate*&, long int&, v8::internal::RegExp::CallOrigin, v8::internal::Address*&, v8::internal::Code&, long unsigned int*, const unsigned char**, const unsigned char**)’

I've attached a build log because I couldn't find the same error in the original one.
Comment 4 darkbasic 2024-02-25 07:29:26 UTC
The old dev-qt/qtwebengine-5.15.12_p20240112 ebuild had the same issue as well:

FAILED: obj/v8/v8_base_without_compiler/v8_base_without_compiler_jumbo_57.o 
/usr/lib/ccache/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/v8/v8_base_without_compiler/v8_base_without_compiler_jumbo_57.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_SHARED_RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_PPC64 -DV8_TARGET_ARCH_PPC_LE -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSE_SYSTEM_ZLIB=1 -I. -Igen -I../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium -I../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/include -Igen/v8 -Igen -Igen -Igen -I../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -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 -fvisibility=hidden -mcpu=power8 -maltivec -mvsx -Wno-strict-overflow -Wno-return-type -O3 -fno-ident -fdata-sections -ffunction-sections -g0 -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/v8_base_without_compiler_jumbo_57.cc -o obj/v8/v8_base_without_compiler/v8_base_without_compiler_jumbo_57.o
In file included from ../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/runtime/runtime.h:11,
                 from ../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/codegen/external-reference.h:9,
                 from ../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/compiler/backend/instruction.h:14,
                 from ./../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/compiler/backend/ppc/unwinding-info-writer-ppc.cc:6,
                 from gen/v8/v8_base_without_compiler_jumbo_57.cc:5:
../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/base/bit-field.h:42: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   42 |   #pragma clang diagnostic push
      | 
../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/base/bit-field.h:43: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   43 |   #pragma clang diagnostic ignored "-Wenum-constexpr-conversion"
      | 
../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/base/bit-field.h:46: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   46 |   #pragma clang diagnostic pop
      | 
In file included from gen/v8/v8_base_without_compiler_jumbo_57.cc:12:
./../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc: In static member function ‘static int v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState(v8::internal::Address*, v8::internal::Address, v8::internal::Address)’:
./../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc:1176:58: error: no matching function for call to ‘v8::internal::RegExpMacroAssemblerPPC::CheckStackGuardState(v8::internal::Isolate*&, long int&, v8::internal::RegExp::CallOrigin, v8::internal::Address*&, v8::internal::Code&, long unsigned int*, const unsigned char**, const unsigned char**)’
 1176 |   return NativeRegExpMacroAssembler::CheckStackGuardState(
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 1177 |       frame_entry<Isolate*>(re_frame, kIsolate),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
 1178 |       frame_entry<intptr_t>(re_frame, kStartIndex),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
 1179 |       static_cast<RegExp::CallOrigin>(
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
 1180 |           frame_entry<intptr_t>(re_frame, kDirectCall)),
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
 1181 |       return_address, re_code,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~                            
 1182 |       frame_entry_address<Address>(re_frame, kInputString),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1183 |       frame_entry_address<const byte*>(re_frame, kInputStart),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1184 |       frame_entry_address<const byte*>(re_frame, kInputEnd));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.h:10,
                 from ./../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/ppc/regexp-macro-assembler-ppc.cc:7:
../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/regexp-macro-assembler.h:260:14: note: candidate: ‘static int v8::internal::NativeRegExpMacroAssembler::CheckStackGuardState(v8::internal::Isolate*, int, v8::internal::RegExp::CallOrigin, v8::internal::Address*, v8::internal::Code, v8::internal::Address*, const v8::internal::byte**, const v8::internal::byte**, uintptr_t)’
  260 |   static int CheckStackGuardState(Isolate* isolate, int start_index,
      |              ^~~~~~~~~~~~~~~~~~~~
../../../../qtwebengine-5.15.12_p20240112/src/3rdparty/chromium/v8/src/regexp/regexp-macro-assembler.h:260:14: note:   candidate expects 9 arguments, 8 provided
Comment 5 darkbasic 2024-02-25 10:04:36 UTC
dev-qt/qtwebengine-5.15.11_p20231120 is the last version that builds on ppc64le.
Comment 6 Andreas Sturmlechner gentoo-dev 2024-02-25 11:47:39 UTC
qtwebengine:5+ppc64 has lost its sole maintainer. It has had a good (nah, bumpy) run over almost 4 years, maybe it is time to let go of it again.
Comment 7 Andreas Sturmlechner gentoo-dev 2024-02-25 11:58:24 UTC
(the original source of these patches also seems dead)
Comment 8 Ionen Wolkens gentoo-dev 2024-02-25 12:10:32 UTC
(In reply to Andreas Sturmlechner from comment #6)
> qtwebengine:5+ppc64 has lost its sole maintainer. It has had a good (nah,
> bumpy) run over almost 4 years, maybe it is time to let go of it again.
Doubt Qt6's webengine is getting ppc64 keywords in any near future too.

On a related note I masked USE=webengine on ppc64le stellarium for both qt5 and qt6 because it's not USE=qt5-webengine to make the distinction. But if keywords get dropped on Qt5 guess it won't matter anymore.
Comment 9 darkbasic 2024-02-25 17:20:12 UTC
> It has had a good (nah, bumpy) run over almost 4 years, maybe it is time to let go of it again.

> Doubt Qt6's webengine is getting ppc64 keywords in any near future too.

I wouldn't be so pessimistic about that: Qt6's webengine uses a more modern Chromium from an era where I helped to maintain the patchset. That Chromium patchset is better maintained and I'm more familiar with its quirks.
I'm planning to have a look at it, I'm mostly waiting for the right use case because right now most software that uses qtwebengine is still in alpha state regarding its Qt6 support.

For sure I'll need some help because I'm no C++ developer.

Later I'll open a PR to fix Chromium 122 which is broken since at least version 120 (last I tested was 117). When things start to break and I can't use my ppc64 machine as my main workstation for web development inevitably it starts a cascade effect of broken packages due to less testing and even less frequent fixes. One more reason to hopefully avoid dropping the ~ppc64 keyword on qtwebengine :)
Comment 10 Ionen Wolkens gentoo-dev 2024-02-25 18:09:48 UTC
(In reply to darkbasic from comment #9)
> > It has had a good (nah, bumpy) run over almost 4 years, maybe it is time to let go of it again.
> 
> > Doubt Qt6's webengine is getting ppc64 keywords in any near future too.
> 
> I wouldn't be so pessimistic about that: Qt6's webengine uses a more modern
> Chromium from an era where I helped to maintain the patchset. That Chromium
> patchset is better maintained and I'm more familiar with its quirks.
> I'm planning to have a look at it, I'm mostly waiting for the right use case
> because right now most software that uses qtwebengine is still in alpha
> state regarding its Qt6 support.
> 
> For sure I'll need some help because I'm no C++ developer.
With qtwebengine:6 it'll likely need rework with every major Qt bump too, qtwebengine:5 had gotten more peaceful given it no longer bump chromium beside some minor/security backports.

Odds are it'll just fall into abandon unless someone is dedicated to keep it working (ideally without waiting too long so can drop old versions with constant CVEs and other problems), and will end up as just extra work to cleanup and users that need to change their habits by losing it.
Comment 11 darkbasic 2024-02-25 18:49:07 UTC
The Chromium 122 PR: https://github.com/gentoo/gentoo/pull/35525
Comment 12 darkbasic 2024-02-25 21:16:27 UTC
> With qtwebengine:6 it'll likely need rework with every major Qt bump too

True, but hopefully the vast majority of the work will be Chromium specific and I need to keep it working anyway. Not sure yet, but I will give it a try for sure once Qt6 gets more widespread.
Comment 13 Larry the Git Cow gentoo-dev 2024-03-23 13:35:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=cd3cd64d1cd2ca1fd2ac71015ea88ecc205fa6ef

commit cd3cd64d1cd2ca1fd2ac71015ea88ecc205fa6ef
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-23 11:05:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-23 11:44:48 +0000

    dev-qt/qtwebengine: drop ~ppc64 keyword and modifications
    
    Bug: https://bugs.gentoo.org/924936
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwebengine/Manifest                        |  2 --
 .../files/qtwebengine-5.15.2-enable-ppc64.patch    | 37 ---------------------
 dev-qt/qtwebengine/metadata.xml                    |  5 ---
 dev-qt/qtwebengine/qtwebengine-5.15.13.9999.ebuild | 38 ++--------------------
 4 files changed, 3 insertions(+), 79 deletions(-)
Comment 14 Larry the Git Cow gentoo-dev 2024-03-23 17:01:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50e0290feb058519b96767bc8cf903b6715a60e

commit e50e0290feb058519b96767bc8cf903b6715a60e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-23 12:34:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-23 16:59:44 +0000

    dev-qt/qtwebengine: 5.15.13 version bump, unkeywording ~arm/~ppc64
    
    Bug: https://bugs.gentoo.org/893234
    Bug: https://bugs.gentoo.org/924936
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwebengine/Manifest                        |   2 +
 .../qtwebengine-5.15.13_p20240322.ebuild           | 244 +++++++++++++++++++++
 2 files changed, 246 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f5e58f70b8fbeeb49805b182fbc001c7a61166

commit d7f5e58f70b8fbeeb49805b182fbc001c7a61166
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-23 13:45:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-23 16:59:23 +0000

    profiles: powerpc/ppc64/64le: Drop -webengine from use.mask
    
    dev-qt/qtwebengine dropped ~ppc64 keyword.
    
    Bug: https://bugs.gentoo.org/924936
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/arch/powerpc/ppc64/64le/use.mask | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)