Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1062] Incomplete build Xen 3.1 with GCC 4.2

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1062] Incomplete build Xen 3.1 with GCC 4.2
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 19 Nov 2007 19:40:42 -0800
Delivery-date: Mon, 19 Nov 2007 19:41:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-1062-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1062





------- Comment #3 from yamahata@xxxxxxxxxxxxx  2007-11-19 19:40 -------
(In reply to comment #2)
> Created an attachment (id=699)
 --> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=699&action=view) 
[edit]
> a patch to fix a compilation error of xc_core.c

The patch tries to fix the error.
Probably the compilation error is caused by the option "-fstrict-overflow"
However the if statement is unsigned arithmetic (uint16_t) and there's
a similar arithmetic in xc_core_strtab_get() which gcc-4.2 doesn't complain.
So I'm not sure whether we should fix the another similar overflow checks which 
gcc-4.2 doesn't complain.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

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