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

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.