Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287539 Details for
Bug 383977
app-emulation/xen-tools-3.4.2-r1 fails to compile with gcc-4.5.3-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xen-tools-3.4.2-werror-idiocy.patch
xen-tools-3.4.2-werror-idiocy.patch (text/plain), 9.09 KB, created by
Ian Delaney (RETIRED)
on 2011-09-23 18:27:45 UTC
(
hide
)
Description:
xen-tools-3.4.2-werror-idiocy.patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-09-23 18:27:45 UTC
Size:
9.09 KB
patch
obsolete
>diff -ur xen-3.4.2.orig//Config.mk xen-3.4.2/Config.mk >--- xen-3.4.2.orig//Config.mk 2009-11-10 23:16:03.000000000 +0800 >+++ xen-3.4.2/Config.mk 2011-09-24 02:15:31.311813762 +0800 >@@ -14,7 +14,7 @@ > > # Tools to run on system hosting the build > HOSTCC = gcc >-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer >+HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer > HOSTCFLAGS += -fno-strict-aliasing > > DISTDIR ?= $(XEN_ROOT)/dist >diff -ur xen-3.4.2.orig//tools/blktap/drivers/Makefile xen-3.4.2/tools/blktap/drivers/Makefile >--- xen-3.4.2.orig//tools/blktap/drivers/Makefile 2009-11-10 23:12:55.000000000 +0800 >+++ xen-3.4.2/tools/blktap/drivers/Makefile 2011-09-24 02:15:36.912813755 +0800 >@@ -5,7 +5,7 @@ > QCOW_UTIL = img2qcow qcow2raw qcow-create > LIBAIO_DIR = ../../libaio/src > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -Wno-unused > CFLAGS += -I../lib > CFLAGS += $(CFLAGS_libxenctrl) >diff -ur xen-3.4.2.orig//tools/blktap/lib/Makefile xen-3.4.2/tools/blktap/lib/Makefile >--- xen-3.4.2.orig//tools/blktap/lib/Makefile 2009-11-10 23:12:55.000000000 +0800 >+++ xen-3.4.2/tools/blktap/lib/Makefile 2011-09-24 02:15:36.911813755 +0800 >@@ -13,7 +13,7 @@ > SRCS := > SRCS += xenbus.c blkif.c xs_api.c > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -Wno-unused > CFLAGS += -fPIC > # get asprintf(): >diff -ur xen-3.4.2.orig//tools/console/Makefile xen-3.4.2/tools/console/Makefile >--- xen-3.4.2.orig//tools/console/Makefile 2009-11-10 23:12:55.000000000 +0800 >+++ xen-3.4.2/tools/console/Makefile 2011-09-24 02:15:36.865813755 +0800 >@@ -2,7 +2,7 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > > CFLAGS += $(CFLAGS_libxenctrl) > CFLAGS += $(CFLAGS_libxenstore) >diff -ur xen-3.4.2.orig//tools/debugger/xenitp/Makefile xen-3.4.2/tools/debugger/xenitp/Makefile >--- xen-3.4.2.orig//tools/debugger/xenitp/Makefile 2009-11-10 23:12:55.000000000 +0800 >+++ xen-3.4.2/tools/debugger/xenitp/Makefile 2011-09-24 02:15:36.907813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT=../../.. > include $(XEN_ROOT)/tools/Rules.mk > >-#CFLAGS += -Werror -g -O0 >+#CFLAGS += -g -O0 > > CFLAGS += $(CFLAGS_libxenctrl) > >diff -ur xen-3.4.2.orig//tools/flask/libflask/Makefile xen-3.4.2/tools/flask/libflask/Makefile >--- xen-3.4.2.orig//tools/flask/libflask/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/flask/libflask/Makefile 2011-09-24 02:15:36.817813755 +0800 >@@ -9,7 +9,7 @@ > SRCS := > SRCS += flask_op.c > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -fno-strict-aliasing > CFLAGS += $(INCLUDES) -I./include -I$(XEN_LIBXC) -I$(XEN_INCLUDE) > >diff -ur xen-3.4.2.orig//tools/flask/loadpolicy/Makefile xen-3.4.2/tools/flask/loadpolicy/Makefile >--- xen-3.4.2.orig//tools/flask/loadpolicy/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/flask/loadpolicy/Makefile 2011-09-24 02:15:36.819813755 +0800 >@@ -6,7 +6,7 @@ > LIBFLASK_ROOT = $(XEN_ROOT)/tools/flask/libflask > > PROFILE=#-pg >-BASECFLAGS=-Wall -g -Werror >+BASECFLAGS=-Wall -g > BASECFLAGS+= $(PROFILE) > #BASECFLAGS+= -I$(XEN_ROOT)/tools > BASECFLAGS+= $(CFLAGS_libxenctrl) >diff -ur xen-3.4.2.orig//tools/fs-back/Makefile xen-3.4.2/tools/fs-back/Makefile >--- xen-3.4.2.orig//tools/fs-back/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/fs-back/Makefile 2011-09-24 02:15:36.795813755 +0800 >@@ -5,7 +5,7 @@ > > IBIN = fs-backend > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -Wno-unused > CFLAGS += -fno-strict-aliasing > CFLAGS += $(CFLAGS_libxenctrl) >diff -ur xen-3.4.2.orig//tools/libaio/harness/Makefile xen-3.4.2/tools/libaio/harness/Makefile >--- xen-3.4.2.orig//tools/libaio/harness/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/libaio/harness/Makefile 2011-09-24 02:15:36.834813755 +0800 >@@ -4,7 +4,7 @@ > HARNESS_SRCS:=main.c > # io_queue.c > >-CFLAGS=-Wall -Werror -g -O -laio >+CFLAGS=-Wall -g -O -laio > #-lpthread -lrt > > all: $(PROGS) >diff -ur xen-3.4.2.orig//tools/libxc/Makefile xen-3.4.2/tools/libxc/Makefile >--- xen-3.4.2.orig//tools/libxc/Makefile 2011-09-24 02:15:01.913813771 +0800 >+++ xen-3.4.2/tools/libxc/Makefile 2011-09-24 02:15:36.848813755 +0800 >@@ -52,7 +52,7 @@ > > -include $(XEN_TARGET_ARCH)/Makefile > >-CFLAGS += -Werror -Wmissing-prototypes >+CFLAGS += -Wmissing-prototypes > CFLAGS += $(INCLUDES) -I. -I../xenstore -I../include > > # Needed for posix_fadvise64() in xc_linux.c >diff -ur xen-3.4.2.orig//tools/misc/lomount/Makefile xen-3.4.2/tools/misc/lomount/Makefile >--- xen-3.4.2.orig//tools/misc/lomount/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/misc/lomount/Makefile 2011-09-24 02:15:36.825813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT=../../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > > HDRS = $(wildcard *.h) > OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) >diff -ur xen-3.4.2.orig//tools/misc/Makefile xen-3.4.2/tools/misc/Makefile >--- xen-3.4.2.orig//tools/misc/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/misc/Makefile 2011-09-24 02:15:36.828813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > > INCLUDES += -I $(XEN_XC) > INCLUDES += -I $(XEN_LIBXC) >diff -ur xen-3.4.2.orig//tools/security/Makefile xen-3.4.2/tools/security/Makefile >--- xen-3.4.2.orig//tools/security/Makefile 2009-11-10 23:12:56.000000000 +0800 >+++ xen-3.4.2/tools/security/Makefile 2011-09-24 02:15:36.862813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT = ../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -fno-strict-aliasing > CFLAGS += -I. $(CFLAGS_libxenctrl) > >diff -ur xen-3.4.2.orig//tools/vnet/libxutil/Makefile xen-3.4.2/tools/vnet/libxutil/Makefile >--- xen-3.4.2.orig//tools/vnet/libxutil/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/vnet/libxutil/Makefile 2011-09-24 02:15:36.854813755 +0800 >@@ -25,7 +25,7 @@ > PIC_OBJS := $(LIB_SRCS:.c=.opic) > > $(call cc-option-add,CFLAGS,CC,-fgnu89-inline) >-CFLAGS += -Werror -fno-strict-aliasing >+CFLAGS += -fno-strict-aliasing > CFLAGS += -O3 > #CFLAGS += -g > >diff -ur xen-3.4.2.orig//tools/xcutils/Makefile xen-3.4.2/tools/xcutils/Makefile >--- xen-3.4.2.orig//tools/xcutils/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xcutils/Makefile 2011-09-24 02:15:36.794813755 +0800 >@@ -11,7 +11,7 @@ > XEN_ROOT = ../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) > > PROGRAMS = xc_restore xc_save readnotes lsevtchn >diff -ur xen-3.4.2.orig//tools/xenmon/Makefile xen-3.4.2/tools/xenmon/Makefile >--- xen-3.4.2.orig//tools/xenmon/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xenmon/Makefile 2011-09-24 02:15:36.799813755 +0800 >@@ -13,7 +13,7 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -I $(XEN_XC) > CFLAGS += $(CFLAGS_libxenctrl) > LDFLAGS += $(LDFLAGS_libxenctrl) >diff -ur xen-3.4.2.orig//tools/xenpmd/Makefile xen-3.4.2/tools/xenpmd/Makefile >--- xen-3.4.2.orig//tools/xenpmd/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xenpmd/Makefile 2011-09-24 02:15:36.815813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += $(CFLAGS_libxenstore) > LDFLAGS += $(LDFLAGS_libxenstore) > >diff -ur xen-3.4.2.orig//tools/xenstat/libxenstat/Makefile xen-3.4.2/tools/xenstat/libxenstat/Makefile >--- xen-3.4.2.orig//tools/xenstat/libxenstat/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xenstat/libxenstat/Makefile 2011-09-24 02:15:36.842813755 +0800 >@@ -34,7 +34,7 @@ > OBJECTS-$(CONFIG_NetBSD) += src/xenstat_netbsd.o > SONAME_FLAGS=-Wl,$(SONAME_LDFLAG) -Wl,libxenstat.so.$(MAJOR) > >-WARN_FLAGS=-Wall -Werror >+WARN_FLAGS=-Wall > > CFLAGS+=-Isrc -I$(XEN_LIBXC) -I$(XEN_XENSTORE) -I$(XEN_INCLUDE) > LDFLAGS+=-Lsrc -L$(XEN_XENSTORE)/ -L$(XEN_LIBXC)/ >diff -ur xen-3.4.2.orig//tools/xenstat/xentop/Makefile xen-3.4.2/tools/xenstat/xentop/Makefile >--- xen-3.4.2.orig//tools/xenstat/xentop/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xenstat/xentop/Makefile 2011-09-24 02:15:36.844813755 +0800 >@@ -18,7 +18,7 @@ > all install xentop: > else > >-CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT) >+CFLAGS += -DGCC_PRINTF -Wall -I$(XEN_LIBXENSTAT) > LDFLAGS += -L$(XEN_LIBXENSTAT) > LDLIBS += -lxenstat $(CURSES_LIBS) $(SOCKET_LIBS) > CFLAGS += -DHOST_$(XEN_OS) >diff -ur xen-3.4.2.orig//tools/xenstore/Makefile xen-3.4.2/tools/xenstore/Makefile >--- xen-3.4.2.orig//tools/xenstore/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xenstore/Makefile 2011-09-24 02:15:36.798813755 +0800 >@@ -4,7 +4,7 @@ > MAJOR = 3.0 > MINOR = 0 > >-CFLAGS += -Werror >+CFLAGS += > CFLAGS += -I. > CFLAGS += $(CFLAGS_libxenctrl) > >diff -ur xen-3.4.2.orig//tools/xentrace/Makefile xen-3.4.2/tools/xentrace/Makefile >--- xen-3.4.2.orig//tools/xentrace/Makefile 2009-11-10 23:12:57.000000000 +0800 >+++ xen-3.4.2/tools/xentrace/Makefile 2011-09-24 02:15:36.908813755 +0800 >@@ -1,7 +1,7 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >+CFLAGS += > > CFLAGS += $(CFLAGS_libxenctrl) > LDFLAGS += $(LDFLAGS_libxenctrl)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 383977
:
287301
|
287511
| 287539