Summary: | dev-qt/qtwebengine-5.15.2_p20211216 fails to compile on dav1d components | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan de Konink <stefan> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log for gcc |
Description
Stefan de Konink
2022-01-22 20:17:55 UTC
Created attachment 763292 [details]
build.log
[31mFAILED: [0mobj/third_party/dav1d/dav1d/cdf.o /usr/lib/llvm/13/bin/clang -MMD -MF obj/third_party/dav1d/dav1d/cdf.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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONFIG_LOG=0 -DSTACK_ALIGNMENT=32 -DDAV1D_API= -DCONFIG_LOG=0 -DSTACK_ALIGNMENT=32 -DDAV1D_API= -Igen -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/libdav1d -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/libdav1d/include -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/libdav1d/include/dav1d -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/config/linux/x64 -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/version -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/version -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -std=c99 -mpreferred-stack-boundary=5 -D_GNU_SOURCE -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -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 -std=gnu11 -c ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/third_party/dav1d/libdav1d/src/cdf.c -o obj/third_party/dav1d/dav1d/cdf.o clang-13: error: unknown argument: '-mpreferred-stack-boundary=5' How does it fail with GCC? Created attachment 763293 [details]
build.log for gcc
GCC fails on;
[7859/22717] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/v8/v8_compiler/v8_compiler_jumbo_2.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 -I. -Igen -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/v8 -I../../../../qtwebengine-5.15.2_p20211216/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/v8_compiler_jumbo_2.cc -o obj/v8/v8_compiler/v8_compiler_jumbo_2.o
FAILED: obj/v8/v8_compiler/v8_compiler_jumbo_2.o
(In reply to Stefan de Konink from comment #3) > Created attachment 763293 [details] > build.log for gcc > > GCC fails on; > > [7859/22717] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF > obj/v8/v8_compiler/v8_compiler_jumbo_2.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 -I. -Igen > -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium > -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/v8 > -I../../../../qtwebengine-5.15.2_p20211216/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/v8_compiler_jumbo_2.cc -o > obj/v8/v8_compiler/v8_compiler_jumbo_2.o > FAILED: obj/v8/v8_compiler/v8_compiler_jumbo_2.o Error's quite different for GCC: ./../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/v8/src/compiler/simd-scalar-lowering.cc: In function 'int v8::internal::compiler::GetReturnCountAfterLoweringSimd128(const v8::internal::compiler::CallDescriptor*)': ./../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/v8/src/compiler/simd-scalar-lowering.cc:475:37: error: call of overloaded 'GetReturnIndexAfterLowering(const v8::internal::compiler::CallDescriptor*&, int)' is ambiguous 475 | return GetReturnIndexAfterLowering( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 476 | call_descriptor, static_cast<int>(call_descriptor->ReturnCount())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (probably worth filing a separate bug for one of them, maybe the gcc one?) You need to set EXTRA_GN="is_clang=true" in your environment for building with clang, otherwise wrong flags are passed, e.g.: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/third_party/dav1d/BUILD.gn#55 It then fails for me even earlier. [3/23894] /usr/lib/llvm/13/bin/clang -MMD -MF obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.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_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-5035-gd0abc757-3\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -no-canonical-prefixes -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -Wno-implicit-fallthrough -c ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/base/third_party/dynamic_annotations/dynamic_annotations.c -o obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.o FAILED: obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.o /usr/lib/llvm/13/bin/clang -MMD -MF obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.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_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-5035-gd0abc757-3\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -no-canonical-prefixes -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -Wno-implicit-fallthrough -c ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/base/third_party/dynamic_annotations/dynamic_annotations.c -o obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.o error: unable to find plugin 'find-bad-constructs' 1 error generated. (In reply to Stefan de Konink from comment #7) > It then fails for me even earlier. > > [3/23894] /usr/lib/llvm/13/bin/clang -MMD -MF > obj/base/third_party/dynamic_annotations/dynamic_annotations/ > dynamic_annotations.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_GNU_SOURCE > -DCR_CLANG_REVISION=\"llvmorg-12-init-5035-gd0abc757-3\" > -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND > -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen > -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium > -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector > -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option > -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread > -fcolor-diagnostics -fmerge-all-constants -m64 -no-canonical-prefixes -Wall > -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough > -Wunreachable-code -Wthread-safety -Wextra-semi > -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing > -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi > -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion > -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment > -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 > -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 > -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Xclang > -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene > -Wstring-conversion -Wtautological-overlap-compare -std=c11 > -Wno-implicit-fallthrough -c > ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/base/ > third_party/dynamic_annotations/dynamic_annotations.c -o > obj/base/third_party/dynamic_annotations/dynamic_annotations/ > dynamic_annotations.o > FAILED: > obj/base/third_party/dynamic_annotations/dynamic_annotations/ > dynamic_annotations.o > /usr/lib/llvm/13/bin/clang -MMD -MF > obj/base/third_party/dynamic_annotations/dynamic_annotations/ > dynamic_annotations.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_GNU_SOURCE > -DCR_CLANG_REVISION=\"llvmorg-12-init-5035-gd0abc757-3\" > -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND > -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen > -I../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium > -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector > -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option > -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread > -fcolor-diagnostics -fmerge-all-constants -m64 -no-canonical-prefixes -Wall > -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough > -Wunreachable-code -Wthread-safety -Wextra-semi > -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing > -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi > -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion > -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment > -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 > -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 > -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Xclang > -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene > -Wstring-conversion -Wtautological-overlap-compare -std=c11 > -Wno-implicit-fallthrough -c > ../../../../qtwebengine-5.15.2_p20211216/src/3rdparty/chromium/base/ > third_party/dynamic_annotations/dynamic_annotations.c -o > obj/base/third_party/dynamic_annotations/dynamic_annotations/ > dynamic_annotations.o > error: unable to find plugin 'find-bad-constructs' > 1 error generated. Sorry, forgot the plugins, try: EXTRA_GN="is_clang=true clang_use_chrome_plugins=false" (In reply to Stephan Hartmann from comment #8) > Sorry, forgot the plugins, try: > EXTRA_GN="is_clang=true clang_use_chrome_plugins=false" Thanks for your support. Compilation took a while, but is the first time in months this thing compiled. So for clang this works. Allows me to do stuff with pyside again. |