Dave McCracken
2010-Apr-30 19:34 UTC
[Xen-devel] Error building current Linux git tree without configuring Xen
I tried to build a Linux kernel from current git sources without specifying any form of Xen. I got these three undefined symbols: xen_register_gsi xen_teardown_msi_dev xen_setup_msi_irqs I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the case where CONFIG_XEN is not set, and got a working kernel. They''re also defined as dummy functions higher in the file under #else clauses for other config variables. I assume we don''t want the dummy functions defined multiple times, but I''m not sure the cleanest solution. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-May-03 18:27 UTC
Re: [Xen-devel] Error building current Linux git tree without configuring Xen
On Fri, Apr 30, 2010 at 02:34:26PM -0500, Dave McCracken wrote:> > I tried to build a Linux kernel from current git sources without specifyingWhich branch is that? Can you do ''git log'' and tell me what is the latest you see?> any form of Xen. I got these three undefined symbols: > > xen_register_gsi > xen_teardown_msi_dev > xen_setup_msi_irqs > > I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the > case where CONFIG_XEN is not set, and got a working kernel. They''re alsoThere was a patch that fixed this floating around. Don''t think Jeremy had a chance to check in it.. Here is the thread: http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00785.html> defined as dummy functions higher in the file under #else clauses for other > config variables. I assume we don''t want the dummy functions defined multiple > times, but I''m not sure the cleanest solution.Something along these lines: http://lists.xensource.com/archives/html/xen-devel/2010-04/msg01133.html But not sure if it has been completly flushed out.> > Dave McCracken > Oracle Corp. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dave McCracken
2010-May-03 19:58 UTC
Re: [Xen-devel] Error building current Linux git tree without configuring Xen
On Monday 03 May 2010, Konrad Rzeszutek Wilk wrote:> On Fri, Apr 30, 2010 at 02:34:26PM -0500, Dave McCracken wrote: > > > > I tried to build a Linux kernel from current git sources without > > specifying > > Which branch is that? Can you do ''git log'' and tell me what is the > latest you see?Hmm... I''m not using any branch, so the mainline of git://git.kernel.org/.../jeremy/xen.git . It looks like real development is happening on other branches. Should I be using one of them for testing and submitting new patches? I see xen/next and xen/core as possible choices.> > any form of Xen. I got these three undefined symbols: > > > > xen_register_gsi > > xen_teardown_msi_dev > > xen_setup_msi_irqs > > > > I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for > > the case where CONFIG_XEN is not set, and got a working kernel. They''re > > also > > There was a patch that fixed this floating around. Don''t think Jeremy > had a chance to check in it..Ok. I just wanted to make sure it''s a known problem and a fix is in progress. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel