Date: Mon, 11 May 2020 14:51:21 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Hans Petter Selasky <hselasky@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r534909 - head/multimedia/webcamd Message-ID: <3686-ab3q-wny@FreeBSD.org> In-Reply-To: <7dxi-bq8n-wny@FreeBSD.org> (Jan Beich's message of "Mon, 11 May 2020 14:39:04 %2B0200") References: <202005111220.04BCKdwW092941@repo.freebsd.org> <7dxi-bq8n-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes: > Hans Petter Selasky <hselasky@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3686-ab3q-wny>