Re: 32-bit executables on aarch64?
Thomas David Rivers <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > armv7# file `which uname` > /usr/bin/uname: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 14.0 (1400005), not stripped > > armv7# uname -apKU > FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 > > (I did both buildworld builds from the same source.) > > There is no lib32 implementation for aarch64. > So, direct execution of code for armv7 FreeBSD > without being in such a chroot is not available. > (I ignore qemu and the like here.) > > === > Mark Millard Ah! So, the kernel _can_ run a 32-bit executable... but we just can't build one on an aarch64 machine... I wonder if I can "cross-build" an LLVM/dcc for armv7 and just cross-compile to get a 32-bit executable that executes on a 64-bit kernel.. perhaps with -static to avoid any runtime problems? - Dave R. - -- [email protected] Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"