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] [PATCH] compile with -funit-at-a-time option of gcc

To: aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] compile with -funit-at-a-time option of gcc
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 30 Jun 2005 09:02:04 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Jun 2005 07:56:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff0506292153145a42ef@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9cde8bff0506292153145a42ef@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 30 Jun 2005, at 05:53, aq wrote:

This patch makes xen compiled with gcc option -funit-at-a-time if
supported. This option is available for gcc 3.4 and upward, which
reduces the .text binary size considerably.

This option is the default for -O2 and above in gcc4 anyway. It might explain why I end up with a buggy Xen when I build with gcc4 (Linux has had a number of problems with -funit-at-a-time, because odf extra stack usage and code reordering).

 -- Keir

Xen-devel mailing list