Util-Linux package development
 help / color / mirror / Atom feed
From: Chris Hofstaedtler <zeha@debian.org>
To: John David Anglin <dave@parisc-linux.org>, 1042990@bugs.debian.org
Cc: util-linux@vger.kernel.org
Subject: Re: Bug#1042990: util-linux: FTBFS on hppa - #error Unknown target architecture
Date: Sat, 5 Aug 2023 21:47:54 +0200	[thread overview]
Message-ID: <ZM6nalLh925rB6Wm@per> (raw)
In-Reply-To: <ZMwiib5TVDcXcCR3@mx3210.localdomain>

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



           reply	other threads:[~2023-08-05 19:48 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <ZMwiib5TVDcXcCR3@mx3210.localdomain>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZM6nalLh925rB6Wm@per \
    --to=zeha@debian.org \
    --cc=1042990@bugs.debian.org \
    --cc=dave@parisc-linux.org \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox