Unsolved How correctly to compile Qt5 to arm64 on Ubuntu 22.04?
-
Host: Ubuntu 20.04 x64
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 43 bits physical, 48 bits virtual CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 32 Model name: AMD Athlon Silver 3050e with Radeon Graphics Stepping: 1 Frequency boost: enabled CPU MHz: 946.324 CPU max MHz: 1400,0000 CPU min MHz: 1000,0000 BogoMIPS: 2794.78 Virtualization: AMD-V L1d cache: 64 KiB L1i cache: 128 KiB L2 cache: 1 MiB L3 cache: 4 MiB NUMA node0 CPU(s): 0-3 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled v ia prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtr r pge mca cmov pat pse36 clflush mmx fxsr sse s se2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtsc p lm constant_tsc rep_good nopl nonstop_tsc cpu id extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm ex tapic cr8_legacy abm sse4a misalignsse 3dnowpre fetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_psta te sme ssbd sev ibpb stibp vmmcall fsgsbase bmi 1 avx2 smep bmi2 rdseed adx smap clflushopt sha _ni xsaveopt xsavec xgetbv1 xsaves clzero irper f xsaveerptr arat npt lbrv svm_lock nrip_save t sc_scale vmcb_clean flushbyasid decodeassists p ausefilter pfthreshold avic v_vmsave_vmload vgi f overflow_recov succor smca
Target: Raspberry Pi 4 with Ubuntu 22.04 x64
Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: ARM Model name: Cortex-A72 Model: 3 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): - Cluster(s): 1 Stepping: r0p3 CPU max MHz: 1800,0000 CPU min MHz: 600,0000 BogoMIPS: 108.00 Flags: fp asimd evtstrm crc32 cpuid Caches (sum of all): L1d: 128 KiB (4 instances) L1i: 192 KiB (4 instances) L2: 1 MiB (1 instance) Vulnerabilities: Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Spec store bypass: Vulnerable Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Vulnerable Srbds: Not affected Tsx async abort: Not affected
Main questions:
- What is the best cross-platform compiler to use for this purpose given the architecture processors? ([https://releases.linaro.org/components/toolchain/binaries/latest-7/](link url))
- In most of the guides,
rsync
is performed between a host on Ubuntu and a target on Raspbian. What directories need to be synchronized if both computers are on Ubuntu? For example, Ubuntu does not/opt/vc
. - What parameters should be input to the ./config command before Qt5 compiling? Is the
-eglfs
option needed?
-
Hi and welcome to devnet,
There are numerous guides about this topic.
I would suggest checking this one which seems to be similar to your setup.