Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512020 - sys-firmware/seabios-1.7.4: Is the toolchain warning still valid?
Summary: sys-firmware/seabios-1.7.4: Is the toolchain warning still valid?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 10:05 UTC by Fabian Henze
Modified: 2014-08-04 09:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Henze 2014-06-01 10:05:41 UTC
I intended to build seabios with USE="-binary" and was greeted with the following warning:
 * You have decided to compile your own SeaBIOS. This is not
 * supported by upstream unless you use their recommended
 * toolchain (which you are not).
 * 
 * If you are intending to use this build with QEMU, realize
 * you will not receive any support if you have compiled your
 * own SeaBIOS. Virtual machines subtly fail based on changes
 * in SeaBIOS.

Is that warning still valid in 2014? I could not find anything in the seabios documentation that specifically requires a certain toolchain.
If it is, could you add a link to the relevant documentation to the elog warning?

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2014-08-04 02:34:09 UTC
yes, overall it's an issue because the output has to be byte-for-byte exact.  if even one byte changes, you can see weird behavior wrt VM migration/resumes.  this is why we default to using the precompiled binary everywhere -- try to maximize the chance that things "just work".

note that a lot of the code is assembly/low level C, and it's only used as the BIOS at boot, so applying your own optimization levels won't realistically make a lick of a difference.  it also won't help with things like hardening because those apply only to userland software (`ls` and such), not to OS software (BIOS, kernel, etc...).
Comment 2 Fabian Henze 2014-08-04 09:16:48 UTC
My intention was to apply a patch