[SeaBIOS] Issues building SeaBIOS with gcc > 4.8
Roger Pau Monné
roger.pau at citrix.com
Wed Jul 6 18:08:13 CEST 2016
On Tue, Jul 05, 2016 at 11:23:36PM +0200, Idwer Vollering wrote:
> 2016-07-05 15:49 GMT+02:00 Roger Pau Monné <roger.pau at citrix.com>:
> > Hello,
> > I'm seeing the following issue when building SeaBIOS with gcc > 4.8:
> > This works fine when using gcc 4.8, but fails in the same way with gcc 5.4.
> > The assembler version used is:
> > GNU assembler version 2.25.1 (x86_64-portbld-freebsd11.0) using BFD version (GNU Binutils) 2.25.1
> > What causes this issue seems to be the usage of the "-m16" gcc flag, which
> > was introduced in gcc 4.9 AFAICT. The following workaround solves the issue,
> > but I would like to know if anyone else has seen this with newer gcc
> > versions, or if the gcc version from FreeBSD ports is broken.
> Are you experiencing issues on hardware too? As in: coreboot.rom for
> the mainboard asus/f2a85-m built on FreeBSD 11.0-ALPHA5 r302302,
> without gcc installed from 'pkg', with the coreboot crossgcc toolchain
> will not boot.
Oh, I'm sorry but I've never used coreboot (or SeaBIOS) on real hardware, I
only use it for Xen, so I cannot provide much feedback. All I can say is
that SeaBIOS compiled with gcc 4.8 from FreeBSD ports works fine inside of
More information about the SeaBIOS