[SeaBIOS] Build failure with GCC 6 from Debian Sid/unstable

Paul Menzel paulepanter at users.sourceforge.net
Thu Oct 20 23:58:57 CEST 2016


Dear SeaBIOS folks,


just a note, that due to a regression in GCC 6 in Debian Sid/unstable
[1] the latest master branch [2] does not build.

```
$ make
  Build Kconfig config file
  Compile checking out/src/misc.o
  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: die Regel für Ziel „out/src/stacks.o“ scheiterte
make: *** [out/src/stacks.o] Fehler 1
```

It builds fine with gcc-4.9 and gcc-5.

```
$ make CC=gcc-4.9 -j
$ make CC=gcc-5 -j
```

There is gcc-6 6.2.0-9 out already [3], but it’s not available over the
mirrors yet.


Thanks,

Paul


[1] http://metadata.ftp-master.debian.org/changelogs/main/g/gcc-6/gcc-6_6.2.0-7_changelog
gcc (Debian 6.2.0-7) 6.2.0 20161018
[2] commit 00b0402 (docs: fix various typos and inconsistency)
[3] http://metadata.ftp-master.debian.org/changelogs/main/g/gcc-6/gcc-6_6.2.0-9_changelog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/seabios/attachments/20161020/1f7bab37/attachment.asc>


More information about the SeaBIOS mailing list