WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]: Implement bzip2 and LZMA loaders / fixed patch for Xen 3.4.1
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sat, 22 Aug 2009 00:22:30 +0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Chris Lalancette <clalance@xxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>
Delivery-date: Fri, 21 Aug 2009 14:22:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090821201200.GW19938@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C6B42D7A.129F7%keir.fraser@xxxxxxxxxxxxx> <C6B431D3.129FE%keir.fraser@xxxxxxxxxxxxx> <20090821201200.GW19938@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
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

<Prev in Thread] Current Thread [Next in Thread>