Float ABI confusion for armv7
- Reply: Warner Losh : "Re: Float ABI confusion for armv7"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Aug 2023 13:51:24 UTC
Has something changed in llvm to cause soft float to be the default for armv7? I am cross-compiling using poudriere on a 64 bit ARM host to target armv7. This used to work. After updating my jail (poudriere jail -u -msrc=...) I get an unnecessarily mysterious failure building pkg. Poudriere erases the evidence, poudriere -i does not work as advertised, pkg's configure script spawns subshells to prevent set -x from working, and the subshell directs error messages to /dev/null. After getting past all that, # cc -target armv7-freebsd -o /tmp/a.out autosetup/jimsh0.c in the pkg source directory results in undefined symbols such as __eqdf2. # cc -target armv7-freebsd-gnueabihf -o /tmp/a.out autosetup/jimsh0.c works fine. # cc -v FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin