From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 447C55A026A for ; Wed, 16 Nov 2022 06:19:50 +0100 (CET) Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4NBrvl5lgMz4xZZ; Wed, 16 Nov 2022 16:19:47 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1668575987; bh=3yDM8ylXubl0lqjY/XdepbmD/6XXRUA2X6Jz5KOUf9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=coFAXtuendX9ZsjCQ4hEV3DJt9Lx35DNOueXCN0mdFtsdB5VrrlHQMtvs+iU9bNlD xEiJKzRJZBDkrW/JjhPszFXfk/JNMLC5NvaAV6DglfFK85iHqdUJ0oUMOYte8Q7szc xCbxlse5zWzaS0Lvy6YRCmFhGpayWkz0gp+r87TM= Date: Wed, 16 Nov 2022 16:14:27 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 3/8] Makefile: It's AUDIT_ARCH_MIPSEL64, not AUDIT_ARCH_MIPS64EL Message-ID: References: <20221115012349.2240096-1-sbrivio@redhat.com> <20221115012349.2240096-4-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pehXL72JA9jBUo/A" Content-Disposition: inline In-Reply-To: <20221115012349.2240096-4-sbrivio@redhat.com> Message-ID-Hash: UVUUNDX7FHWWIKPCE3DKPMRDN2GMVJKF X-Message-ID-Hash: UVUUNDX7FHWWIKPCE3DKPMRDN2GMVJKF X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --pehXL72JA9jBUo/A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 15, 2022 at 02:23:44AM +0100, Stefano Brivio wrote: > On mips64el, gcc -dumpmachine correctly reports mips64el as > architecture prefix, but for some reason seccomp.h defines > AUDIT_ARCH_MIPSEL64 and not AUDIT_ARCH_MIPS64EL. Mangle AUDIT_ARCH > accordingly. >=20 > Build error spotted in Debian's buildd logs from Loongson build. >=20 > Signed-off-by: Stefano Brivio Reviewed-by: David Gibson > --- > Makefile | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/Makefile b/Makefile > index f0b8e1d..95b49ac 100644 > --- a/Makefile > +++ b/Makefile > @@ -25,6 +25,7 @@ AUDIT_ARCH :=3D $(shell echo $(TARGET_ARCH) | tr [a-z] = [A-Z] | sed 's/^ARM.*/ARM/' > AUDIT_ARCH :=3D $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/') > AUDIT_ARCH :=3D $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/') > AUDIT_ARCH :=3D $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/') > +AUDIT_ARCH :=3D $(shell echo $(AUDIT_ARCH) | sed 's/MIPS64EL/MIPSEL64/') > =20 > FLAGS :=3D -Wall -Wextra -pedantic -std=3Dc99 -D_XOPEN_SOURCE=3D700 -D_G= NU_SOURCE > FLAGS +=3D -D_FORTIFY_SOURCE=3D2 -O2 -pie -fPIE --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --pehXL72JA9jBUo/A Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoULxWu4/Ws0dB+XtgypY4gEwYSIFAmN0cYYACgkQgypY4gEw YSLWmQ/8D/6DeoxLfcoRRWTRqTPxpqAV7Sy/RYvEg8Z/aZtOPeLq7Fbvy/mkBHP6 Saks08dqXgnQS58g5ayLWVB2wDGWMX+Gbr2Q/8LC04K7UvM39AJjL2NFBnty1kgN 0tX8OwpTCFTB67Y2ISaGGTTOPfk95Sqv4Nzzc0SkHUwdQdnvs472kanEPx1y9+Ax v9y62ebK02hhT8s+bAWV+oLq08eAS7PpqhK9LhHuMh/yELDoH1XtgemkQdwpbndb pCzN1QIGuzsfdCgkJmrDQUQn4DfN5TuTgSQcTX8LDxORNpbsXlo7MF2CF5XeaU9q YIy43LuVifCbE5/MQonEqdbj4mXvvn3eBK+VQfMNuuFum3hW3xqFyWXKwmXuDqQp XEay8P/i00xCkLtAKySI6A2AEIM8gi7KJoYl+cdlnxtLXmxvVahFdW34Gw7Pv0HK xaoy/A/ErMK1VwnLHkxN+Sw/3rMjnPOO3Q881NOk0PZJIAV4mFPGHST2j8IJWEDI A/KfSm4aYHvo2RMdNkDijSIa3Dm4NrYQlhxEoEqZywOdK42dHopVRRxyv/1IWiEF M+TBODu2rVoNhFjg6+i+XDUN1bMzuYYMfekvEKv8qxz1l0221jrDgV+/KMcnzUSG q6q/Uz5igZLfDZ7+GhqC6y9UG3Z5A7hz2k5ZZBMrKzbnkPpR+B0= =aZlE -----END PGP SIGNATURE----- --pehXL72JA9jBUo/A--