Util-Linux package development
 help / color / mirror / Atom feed
* Re: Bug#1042990: util-linux: FTBFS on hppa - #error Unknown target architecture
       [not found] ` <ZMwiib5TVDcXcCR3@mx3210.localdomain>
@ 2023-08-05 19:47   ` Chris Hofstaedtler
  0 siblings, 0 replies; only message in thread
From: Chris Hofstaedtler @ 2023-08-05 19:47 UTC (permalink / raw)
  To: John David Anglin, 1042990; +Cc: util-linux

Hi Dave,

* John David Anglin <dave@parisc-linux.org> [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@vger.kernel.org
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@parisc-linux.org> [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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-05 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <169109718399.27344.6781194558562181818.reportbug@mx3210>
     [not found] ` <ZMwiib5TVDcXcCR3@mx3210.localdomain>
2023-08-05 19:47   ` Bug#1042990: util-linux: FTBFS on hppa - #error Unknown target architecture Chris Hofstaedtler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox