Jetson Orin Qt源码编译不支持指令集

我在Jetson orin上使用源码编译Qt6最新版本,使用的g+±10编译报错

[8230/11513] Running ninja for QtWebEngineCore in /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64
ninja: Entering directory `/home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64'
[84/30831] CXX obj/base/allocator/partition_allocator/allocator_base/stack_trace.o
FAILED: obj/base/allocator/partition_allocator/allocator_base/stack_trace.o
/usr/bin/c++ -MMD -MF obj/base/allocator/partition_allocator/allocator_base/stack_trace.o.d -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 -DIS_PARTITION_ALLOC_IMPL -Igen -I../../../../../../qtwebengine/src/3rdparty/chromium -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 -mbranch-protection=standard -fno-omit-frame-pointer -g0 -fvisibility=hidden -O3 -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 -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../../qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace.cc -o obj/base/allocator/partition_allocator/allocator_base/stack_trace.o
{standard input}: Assembler messages:
{standard input}:41: 错误: selected processor does not support `xpaclri'
{standard input}:59: 错误: selected processor does not support `xpaclri'
{standard input}:142: 错误: selected processor does not support `xpaclri'
{standard input}:156: 错误: selected processor does not support `xpaclri'
{standard input}:201: 错误: selected processor does not support `xpaclri'
{standard input}:247: 错误: selected processor does not support `xpaclri'
{standard input}:258: 错误: selected processor does not support `xpaclri'
{standard input}:287: 错误: selected processor does not support `xpaclri'
{standard input}:332: 错误: selected processor does not support `xpaclri'
{standard input}:352: 错误: selected processor does not support `xpaclri'
{standard input}:420: 错误: selected processor does not support `xpaclri'
{standard input}:433: 错误: selected processor does not support `xpaclri'
[97/30831] CXX obj/base/allocator/partition_allocator/allocator_core/partition_root.o
ninja: build stopped: subcommand failed.
[8322/11513] Building CXX object qtgrpc/src/protobuf/CMakeFiles/Protobuf.dir/qprotobufserializer.cpp.o
FAILED: qtwebengine/src/core/Release/aarch64/QtWebEngineCore.stamp qtwebengine/src/core/Release/aarch64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp qtwebengine/src/core/Release/aarch64/QtWebEngineCore /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64/QtWebEngineCore.stamp /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64/QtWebEngineCore
cd /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core && /usr/bin/ninja -C /home/zhou/Downloads/Qt/qt-everywhere-src-6.7.0/build/qtwebengine/src/core/Release/aarch64 QtWebEngineCore
[8336/11513] Building CXX object qttools/src/designer/src/lib/CMakeFiles/Designer.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.

如何解决

CPU不支持xpaclri指令,可能需要你自行修改QT源码