Date: Fri, 08 Dec 2017 15:37:04 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Michal Meloun <melounmichal@gmail.com> Cc: Ian Lepore <ian@freebsd.org>, Mark Millard <markmi@dsl-only.net>, mmel@freebsd.org, Freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: For armv7 (cross build target): multimedia/libvpx depends on the GNU C library function getauxval and so fails to build; so, disable its <sys/auxv.h> expectation? Message-ID: <d13p-qoa7-wny@FreeBSD.org> In-Reply-To: <03a31eff-34e8-be4c-c008-528824fea261@freebsd.org> (Michal Meloun's message of "Fri, 8 Dec 2017 12:46:12 %2B0100") References: <AE704C6E-E686-4EBC-8BB1-A041F2DC647C@dsl-only.net> <wp1z-bvw9-wny@FreeBSD.org> <1512583709.58601.49.camel@freebsd.org> <03a31eff-34e8-be4c-c008-528824fea261@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Michal Meloun <melounmichal@gmail.com> writes: > I don't think that full emulation of getauxval() is best - > the port wants (from memory, incomplete) at least, additionally to > AT_HWCAPS(2) : > > AT_PLATFORM > AT_SECURE > AT_RANDOM > AT_CLKTCK > > I don't think that we want to implement linux compatible platform > strings, nor generate random vector for each program. elf_aux_info() is neither here nor there. I can't use it even for all FreeBSD AT_* values unlike pass-through getauxval() e.g., #if !defined(AT_EXECFN) && defined(AT_EXECPATH) #define AT_EXECFN AT_EXECPATH #endif printf("%s\n", (char *)getauxval(AT_EXECFN));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d13p-qoa7-wny>