[SeaBIOS] [PATCH] buildversion.h: use the last git commit as timesource if tree is clean

Gerd Hoffmann kraxel at redhat.com
Tue Jun 9 10:48:00 CEST 2015


  Hi,

> > How about (calculating and?) showing a simple checksum of the binary
> > at runtime instead?

> If someone can submit a patch that provides decent information on the
> toolchain then I'm certainly open to using it instead.  The toolchain
> is quite varied though (binutils, gcc, make, shell, python, etc.) so
> it's not an easy task.

Most problems come from gcc & binutils though, so
  "gcc --version | head -n 1"
and
  "ld --version | head -n 1"
would be a good start.

> A checksum doesn't help me - it can demonstrate something is different
> in the toolchain, but gives no clue on what is different.

Indeed, I'd include the plain strings.  Then probably print at
debuglevel 1 so they don't clutter the screen but are in the logs.

cheers,
  Gerd





More information about the SeaBIOS mailing list