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

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


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxx>
  • From: A Streetcar Named <desire@xxxxxxxxx>
  • Date: Mon, 15 Nov 2004 16:42:33 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 15 Nov 2004 09:17:03 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rBljjFVafbiYn+BfXdcKl/GITLKxvzmEIZzqAQcTo87fJqK3xPO7M4UgFI1KX7Ftmt+wxSYsUvkqtPgSuIMoVVjynuEOyvIKExWmPrw/DKCoZxsiwS71LZOC8z/Km+UQIagNLWcuhB50TzfR+H1cJqgSoGuS5d1bYkE09Xgu/Ac=
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

-nopie fixed the  originally reported error, but I subsequently got
other errors that said something like "undefined reference to
`__guard'" and "undefined reference to `__stack_smash_handler'". 
Adding -fno-stack-protector seems to have solved these as well, and
I'm now compiling the kernels for the crusoe.

Thanks!

On Sun, 14 Nov 2004 15:06:49 +0000, Keir Fraser
<keir.fraser@xxxxxxxxxxxx> wrote:
> 
> 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®.