Qt6.8.3 compilation for arm64 on x86_64 Rockylinux 8.10 host.
-
I was trying to compile Qt6.8.3 for arm64 on x86_64 Rockylinux 8.10 host. The cross compilers which I wanted to use are flaky, kernel and glibc headers are not it sync. So I went on to use podman container approach for arm64 container with qemu-user-static.
I am using configuration options via Makefile(ex: -DQT_BUILD_TESTS=OFF ). I was facing g++: fatal error: Killed signal terminated program cc1plus while compiling obj/third_party/distributed_point_functions/internal/evaluate_prg_hwy.o.
I has 16 cores, 64GB RAM and created 128GB swap space.
Can someone help me in having minimal feature set to compile Qt from source in this way?
The features I needed are Qt6{Core,DBus,Gui,Network,OpenGL,WebEngineCore,WebEngineWidgets,WebChannel,Positioning,Quick,QuickWidgets,Widgets,PrintSupport,Sql,QmlMeta,QmlModels,QmlWorkerScript,Qml,XcbQpa}.so