Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621094 - app-emulation/xen ebuild fails to notify for a required ldflag with USE="efi"
Summary: app-emulation/xen ebuild fails to notify for a required ldflag with USE="efi"
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-07 07:28 UTC by Eric Gisse
Modified: 2017-08-29 11:57 UTC (History)
0 users

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 Eric Gisse 2017-06-07 07:28:31 UTC
The wiki entry on Xen is pretty clear that a specific LDFLAG is required:

"Adds efi boot support, requires LDFLAG -melf_x86_64 for amd64"

...however, if you do NOT consult the wiki and DO NOT add that LDFLAG you will get "interesting" dom0 boot failures with screaming about double faults. 

It would be nice if the required nature of the LDFLAG was either detected directly, or at least added as an ebuild comment for users to see. This cost me a few hours tracing the madness.

Reproducible: Always
Comment 1 ebrombugs 2017-08-29 11:57:07 UTC
I'm trying to get Xen with efi support working, keep getting that double fault error. Adding LDFLAGS="-melf_x86_64" to make.conf did not help.