Ruslan Bukin <b...@freebsd.org> writes:

> Modified: head/usr.bin/ldd/ldd.c
> ==============================================================================
> --- head/usr.bin/ldd/ldd.c    Sun Jan 24 15:12:49 2016        (r294664)
> +++ head/usr.bin/ldd/ldd.c    Sun Jan 24 15:15:57 2016        (r294665)
> @@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$");
>  
>  #include "extern.h"
>  
> -/* We don't support a.out executables on arm64 */
> -#ifndef __aarch64__
> +/* We don't support a.out executables on arm64 and riscv */
> +#if !defined(__aarch64__) && !defined(__riscv__)

a.out in userland is only supported by i386. On amd64 it'd mean 32bit jail
after |kldload aout|.

r292623 maybe an example fix if you can ignore whitespace noise.

Attachment: signature.asc
Description: PGP signature

Reply via email to