[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH]: Implement bzip2 and LZMA loaders / fixed patch for Xen 3.4.1



On Fri, Aug 21, 2009 at 11:12:00PM +0300, Pasi Kärkkäinen wrote:
> On Fri, Aug 21, 2009 at 11:13:23AM +0100, Keir Fraser wrote:
> > On 21/08/2009 10:54, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:
> > 
> > >> Good point. pvgrub should support these aswell.
> > >> 
> > >> Keir: Would you like to add those libs to stubdom?
> > >> 
> > >> (Note the lzma.h is coming from that "xz" package..)
> > > 
> > > No. :-) But feel free to make a patch! You'll just need to modify
> > > libxc/Makefile too to force those libs on instead of off, as well as
> > > download and build the libs of course.
> > 
> > Actually I just checked in c/s 20105 to get rid of the minios-specific hack
> > in that Makefile. So all you need to do is patch to download and build the
> > libs. If you make a patch, I will arrange for the lib tarballs to be hosted
> > on xenbits and adjust the patch URLs appropriately.
> > 
> 
> I can now see why you didn't want to do that.. :) I managed to get the libs 
> to 
> compile, but now I'm having other problems..
> 
> "make stubdom" gets to the point where it compiles ioemu-stubdom, but it 
> fails 
> to link because xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os.o has 
> undefined references in xc_try_bzip2_decode and xc_try_lzma_decode 
> functions.. 
> 
> I guess only pvgrub would need to have this stuff in? I've been trying to
> figure out how the makefile magic works, but haven't really understood it yet.
> 
> Any tips how to make ioemu-stubdom compile/link without including bzip2/lzma 
> stuff into it? 
> 

Actually I guess I could add the missing libs to extras/mini-os/Makefile to
APP_LDLIBS to get them included into ioemu-stubdom?

Is that the right way to do it?

-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.