grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Xen and all_video.mod
@ 2016-09-19 17:28 Colin Watson
  2016-09-20  3:46 ` Andrei Borzenkov
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Watson @ 2016-09-19 17:28 UTC (permalink / raw)
  To: grub-devel

Current master fails like this when configured with --with-platform=xen
and using binutils 2.27:

  TARGET_OBJ2ELF= sh genmod.sh moddep.lst all_video.module build-grub-module-verifier all_video.mod
  build-grub-module-verifier: error: no symbol table and no .moddeps section.
  Makefile:42584: recipe for target 'all_video.mod' failed

There's no video driver configured for Xen in
grub-core/Makefile.core.def, so this makes a certain amount of sense:
it's an empty module with no dependencies, which is what
67dba97e4598eaf2deb14da044fbfb1c119cf76f purports to prevent.  On the
other hand, that does make Xen unbuildable at least with some binutils
versions (2.26.1 seems to work fine; more specifically, I can build
--with-platform=xen on Ubuntu xenial but not on Debian unstable).  I
considered just adding the cirrus driver for Xen to pacify this, but
that uses PCI symbols that aren't built for Xen at the moment.

What's the best answer here?  Is there some reasonable way to weaken
this test so that this module is allowed to be useless on this platform?

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-20  3:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 17:28 Xen and all_video.mod Colin Watson
2016-09-20  3:46 ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).