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/
Home Products Support Community News


Re: [Xen-devel] Inheriting CFLAGS

To: Jan Kundrát <jan.kundrat@xxxxxx>
Subject: Re: [Xen-devel] Inheriting CFLAGS
From: A Streetcar Named <desire@xxxxxxxxx>
Date: Wed, 17 Nov 2004 07:53:05 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxx>, Jerome Brown <guruswami@xxxxxxxxxxxx>
Delivery-date: Wed, 17 Nov 2004 01:52:31 +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=itQq5ZQ96lvfX7pq57r9Tn7jdcb6lSe3g4MD3wdnVKv0Fi+zRjQcUS2hLIKPd36HCwzVKYxMlrj7f3HKy+oJwXUwrFwCHnyCl8fluPDDByfWAOk9bqMhN/Q+aL01a08Hpf4q03RijrCf3TsE3ucvqfSYyzanbTYYHCYOOJEKnVk=
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <200411162232.55362.jan.kundrat@xxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CTpK2-0004af-00@xxxxxxxxxxxxxxxxx> <200411162232.55362.jan.kundrat@xxxxxx>
Reply-to: A Streetcar Named <desire@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Tue, 16 Nov 2004 22:32:55 +0100, Jan Kundrát <jan.kundrat@xxxxxx> wrote:
> 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.

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

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