Summary: | app-emulation/xen-tools-3.4.2 fails to build with gcc 4.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Xen Devs <xen> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 296658 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2010-06-11 12:04:22 UTC
Created attachment 234935 [details]
Build log
gcc -fno-strict-overflow -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .subdir-all-xenstore.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .xenstore_control.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -I. -I../../tools/libxc -I../../tools/include -c -o xenstore_control.o xenstore_control.c cc1: warnings being treated as errors xs_lib.c: In function âxs_perm_to_stringâ: xs_lib.c:159:2: error: case value â3â not in enumerated type âconst enum xs_perm_typeâ make[2]: *** [xs_lib.opic] Error 1 So the -Werror has returned. Sigh :) Version 3.4.3 seems to contain a fix (cast to int) for this. Xen 4.1 in tree. Please test with it and reopen if it doesnt work |