can't build webengine on linux arm64, error msg: Error: selected processor does not support `xpaclri
Unsolved
QtWebEngine
-
i am building qtwebengine 6.5.3 on ubuntu arm64 machine with g++9, Does anyone know how to fix this
41%] Building CXX object src/webenginequick/ui/CMakeFiles/qtwebenginequickdelegatesplugin.dir/qtwebenginequickdelegatesplugin_autogen/mocs_compilation.cpp.o [ 41%] Building CXX object src/webenginequick/ui/CMakeFiles/qtwebenginequickdelegatesplugin.dir/qtwebenginequickdelegatesplugin_QtWebEngine_ControlsDelegatesPlugin.cpp.o [ 42%] Building CXX object src/webenginequick/ui/CMakeFiles/qtwebenginequickdelegatesplugin.dir/.rcc/qrc_qtwebenginequickdelegatesplugin.cpp.o ninja: warning: premature end of file; recovering [24/22401] CXX obj/base/allocator/partition_allocator/partition_alloc/spinning_mutex.o[ 42%] Linking CXX shared module ../../../qml/QtWebEngine/ControlsDelegates/libqtwebenginequickdelegatesplugin.so [35/2013] CXX obj/base/allocator/partition_allocator/partition_alloc/logging.o[ 42%] Built target qtwebenginequickdelegatesplugin [635/2013] CXX obj/third_party/icu/bundled_icui18n/formattedvalue.o In function ‘const UChar* icu_71::ufmtval_getString_71(const UFormattedValue*, int32_t*, UErrorCode*)’: cc1plus: warning: function may return address of local variable [-Wreturn-local-addr] ../../../3rdparty/chromium/third_party/icu/source/i18n/formattedvalue.cpp:205:19: note: declared here 205 | UnicodeString readOnlyAlias = impl->fFormattedValue->toTempString(*ec); | ^~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics [563/22400] CXX obj/skia/skia_core_and_effects/SkPath.o ../../../3rdparty/chromium/third_party/skia/src/core/SkPath.cpp: In lambda function: ../../../3rdparty/chromium/third_party/skia/src/core/SkPath.cpp:2267:33: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 2267 | auto setComputedConvexity = [=](SkPathConvexity convexity){ | ^ ../../../3rdparty/chromium/third_party/skia/src/core/SkPath.cpp:2267:33: note: add explicit ‘this’ or ‘*this’ capture At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-c++17-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics [617/22400] CXX obj/skia/skia_core_and_effects/SkTaskGroup.o ../../../3rdparty/chromium/third_party/skia/src/core/SkTaskGroup.cpp: In lambda function: ../../../3rdparty/chromium/third_party/skia/src/core/SkTaskGroup.cpp:25:23: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] 25 | fExecutor.add([=] { | ^ ../../../3rdparty/chromium/third_party/skia/src/core/SkTaskGroup.cpp:25:23: note: add explicit ‘this’ or ‘*this’ capture At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-c++17-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics [1611/22400] CXX obj/third_party/icu/bundled_icui18n/formattedvalue.o In function ‘const UChar* icu_71::ufmtval_getString_71(const UFormattedValue*, int32_t*, UErrorCode*)’: cc1plus: warning: function may return address of local variable [-Wreturn-local-addr] ../../../3rdparty/chromium/third_party/icu/source/i18n/formattedvalue.cpp:205:19: note: declared here 205 | UnicodeString readOnlyAlias = impl->fFormattedValue->toTempString(*ec); | ^~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics [1813/2013] CXX obj/base/base/base_jumbo_5.o FAILED: obj/base/base/base_jumbo_5.o /usr/bin/c++ -MMD -MF obj/base/base/base_jumbo_5.o.d -DBASE_IMPLEMENTATION -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLOG_EXPORT= -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I. -Igen -I../../../3rdparty/chromium -I../../../3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../3rdparty/chromium/third_party/abseil-cpp -I../../../3rdparty/chromium/third_party/boringssl/src/include -I../../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../3rdparty/chromium/third_party/icu/source/common -I../../../3rdparty/chromium/third_party/icu/source/i18n -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 -Wno-psabi -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fdata-sections -ffunction-sections -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-deprecated-copy -std=gnu++2a -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/base/base_jumbo_5.cc -o obj/base/base/base_jumbo_5.o {standard input}: Assembler messages: {standard input}:499: Error: selected processor does not support `xpaclri' {standard input}:517: Error: selected processor does not support `xpaclri' {standard input}:3345: Error: selected processor does not support `xpaclri' {standard input}:3365: Error: selected processor does not support `xpaclri' {standard input}:3433: Error: selected processor does not support `xpaclri' {standard input}:3453: Error: selected processor does not support `xpaclri' {standard input}:3521: Error: selected processor does not support `xpaclri' {standard input}:3541: Error: selected processor does not support `xpaclri' [1826/2013] CXX obj/base/base/base_jumbo_6.o ninja: build stopped: subcommand failed.
-
Ubuntu on arm64 is not a supported platform.
It may still work. I'd give gcc-11 a go. -
@Axel-Spoerl i tried gcc-11, still fail
-
Well, as I said, Ubuntu on arm64 is not supported.
-