[SeaBIOS] Seabios build failure with gcc 6.2.0 in Debian Sid

Kevin O'Connor kevin at koconnor.net
Fri Nov 4 19:36:31 CET 2016


On Fri, Nov 04, 2016 at 07:06:07PM +0100, Dario Faggioli wrote:
> Hi,
> 
> I'm reporting a build issue that I'm seeing when building Xen's
> userspace tools, when the build process clones and build Seabios, on
> Debian Sid, with gcc '6.2.0 20161019 (Debian 6.2.0-9)'.
> 
> The error looks like this (http://pastebin.com/99cubDZ3):
> 
> make -C seabios-dir all
> make[6]: Entering directory '/home/SOURCES/xen/xen.git/tools/firmware/seabios-dir-remote'
>   Compile checking out/src/stacks.o
> src/stacks.c: Assembler messages:
> src/stacks.c:567: Error: found `(', expected: `)'
> src/stacks.c:567: Error: junk `(%ebp))' after expression
> src/stacks.c:568: Warning: indirect call without `*'
> Makefile:133: recipe for target 'out/src/stacks.o' failed
> make[6]: *** [out/src/stacks.o] Error 1
> make[6]: Leaving directory '/home/SOURCES/xen/xen.git/tools/firmware/seabios-dir-remote'
> /home/SOURCES/xen/xen.git/tools/firmware/../../tools/Rules.mk:218: recipe for target 'subdir-all-seabios-dir' failed
> 
> Seabios folks may be aware of this already, as it looks very similar to
> this:
> https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1463516.html
> 
> And even more to this:
> https://lists.debian.org/debian-gcc/2016/10/msg00147.html
> 
> A colleague of mine (Cc-ed) said in chat that gcc 6.2.1 (don't know on
> what distro) seems to build all fine.

The SeaBIOS build was updated to work around this with commit
99e3316d59.  What version of SeaBIOS are you attempting to build?

-Kevin



More information about the SeaBIOS mailing list