[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 #1 from hector.sanchez@xxxxxxxxx 2007-11-19 08:40 ------- Created an attachment (id=698) --> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=698&action=view) Proposal for a patch for this bug in xc_core.c compilling xen tools. Hello, First, excuse me for my bad English, and then, and then send you a proposal for a patch to fix the problem compiling xen-3.1.0. whith any gcc. Try the patch and check whether the problem has been solved. I have a AMD64x2, and has allowed me to compile and operate normally. The error compiling: ... -I../xenstore -Wp,-MD,.xc_core.o.d -c -o xc_core.o xc_core.c cc1: warnings being treated as errors xc_core.c: In function â??xc_core_shdr_getâ??: xc_core.c:195: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false make[4]: *** [xc_core.o] Error 1 make[4]: Leaving directory `/usr/src/xen-3.1.0-src/tools/libxc' ... In file xen-src/tools/libxc/xc_core.c line:195 if SHDR_INC is a positive number, this sentence always will be false, so I deleted this lines. if ( sheaders->num_max + SHDR_INC < sheaders->num_max ) { errno = E2BIG; return NULL; } I hope that this patch helpful. BYE!! -- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |