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] Inheriting CFLAGS

> > CFLAGS  := -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
> > CFLAGS  += -iwithprefix include -Wall -Werror -pipe
> > CFLAGS  += -I$(BASEDIR)/include -Wno-pointer-arith -Wredundant-decls
> > 
> > ifeq ($(optimize),y)
> > CFLAGS  += -O3 -march=pentium2 -pipe -fomit-frame-pointer
> 
> It looks like the ebuild changed the last line above to that (I assume
> your CFLAGS env variable is -O3 -march=pentium2 -pipe).  I didn't use
> the ebuild, so I had the default line of CFLAGS  += -O3
> -fomit-frame-pointer, and found that I had to add -nopie and
> -fno-stack-protector to compile xen.

maybe, there's some sed stuff in the ebuild

> Perhaps -march=pentium2 fixed it for you?  Or perhaps those were just
> somethings special I had to do on the crusoe?!?

who knows ;-)

j.



-------------------------------------------------------
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

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