Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201727 Details for
Bug 260880
app-emulation/xen-tools: uses -Werror during build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
removes all werrors
xen-3.4.1-no-Werror.patch (text/plain), 12.70 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2009-08-19 17:14:36 UTC
(
hide
)
Description:
removes all werrors
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2009-08-19 17:14:36 UTC
Size:
12.70 KB
patch
obsolete
>diff -r 4e2ffbd99aeb Config.mk >--- a/Config.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/Config.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb extras/mini-os/minios.mk >--- a/extras/mini-os/minios.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/extras/mini-os/minios.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -6,7 +6,7 @@ > > # Define some default flags. > # NB. '-Wcast-qual' is nasty, so I omitted it. >-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls >+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls > DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) > DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline) > DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline >diff -r 4e2ffbd99aeb tools/blktap/drivers/Makefile >--- a/tools/blktap/drivers/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/blktap/drivers/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -5,7 +5,6 @@ > QCOW_UTIL = img2qcow qcow2raw qcow-create > LIBAIO_DIR = ../../libaio/src > >-CFLAGS += -Werror > CFLAGS += -Wno-unused > CFLAGS += -I../lib > CFLAGS += $(CFLAGS_libxenctrl) >diff -r 4e2ffbd99aeb tools/blktap/lib/Makefile >--- a/tools/blktap/lib/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/blktap/lib/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -13,7 +13,6 @@ > SRCS := > SRCS += xenbus.c blkif.c xs_api.c > >-CFLAGS += -Werror > CFLAGS += -Wno-unused > CFLAGS += -fPIC > # get asprintf(): >diff -r 4e2ffbd99aeb tools/console/Makefile >--- a/tools/console/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/console/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -2,8 +2,6 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >- > CFLAGS += $(CFLAGS_libxenctrl) > CFLAGS += $(CFLAGS_libxenstore) > LDFLAGS += $(LDFLAGS_libxenctrl) >diff -r 4e2ffbd99aeb tools/debugger/xenitp/Makefile >--- a/tools/debugger/xenitp/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/debugger/xenitp/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,7 +1,7 @@ > XEN_ROOT=../../.. > include $(XEN_ROOT)/tools/Rules.mk > >-#CFLAGS += -Werror -g -O0 >+#CFLAGS += -g -O0 > > CFLAGS += $(CFLAGS_libxenctrl) > >diff -r 4e2ffbd99aeb tools/firmware/Rules.mk >--- a/tools/firmware/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/firmware/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -10,8 +10,6 @@ > CFLAGS += -DNDEBUG > endif > >-CFLAGS += -Werror >- > # Disable PIE/SSP if GCC supports them. They can break us. > $(call cc-option-add,CFLAGS,CC,-nopie) > $(call cc-option-add,CFLAGS,CC,-fno-stack-protector) >diff -r 4e2ffbd99aeb tools/flask/libflask/Makefile >--- a/tools/flask/libflask/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/flask/libflask/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -9,7 +9,6 @@ > SRCS := > SRCS += flask_op.c > >-CFLAGS += -Werror > CFLAGS += -fno-strict-aliasing > CFLAGS += $(INCLUDES) -I./include -I$(XEN_LIBXC) -I$(XEN_INCLUDE) > >diff -r 4e2ffbd99aeb tools/flask/loadpolicy/Makefile >--- a/tools/flask/loadpolicy/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/flask/loadpolicy/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb tools/fs-back/Makefile >--- a/tools/fs-back/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/fs-back/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -5,7 +5,6 @@ > > IBIN = fs-backend > >-CFLAGS += -Werror > CFLAGS += -Wno-unused > CFLAGS += -fno-strict-aliasing > CFLAGS += $(CFLAGS_libxenctrl) >diff -r 4e2ffbd99aeb tools/libaio/harness/Makefile >--- a/tools/libaio/harness/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/libaio/harness/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb tools/libfsimage/Rules.mk >--- a/tools/libfsimage/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/libfsimage/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -1,6 +1,6 @@ > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -I$(XEN_ROOT)/tools/libfsimage/common/ -Werror >+CFLAGS += -I$(XEN_ROOT)/tools/libfsimage/common/ > LDFLAGS += -L../common/ > > PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y)) >diff -r 4e2ffbd99aeb tools/libxc/Makefile >--- a/tools/libxc/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/libxc/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -54,7 +54,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 -r 4e2ffbd99aeb tools/libxen/Makefile.dist >--- a/tools/libxen/Makefile.dist Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/libxen/Makefile.dist Wed Aug 19 12:58:55 2009 -0400 >@@ -22,7 +22,7 @@ > CFLAGS = -Iinclude \ > $(shell xml2-config --cflags) \ > $(shell curl-config --cflags) \ >- -W -Wall -Wmissing-prototypes -Werror -std=c99 -O2 -fPIC >+ -W -Wall -Wmissing-prototypes -std=c99 -O2 -fPIC > > LDFLAGS = $(shell xml2-config --libs) \ > $(shell curl-config --libs) >diff -r 4e2ffbd99aeb tools/misc/Makefile >--- a/tools/misc/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/misc/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,8 +1,6 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >- > INCLUDES += -I $(XEN_XC) > INCLUDES += -I $(XEN_LIBXC) > INCLUDES += -I $(XEN_INCLUDE) >diff -r 4e2ffbd99aeb tools/misc/lomount/Makefile >--- a/tools/misc/lomount/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/misc/lomount/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,8 +1,6 @@ > XEN_ROOT=../../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >- > HDRS = $(wildcard *.h) > OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) > >diff -r 4e2ffbd99aeb tools/pygrub/setup.py >--- a/tools/pygrub/setup.py Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/pygrub/setup.py Wed Aug 19 12:58:55 2009 -0400 >@@ -3,7 +3,7 @@ > import os > import sys > >-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ] >+extra_compile_args = [ "-fno-strict-aliasing" ] > > XEN_ROOT = "../.." > >diff -r 4e2ffbd99aeb tools/python/setup.py >--- a/tools/python/setup.py Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/python/setup.py Wed Aug 19 12:58:55 2009 -0400 >@@ -4,7 +4,7 @@ > > XEN_ROOT = "../.." > >-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ] >+extra_compile_args = [ "-fno-strict-aliasing" ] > > include_dirs = [ XEN_ROOT + "/tools/libxc", > XEN_ROOT + "/tools/xenstore", >diff -r 4e2ffbd99aeb tools/security/Makefile >--- a/tools/security/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/security/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,7 +1,6 @@ > XEN_ROOT = ../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror > CFLAGS += -fno-strict-aliasing > CFLAGS += -I. $(CFLAGS_libxenctrl) > >diff -r 4e2ffbd99aeb tools/vnet/libxutil/Makefile >--- a/tools/vnet/libxutil/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/vnet/libxutil/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb tools/vtpm/Rules.mk >--- a/tools/vtpm/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/vtpm/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -9,7 +9,7 @@ > TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin > > # General compiler flags >-CFLAGS = -Werror -g3 -I. >+CFLAGS = -g3 -I. > > # Generic project files > HDRS = $(wildcard *.h) >diff -r 4e2ffbd99aeb tools/vtpm_manager/Rules.mk >--- a/tools/vtpm_manager/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/vtpm_manager/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -9,7 +9,7 @@ > TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin > > # General compiler flags >-CFLAGS = -Werror -g3 -I. >+CFLAGS = -g3 -I. > > # Generic project files > HDRS = $(wildcard *.h) >diff -r 4e2ffbd99aeb tools/xcutils/Makefile >--- a/tools/xcutils/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xcutils/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -11,7 +11,6 @@ > XEN_ROOT = ../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror > CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) > > PROGRAMS = xc_restore xc_save readnotes lsevtchn >diff -r 4e2ffbd99aeb tools/xenmon/Makefile >--- a/tools/xenmon/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenmon/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -13,7 +13,6 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror > CFLAGS += -I $(XEN_XC) > CFLAGS += $(CFLAGS_libxenctrl) > LDFLAGS += $(LDFLAGS_libxenctrl) >diff -r 4e2ffbd99aeb tools/xenpmd/Makefile >--- a/tools/xenpmd/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenpmd/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,7 +1,6 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror > CFLAGS += $(CFLAGS_libxenstore) > LDFLAGS += $(LDFLAGS_libxenstore) > >diff -r 4e2ffbd99aeb tools/xenstat/libxenstat/Makefile >--- a/tools/xenstat/libxenstat/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenstat/libxenstat/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb tools/xenstat/xentop/Makefile >--- a/tools/xenstat/xentop/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenstat/xentop/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -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 -r 4e2ffbd99aeb tools/xenstore/Makefile >--- a/tools/xenstore/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenstore/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -4,7 +4,6 @@ > MAJOR = 3.0 > MINOR = 0 > >-CFLAGS += -Werror > CFLAGS += -I. > CFLAGS += $(CFLAGS_libxenctrl) > >diff -r 4e2ffbd99aeb tools/xenstore/xenstored_core.c >--- a/tools/xenstore/xenstored_core.c Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xenstore/xenstored_core.c Wed Aug 19 12:58:55 2009 -0400 >@@ -865,7 +865,7 @@ > { > unsigned int offset, datalen; > struct node *node; >- char *vec[1] = { NULL }; /* gcc4 + -W + -Werror fucks code. */ >+ char *vec[1] = { NULL }; /* gcc4 + -W + -Werror demonstrates the pointlessness of -Werror. (expletive removed) */ > char *name; > > /* Extra "strings" can be created by binary data. */ >diff -r 4e2ffbd99aeb tools/xentrace/Makefile >--- a/tools/xentrace/Makefile Wed Aug 19 14:23:30 2009 +0100 >+++ b/tools/xentrace/Makefile Wed Aug 19 12:58:55 2009 -0400 >@@ -1,8 +1,6 @@ > XEN_ROOT=../.. > include $(XEN_ROOT)/tools/Rules.mk > >-CFLAGS += -Werror >- > CFLAGS += $(CFLAGS_libxenctrl) > LDFLAGS += $(LDFLAGS_libxenctrl) > >diff -r 4e2ffbd99aeb xen/arch/ia64/Rules.mk >--- a/xen/arch/ia64/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/xen/arch/ia64/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -68,7 +68,7 @@ > CFLAGS += -DCONFIG_XEN_IA64_TLBFLUSH_CLOCK > endif > ifeq ($(no_warns),y) >-CFLAGS += -Wa,--fatal-warnings -Werror -Wno-uninitialized >+CFLAGS += -Wa,--fatal-warnings -Wno-uninitialized > endif > ifneq ($(vhpt_disable),y) > CFLAGS += -DVHPT_ENABLED=1 >diff -r 4e2ffbd99aeb xen/arch/x86/Rules.mk >--- a/xen/arch/x86/Rules.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/xen/arch/x86/Rules.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -17,7 +17,7 @@ > endif > > CFLAGS += -fno-builtin -fno-common >-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe >+CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe > CFLAGS += -I$(BASEDIR)/include > CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic > CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default >diff -r 4e2ffbd99aeb xen/arch/x86/boot/build32.mk >--- a/xen/arch/x86/boot/build32.mk Wed Aug 19 14:23:30 2009 +0100 >+++ b/xen/arch/x86/boot/build32.mk Wed Aug 19 12:58:55 2009 -0400 >@@ -8,7 +8,7 @@ > $(call cc-option-add,CFLAGS,CC,-fno-stack-protector) > $(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all) > >-CFLAGS += -Werror -fno-builtin -msoft-float >+CFLAGS += -fno-builtin -msoft-float > > # NB. awk invocation is a portable alternative to 'head -n -1' > %.S: %.bin
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 260880
: 201727