1 |
idella4 14/03/23 14:59:41 |
2 |
|
3 |
Added: xen-4.4-fix_dotconfig-gcc.patch |
4 |
Log: |
5 |
bump |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-emulation/xen-pvgrub/files/xen-4.4-fix_dotconfig-gcc.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-pvgrub/files/xen-4.4-fix_dotconfig-gcc.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-pvgrub/files/xen-4.4-fix_dotconfig-gcc.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xen-4.4-fix_dotconfig-gcc.patch |
16 |
=================================================================== |
17 |
diff -ur xen-4.4.0.orig/Config.mk xen-4.4.0/Config.mk |
18 |
--- xen-4.4.0.orig/Config.mk 2014-03-10 18:47:38.000000000 +0800 |
19 |
+++ xen-4.4.0/Config.mk 2014-03-23 21:54:07.327717400 +0800 |
20 |
@@ -13,8 +13,6 @@ |
21 |
# fallback for older make |
22 |
realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) |
23 |
|
24 |
--include $(XEN_ROOT)/.config |
25 |
- |
26 |
# A debug build of Xen and tools? |
27 |
debug ?= n |
28 |
debug_symbols ?= $(debug) |
29 |
@@ -36,7 +34,7 @@ |
30 |
|
31 |
# Tools to run on system hosting the build |
32 |
HOSTCC = gcc |
33 |
-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer |
34 |
+HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer |
35 |
HOSTCFLAGS += -fno-strict-aliasing |
36 |
|
37 |
DISTDIR ?= $(XEN_ROOT)/dist |
38 |
@@ -187,7 +185,7 @@ |
39 |
|
40 |
CFLAGS += -std=gnu99 |
41 |
|
42 |
-CFLAGS += -Wall -Wstrict-prototypes |
43 |
+CFLAGS += -Wstrict-prototypes |
44 |
|
45 |
# Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' |
46 |
# and is over-zealous with the printf format lint |
47 |
diff -ur xen-4.4.0.orig/extras/mini-os/minios.mk xen-4.4.0/extras/mini-os/minios.mk |
48 |
--- xen-4.4.0.orig/extras/mini-os/minios.mk 2014-03-10 18:43:57.000000000 +0800 |
49 |
+++ xen-4.4.0/extras/mini-os/minios.mk 2014-03-23 21:48:41.110722054 +0800 |
50 |
@@ -6,7 +6,7 @@ |
51 |
|
52 |
# Define some default flags. |
53 |
# NB. '-Wcast-qual' is nasty, so I omitted it. |
54 |
-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls |
55 |
+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls |
56 |
DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) |
57 |
DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline) |
58 |
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline |
59 |
diff -ur xen-4.4.0.orig/tools/blktap2/drivers/Makefile xen-4.4.0/tools/blktap2/drivers/Makefile |
60 |
--- xen-4.4.0.orig/tools/blktap2/drivers/Makefile 2014-03-10 18:43:57.000000000 +0800 |
61 |
+++ xen-4.4.0/tools/blktap2/drivers/Makefile 2014-03-23 21:55:52.215715903 +0800 |
62 |
@@ -9,7 +9,7 @@ |
63 |
LOCK_UTIL = lock-util |
64 |
INST_DIR = $(SBINDIR) |
65 |
|
66 |
-CFLAGS += -Werror -g |
67 |
+CFLAGS += -g |
68 |
CFLAGS += -Wno-unused |
69 |
CFLAGS += -fno-strict-aliasing |
70 |
CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers |
71 |
diff -ur xen-4.4.0.orig/tools/debugger/gdbsx/Rules.mk xen-4.4.0/tools/debugger/gdbsx/Rules.mk |
72 |
--- xen-4.4.0.orig/tools/debugger/gdbsx/Rules.mk 2014-03-10 18:43:57.000000000 +0800 |
73 |
+++ xen-4.4.0/tools/debugger/gdbsx/Rules.mk 2014-03-23 21:56:21.399715487 +0800 |
74 |
@@ -1,4 +1,4 @@ |
75 |
include $(XEN_ROOT)/tools/Rules.mk |
76 |
|
77 |
-CFLAGS += -Werror -Wmissing-prototypes |
78 |
+CFLAGS += -Wmissing-prototypes |
79 |
# (gcc 4.3x and later) -Wconversion -Wno-sign-conversion |
80 |
diff -ur xen-4.4.0.orig/tools/firmware/Rules.mk xen-4.4.0/tools/firmware/Rules.mk |
81 |
--- xen-4.4.0.orig/tools/firmware/Rules.mk 2014-03-10 18:43:57.000000000 +0800 |
82 |
+++ xen-4.4.0/tools/firmware/Rules.mk 2014-03-23 22:30:36.056686174 +0800 |
83 |
@@ -11,7 +11,7 @@ |
84 |
CFLAGS += -DNDEBUG |
85 |
endif |
86 |
|
87 |
-CFLAGS += -Werror |
88 |
+CFLAGS += |
89 |
|
90 |
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS)) |
91 |
|
92 |
diff -ur xen-4.4.0.orig/tools/libfsimage/Rules.mk xen-4.4.0/tools/libfsimage/Rules.mk |
93 |
--- xen-4.4.0.orig/tools/libfsimage/Rules.mk 2014-03-10 18:43:57.000000000 +0800 |
94 |
+++ xen-4.4.0/tools/libfsimage/Rules.mk 2014-03-23 21:57:21.767714626 +0800 |
95 |
@@ -1,7 +1,7 @@ |
96 |
include $(XEN_ROOT)/tools/Rules.mk |
97 |
|
98 |
CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\" |
99 |
-CFLAGS += -Werror -D_GNU_SOURCE |
100 |
+CFLAGS += -D_GNU_SOURCE |
101 |
LDFLAGS += -L../common/ |
102 |
|
103 |
PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y)) |
104 |
diff -ur xen-4.4.0.orig/tools/libxc/Makefile xen-4.4.0/tools/libxc/Makefile |
105 |
--- xen-4.4.0.orig/tools/libxc/Makefile 2014-03-10 18:43:57.000000000 +0800 |
106 |
+++ xen-4.4.0/tools/libxc/Makefile 2014-03-23 21:49:37.919721243 +0800 |
107 |
@@ -87,7 +87,7 @@ |
108 |
|
109 |
-include $(XEN_TARGET_ARCH)/Makefile |
110 |
|
111 |
-CFLAGS += -Werror -Wmissing-prototypes |
112 |
+CFLAGS += -Wmissing-prototypes |
113 |
CFLAGS += -I. $(CFLAGS_xeninclude) |
114 |
|
115 |
# Needed for posix_fadvise64() in xc_linux.c |
116 |
diff -ur xen-4.4.0.orig/tools/libxl/Makefile xen-4.4.0/tools/libxl/Makefile |
117 |
--- xen-4.4.0.orig/tools/libxl/Makefile 2014-03-10 18:43:57.000000000 +0800 |
118 |
+++ xen-4.4.0/tools/libxl/Makefile 2014-03-23 21:58:09.983713938 +0800 |
119 |
@@ -11,7 +11,7 @@ |
120 |
XLUMAJOR = 4.3 |
121 |
XLUMINOR = 0 |
122 |
|
123 |
-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \ |
124 |
+CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ |
125 |
-Wno-declaration-after-statement -Wformat-nonliteral |
126 |
CFLAGS += -I. -fPIC |
127 |
|
128 |
diff -ur xen-4.4.0.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.4.0/tools/qemu-xen/pc-bios/optionrom/Makefile |
129 |
--- xen-4.4.0.orig/tools/qemu-xen/pc-bios/optionrom/Makefile 2014-02-06 00:59:14.000000000 +0800 |
130 |
+++ xen-4.4.0/tools/qemu-xen/pc-bios/optionrom/Makefile 2014-03-23 21:59:13.175713036 +0800 |
131 |
@@ -9,7 +9,7 @@ |
132 |
|
133 |
.PHONY : all clean build-all |
134 |
|
135 |
-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin |
136 |
+CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin |
137 |
CFLAGS += -I$(SRC_PATH) |
138 |
CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector) |
139 |
QEMU_CFLAGS = $(CFLAGS) |
140 |
diff -ur xen-4.4.0.orig/tools/tests/mce-test/tools/Makefile xen-4.4.0/tools/tests/mce-test/tools/Makefile |
141 |
--- xen-4.4.0.orig/tools/tests/mce-test/tools/Makefile 2014-03-10 18:43:57.000000000 +0800 |
142 |
+++ xen-4.4.0/tools/tests/mce-test/tools/Makefile 2014-03-23 22:28:45.160687756 +0800 |
143 |
@@ -1,7 +1,7 @@ |
144 |
XEN_ROOT=$(CURDIR)/../../../.. |
145 |
include $(XEN_ROOT)/tools/Rules.mk |
146 |
|
147 |
-CFLAGS += -Werror |
148 |
+CFLAGS += |
149 |
CFLAGS += $(CFLAGS_libxenctrl) |
150 |
CFLAGS += $(CFLAGS_libxenguest) |
151 |
CFLAGS += $(CFLAGS_libxenstore) |
152 |
diff -ur xen-4.4.0.orig/tools/tests/mem-sharing/Makefile xen-4.4.0/tools/tests/mem-sharing/Makefile |
153 |
--- xen-4.4.0.orig/tools/tests/mem-sharing/Makefile 2014-03-10 18:43:57.000000000 +0800 |
154 |
+++ xen-4.4.0/tools/tests/mem-sharing/Makefile 2014-03-23 22:29:15.472687324 +0800 |
155 |
@@ -1,7 +1,7 @@ |
156 |
XEN_ROOT=$(CURDIR)/../../.. |
157 |
include $(XEN_ROOT)/tools/Rules.mk |
158 |
|
159 |
-CFLAGS += -Werror |
160 |
+CFLAGS += |
161 |
|
162 |
CFLAGS += $(CFLAGS_libxenctrl) |
163 |
CFLAGS += $(CFLAGS_xeninclude) |
164 |
diff -ur xen-4.4.0.orig/tools/tests/xen-access/Makefile xen-4.4.0/tools/tests/xen-access/Makefile |
165 |
--- xen-4.4.0.orig/tools/tests/xen-access/Makefile 2014-03-10 18:43:57.000000000 +0800 |
166 |
+++ xen-4.4.0/tools/tests/xen-access/Makefile 2014-03-23 22:30:02.064686659 +0800 |
167 |
@@ -1,8 +1,6 @@ |
168 |
XEN_ROOT=$(CURDIR)/../../.. |
169 |
include $(XEN_ROOT)/tools/Rules.mk |
170 |
|
171 |
-CFLAGS += -Werror |
172 |
- |
173 |
CFLAGS += $(CFLAGS_libxenctrl) |
174 |
CFLAGS += $(CFLAGS_libxenguest) |
175 |
CFLAGS += $(CFLAGS_xeninclude) |
176 |
diff -ur xen-4.4.0.orig/tools/xenstat/xentop/Makefile xen-4.4.0/tools/xenstat/xentop/Makefile |
177 |
--- xen-4.4.0.orig/tools/xenstat/xentop/Makefile 2014-03-10 18:43:57.000000000 +0800 |
178 |
+++ xen-4.4.0/tools/xenstat/xentop/Makefile 2014-03-23 22:23:59.944691825 +0800 |
179 |
@@ -18,7 +18,7 @@ |
180 |
all install xentop: |
181 |
else |
182 |
|
183 |
-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat) |
184 |
+CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat) |
185 |
LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS) |
186 |
CFLAGS += -DHOST_$(XEN_OS) |