Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bm2UJ-0000Nl-Rw for mharc-grub-devel@gnu.org; Mon, 19 Sep 2016 13:36:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm2UF-00007h-8m for grub-devel@gnu.org; Mon, 19 Sep 2016 13:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm2MQ-00085K-Vr for grub-devel@gnu.org; Mon, 19 Sep 2016 13:28:09 -0400 Received: from b.painless.aa.net.uk ([81.187.30.52]:35629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm2MQ-00084z-QK for grub-devel@gnu.org; Mon, 19 Sep 2016 13:28:06 -0400 Received: from 3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.1.b.e.2.f.f.b.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:bff2:eb14::3] helo=riva.pelham.vpn.ucam.org) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1bm2MO-0000Kd-P5 for grub-devel@gnu.org; Mon, 19 Sep 2016 18:28:05 +0100 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bm2ML-0008GD-7C for grub-devel@gnu.org; Mon, 19 Sep 2016 18:28:01 +0100 Date: Mon, 19 Sep 2016 18:28:00 +0100 From: Colin Watson To: grub-devel@gnu.org Subject: Xen and all_video.mod Message-ID: <20160919172800.GB13998@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.187.30.52 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 17:36:14 -0000 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]