error: '-mgeneral-regs-only' is incompatible with floating-point code

I use ubuntu22.04 in docker desktop.
uname -a:
Linux 43cf4c604a9c 6.6.36.3-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Sat Jun 29 07:01:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
cross_compiler:
gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
关闭于 2024-08-24 7 条评论