GNU bug report logs - #60719
openbios-qemu-ppc fails to build on aarch64

Previous Next

Package: guix;

Reported by: Andrew Patterson <andrewpatt7 <at> gmail.com>

Date: Tue, 10 Jan 2023 23:03:02 UTC

Severity: normal

Done: Andrew Patterson <andrewpatt7 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 60719 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Patterson <andrewpatt7 <at> gmail.com>
To: 60719 <at> debbugs.gnu.org, rekado <at> elephly.net
Subject: Re: bug#60719: Acknowledgement (openbios-qemu-ppc fails to build on
 aarch64)
Date: Mon, 16 Jan 2023 23:12:23 -0500
From altogether too much searching around with gcc -M, it looks 
like the problem is that openbios has in its include directory an 
asm/types.h.  Because things added to the header search path by -I 
shadow system headers and are global, this replaces the 
<asm/types.h> that <asm/sigcontext.h> relies on, causing the 
error.  On aarch64, <bits/sigcontext.h> (which I think <signal.h> 
includes?) imports <asm/sigcontext.h>, so the whole thing fails to 
build.  On x86_64, <bits/sigcontext.h> does not import 
<asm/sigcontext.h>, so this whole problem never occurs.

I don't know how to fix this on guix's end, but I guess I now need 
to complain to upstream and hope they can work out a fix.

(I have a newfound hatred of #include.)
-- 
Andrew Patterson




This bug report was last modified 2 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.