[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen 3.4-testing build error
AP writes ("Re: [Xen-devel] xen 3.4-testing build error"): > I am primarily using 4.1 but I still have a couple of servers running > 3.4, so I want to ensure that I can still build that using Ubuntu > 11.10. Thanks for doing this research and reporting back. > On Wed, Oct 19, 2011 at 1:47 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote: > > Recent Ubuntu enabled --as-needed in the linker by default. If you want > > to stick with 3.4 you might need to add --no-as-needed somewhere > > appropriate, 22856:18807b89083d is the temporary fix which we used for > > 4.1. This issue is fixed properly in 4.2. > > Thank you! 22856 did the trick. BTW, I also had to pull in a few more > fixes to get everything to work. I am listing them here in case > someone else runs in to the same issue. The only outstanding problem > is that bringing up a DomU with SDL leaves you with a flickering SDL > window. Using VNC is a workaround for that. > > http://xenbits.xensource.com/hg/xen-4.0-testing.hg/rev/2e78e0ce1f31 > http://xenbits.xensource.com/hg/xen-4.0-testing.hg/rev/e6b5b2cb8146 > http://xenbits.xensource.com/hg/xen-4.0-testing.hg/rev/9c2fdcff3704 I have CC'd Keith Coleman, maintainer of the 3.4 tree. Keith, do you think these might be appropriate for backporting ? (I haven't checked myself ...) Ian. > diff -r 0e3b875fd5fb -r 3a1e98c88825 tools/blktap/lib/blktaplib.h > --- a/tools/blktap/lib/blktaplib.h Fri Sep 30 18:42:30 2011 -0400 > +++ b/tools/blktap/lib/blktaplib.h Wed Oct 19 11:07:22 2011 -0700 > @@ -196,6 +196,7 @@ > } msg_pid_t; > > #define READ 0 > +#undef WRITE > #define WRITE 1 > > http://www.gossamer-threads.com/lists/xen/devel/179690 > diff -r 917e11d767ef -r 0708fba177d8 extras/mini-os/arch/x86/mm.c > --- a/extras/mini-os/arch/x86/mm.c Sun Jul 25 22:22:43 2010 +0100 > +++ b/extras/mini-os/arch/x86/mm.c Wed Oct 19 12:25:52 2011 -0700 > @@ -281,7 +281,7 @@ > /* > * Mark portion of the address space read only. > */ > -extern void shared_info; > +extern char shared_info[PAGE_SIZE]; > static void set_readonly(void *text, void *etext) > { > unsigned long start_address = > diff -r 917e11d767ef -r 0708fba177d8 extras/mini-os/minios.mk > --- a/extras/mini-os/minios.mk Sun Jul 25 22:22:43 2010 +0100 > +++ b/extras/mini-os/minios.mk Wed Oct 19 12:25:52 2011 -0700 > @@ -10,6 +10,7 @@ > DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) > DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline) > DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline > +DEF_CFLAGS += -Wno-uninitialized > DEF_CPPFLAGS += -D__XEN_INTERFACE_VERSION__=$(XEN_INTERFACE_VERSION) > > DEF_ASFLAGS += -D__ASSEMBLY__ > diff -r 917e11d767ef -r 0708fba177d8 extras/mini-os/netfront.c > --- a/extras/mini-os/netfront.c Sun Jul 25 22:22:43 2010 +0100 > +++ b/extras/mini-os/netfront.c Wed Oct 19 12:25:52 2011 -0700 > @@ -25,8 +25,8 @@ > > > > -#define NET_TX_RING_SIZE __RING_SIZE((struct netif_tx_sring *)0, PAGE_SIZE) > -#define NET_RX_RING_SIZE __RING_SIZE((struct netif_rx_sring *)0, PAGE_SIZE) > +#define NET_TX_RING_SIZE __CONST_RING_SIZE(netif_tx, PAGE_SIZE) > +#define NET_RX_RING_SIZE __CONST_RING_SIZE(netif_rx, PAGE_SIZE) > #define GRANT_INVALID_REF 0 > > > Ian. > > > >> > >> Thanks, > >> AP > >> > >> GCC Info > >> -------------- > >> Using built-in specs. > >> COLLECT_GCC=gcc > >> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper > >> Target: x86_64-linux-gnu > >> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro > >> 4.6.1-9ubuntu3' > >> --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs > >> --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr > >> --program-suffix=-4.6 --enable-shared --enable-linker-build-id > >> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > >> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 > >> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu > >> --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin > >> --enable-objc-gc --disable-werror --with-arch-32=i686 > >> --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu > >> --host=x86_64-linux-gnu --target=x86_64-linux-gnu > >> Thread model: posix > >> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@xxxxxxxxxxxxxxxxxxx > >> http://lists.xensource.com/xen-devel > > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |