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

Re: [Xen-devel] problems compiling xen on a crusoe



Please try adding '-nopie' to the 'CFLAGS := ...' in
xen/arch/x86/Rules.mk: 
CFLAGS  := -nopie -nostdinc -fno-builtin -fno-common -fno-strict-aliasing

If that doesn't help then also try adding '-fno-stack-protector' and
'-f-nostack-protector-all'. 

Let me know if this works out and I'll add the required options to the
the repository (may not be because non-PIE/SSP GCCs may barf on the
above command-line options). 

 -- Keir


> gcc (GCC) 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2,
> pie-8.7.6)
> 
> On Sun, 14 Nov 2004 09:45:11 +0000, Keir Fraser
> <keir.fraser@xxxxxxxxxxxx> wrote:
> > 
> > What GCC version are you using (gcc --version)?
> > 
> >  -- Keir
> > 
> > 
> > 
> > > Hi.
> > >
> > > I'm trying to compile Xen 2.0 on a crusoe-powered notebook, but make
> > > world seems to fail when making xen, even before building tools or the
> > > kernel.  This is on a transmeta crusoe 5800 CPU, running Gentoo.
> > >
> > > Any idea what might be wrong?  I have no idea what the error message
> > > below means.
> > >
> > > # make world
> > > make clean
> > > [snip]
> > >  __  __            ____    ___
> > >  \ \/ /___ _ __   |___ \  / _ \
> > >   \  // _ \ '_ \    __) || | | |
> > >   /  \  __/ | | |  / __/ | |_| |
> > >  /_/\_\___|_| |_| |_____(_)___/
> > >
> > > make[3]: Leaving directory `/root/xen/t/xen-2.0/xen'
> > > make -C common
> > > make[3]: Entering directory `/root/xen/t/xen-2.0/xen/common'
> > > gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
> > > -iwithprefix include -Wall -Werror -pipe
> > > -I/root/xen/t/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls
> > > -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c
> > > ac_timer.c -o ac_timer.o
> > > gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
> > > -iwithprefix include -Wall -Werror -pipe
> > > -I/root/xen/t/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls
> > > -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c
> > > dom0_ops.c -o dom0_ops.o
> > > dom0_ops.c: In function `do_dom0_op':
> > > /root/xen/t/xen-2.0/xen/include/asm/mm.h:160: error: can't find a
> > > register in class `BREG' while reloading `asm'
> > > /root/xen/t/xen-2.0/xen/include/asm/mm.h:160: error: can't find a
> > > register in class `BREG' while reloading `asm'
> > > make[3]: *** [dom0_ops.o] Error 1
> > > make[3]: Leaving directory `/root/xen/t/xen-2.0/xen/common'
> > > make[2]: *** [/root/xen/t/xen-2.0/xen/xen] Error 2
> > > make[2]: Leaving directory `/root/xen/t/xen-2.0/xen'
> > > make[1]: *** [xen] Error 2
> > > make[1]: Leaving directory `/root/xen/t/xen-2.0'
> > > make: *** [world] Error 2
> > >
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: InterSystems CACHE
> > > FREE OODBMS DOWNLOAD - A multidimensional database that combines
> > > robust object and relational technologies, making it a perfect match
> > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 
> >



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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