svn commit: r534909 - head/multimedia/webcamd

Jan Beich jbeich at FreeBSD.org
Mon May 11 12:51:25 UTC 2020


Jan Beich <jbeich at FreeBSD.org> writes:

> Hans Petter Selasky <hselasky at FreeBSD.org> writes:
>
>> -.include <bsd.port.options.mk>
>> -
>> -.if ${ARCH} == amd64 || ${ARCH} == aarch64
>> -OPTIONS_DEFAULT+=	COMPAT32
>> -.endif
>> +#
>> +# 32-bit compatibility support is mostly useful for
>> +# platforms using 32-bit applications:
>> +#
>> +OPTIONS_DEFINE_amd64=		COMPAT32
>> +OPTIONS_DEFINE_aarch64=		COMPAT32
>> +OPTIONS_DEFAULT_amd64=		COMPAT32
>> +OPTIONS_DEFAULT_aarch64=	COMPAT32
>
> 32-bit applications are *not supported* on FreeBSD aarch64 because:
> - https://svnweb.freebsd.org/changeset/base/343004 only exists on -CURRENT
> - LIB32 is in BROKEN_OPTIONS, see /usr/src/share/mk/src.opts.mk

FWIW, I've tried running static binaries but still no joy.

local-130armv7 $ echo 'int main() {}' >a.c
local-130armv7 $ cc -static a.c

$ scp a.out ref13-aarch64.freebsd.org:
$ ssh ref13-aarch64.freebsd.org

ref13-aarch64% ./a.out
ELF binary type "9" not known.
Exec format error
ref13-aarch64% file a.out
a.out: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), statically linked, for FreeBSD 13.0 (1300093), FreeBSD-style, with debug_info, not stripped
ref13-aarch64% sysctl kern.osreldate
kern.osreldate: 1300093


More information about the svn-ports-head mailing list