Re: Bug#1042990: util-linux: FTBFS on hppa - #error Unknown target architecture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

* John David Anglin <dave@xxxxxxxxxxxxxxxx> [230803]:
[..]
> The audit architecture defines for hppa are defined in /usr/include/linux/audit.h:
>
> #define AUDIT_ARCH_PARISC       (EM_PARISC)
> #define AUDIT_ARCH_PARISC64     (EM_PARISC|__AUDIT_ARCH_64BIT)
> 
> Please add the architecture defines for hppa to include/audit-arch.h.

could you please forward your patch to util-linux@xxxxxxxxxxxxxxx
including a proper Signed-Off-By line? Then upstream can apply it
and downstreams do not need to carry the same patches over and over
again.

* John David Anglin <dave@xxxxxxxxxxxxxxxx> [230803]:
> Patch.
> 
> Regards,
> Dave Anglin

Thanks,
Chris


> --- ./include/audit-arch.h.save	2023-08-03 20:42:00.937401304 +0000
> +++ ./include/audit-arch.h	2023-08-03 20:53:40.755627981 +0000
> @@ -57,6 +57,12 @@
>  #    else
>  # 	 define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
>  #    endif
> +#elif __hppa__
> +#    if __SIZEOF_POINTER__ == 4
> +# 	 define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC
> +#    else
> +# 	 define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64
> +#    endif
>  #else
>  #    error Unknown target architecture
>  #endif





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux