Simon Horman
2009-Mar-23 22:24 UTC
[Xen-devel] qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional"
Hi, I am seeing the following build problem on x86_64 in the current HEAD (c6cca375a2fc681726b7c1e0e37dbc0a4f354032 "More stubdom build fixes"). The problem seems to have been introduced by (c78b0e0b65d65d0f84b1027344667366064a0a6b "passthrough: make management of PCI D-states by guest optional". AR i386-dm/libqemu.a LINK i386-dm/qemu-dm pass-through.o: In function `register_real_device'': /home/horms/projects/xen/hg/xen-unstable.hg/tools/ioemu-dir/hw/pass-through.c:3655: undefined reference to `direct_pci_power_mgmt'' collect2: ld returned 1 exit status direct_pci_power_mgmt does exist in ./xenstore.c, but I guess that ./xenstore.o isn''t being linked in at this point, possibly because its in the parent directory of hw/pass-through.c -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kouya Shimura
2009-Mar-24 00:36 UTC
Re: [Xen-devel] qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional"
Hi Simon, I have no problem here. See the attached log of "touch xenstore.c; make -n". xenstore.o is certainly linked. Thanks, Kouya Simon Horman writes:> Hi, > > I am seeing the following build problem on x86_64 in the > current HEAD (c6cca375a2fc681726b7c1e0e37dbc0a4f354032 > "More stubdom build fixes"). The problem seems to > have been introduced by (c78b0e0b65d65d0f84b1027344667366064a0a6b > "passthrough: make management of PCI D-states by guest optional". > > AR i386-dm/libqemu.a > LINK i386-dm/qemu-dm > pass-through.o: In function `register_real_device'': > /home/horms/projects/xen/hg/xen-unstable.hg/tools/ioemu-dir/hw/pass-through.c:3655: > undefined reference to `direct_pci_power_mgmt'' > collect2: ld returned 1 exit status > > direct_pci_power_mgmt does exist in ./xenstore.c, > but I guess that ./xenstore.o isn''t being linked in at this point, > possibly because its in the parent directory of hw/pass-through.c > > -- > Simon Horman > VA Linux Systems Japan K.K., Sydney, Australia Satellite Office > H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en > > > _______________________________________________ > 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
Ian Jackson
2009-Mar-24 11:11 UTC
[Xen-devel] Re: qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional"
Simon Horman writes ("qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional""):> pass-through.o: In function `register_real_device'': > /home/horms/projects/xen/hg/xen-unstable.hg/tools/ioemu-dir/hw/pass-through.c:3655: > undefined reference to `direct_pci_power_mgmt'' > collect2: ld returned 1 exit statusLike Kouya Shimura, I don''t see this problem. Perhaps you have some clock skew or something which is tricking make into not rebuilding xenstore.c ? I would suggest trying a clean rebuild. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Simon Horman
2009-Mar-24 23:18 UTC
[Xen-devel] Re: qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional"
On Tue, Mar 24, 2009 at 11:11:19AM +0000, Ian Jackson wrote:> Simon Horman writes ("qemu-xen: build problem with chang-set "passthrough: make management of PCI D-states by guest optional""): > > pass-through.o: In function `register_real_device'': > > /home/horms/projects/xen/hg/xen-unstable.hg/tools/ioemu-dir/hw/pass-through.c:3655: > > undefined reference to `direct_pci_power_mgmt'' > > collect2: ld returned 1 exit status > > Like Kouya Shimura, I don''t see this problem. Perhaps you have some > clock skew or something which is tricking make into not rebuilding > xenstore.c ? I would suggest trying a clean rebuild.Sorry for the noise. I took your suggestion and double checked that the tree was clean. It is building fine now. -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel