public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 7.0.1-0.10
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 4708d93f41eb71da44cd450e18686a67891c0547
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-02-25T13:14:06+01:00
Stats  : +5/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/4708d93f41eb71da44cd450e18686a67891c0547?branch=rhel-f41-base

Log:
7.0.1-0.10

---
diff --git a/gcc.spec b/gcc.spec
index 3eec707..7e5aeef 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -968,6 +968,7 @@ OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
 %ifarch sparc
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
 %endif
@@ -1002,7 +1003,7 @@ mkdir obj-offload-nvptx-none
 cd obj-offload-nvptx-none
 CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
 	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g' \
-		  | sed 's/ -Werror=format-security / -Wformat -Wformat-security /'`" \
+		  | sed 's/ -Wformat-security / -Wformat -Wformat-security /'`" \
 	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
 	../configure --disable-bootstrap --disable-sjlj-exceptions \
 	--enable-newlib-io-long-long --with-build-time-tools=${IROOT}%{_prefix}/nvptx-none/bin \
@@ -1144,7 +1145,7 @@ CONFIGURE_OPTS="\
 
 CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
 	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g' \
-		  | sed 's/ -Werror=format-security / -Wformat -Werror=format-security /'`" \
+		  | sed 's/ -Wformat-security / -Wformat -Wformat-security /'`" \
 	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
 	../configure --enable-bootstrap \
 	--enable-languages=c,c++,objc,obj-c++,fortran${enablelada}${enablelgo},lto \
@@ -1163,9 +1164,9 @@ CXX="`%{gcc_target_platform}/libstdc++-v3/scripts/testsuite_flags --build-cxx` `
 # unnecessarily.
 mkdir objlibgccjit
 cd objlibgccjit
-CC="$CC" CXX="$CXX" CFLAGS="`echo $OPT_FLAGS | sed 's/-Werror=format-security//'`" \
+CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
 	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g' \
-		  | sed 's/-Werror=format-security//'`" \
+		  | sed 's/ -Wformat-security / -Wformat -Wformat-security /'`" \
 	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
 	../../configure --disable-bootstrap --enable-host-shared \
 	--enable-languages=jit $CONFIGURE_OPTS

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/gcc] rhel-f41-base: 7.0.1-0.10
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : cc580afc173222da97e42b263cac57f086983a9f
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-02-25T12:47:04+01:00
Stats  : +29/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/cc580afc173222da97e42b263cac57f086983a9f?branch=rhel-f41-base

Log:
7.0.1-0.10

---
diff --git a/gcc.spec b/gcc.spec
index 0875b69..3eec707 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -231,6 +231,7 @@ Patch7: gcc7-libstdc++-docs.patch
 Patch8: gcc7-no-add-needed.patch
 Patch9: gcc7-aarch64-async-unw-tables.patch
 Patch10: gcc7-foffload-default.patch
+Patch11: gcc7-Wno-format-security.patch
 
 Patch1000: nvptx-tools-no-ptxas.patch
 Patch1001: nvptx-tools-build.patch
@@ -818,6 +819,7 @@ package or when debugging this package.
 %patch8 -p0 -b .no-add-needed~
 %patch9 -p0 -b .aarch64-async-unw-tables~
 %patch10 -p0 -b .foffload-default~
+%patch11 -p0 -b .Wno-format-security~
 
 cd nvptx-tools-%{nvptx_tools_gitrev}
 %patch1000 -p1 -b .nvptx-tools-no-ptxas~

diff --git a/gcc7-Wno-format-security.patch b/gcc7-Wno-format-security.patch
new file mode 100644
index 0000000..cb21e5d
--- /dev/null
+++ b/gcc7-Wno-format-security.patch
@@ -0,0 +1,27 @@
+2017-02-25  Jakub Jelinek  <jakub@redhat.com>
+
+	* configure.ac: When adding -Wno-format, also add -Wno-format-security.
+	* configure: Regenerated.
+
+--- gcc/configure.ac.jj	2017-02-13 12:20:53.000000000 +0100
++++ gcc/configure.ac	2017-02-25 12:42:32.859175403 +0100
+@@ -481,7 +481,7 @@ AC_ARG_ENABLE(build-format-warnings,
+   AS_HELP_STRING([--disable-build-format-warnings],[don't use -Wformat while building GCC]),
+   [],[enable_build_format_warnings=yes])
+ AS_IF([test $enable_build_format_warnings = no],
+-      [wf_opt=-Wno-format],[wf_opt=])
++      [wf_opt="-Wno-format -Wno-format-security"],[wf_opt=])
+ ACX_PROG_CXX_WARNING_OPTS(
+ 	m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings ],
+ 		       [-Wcast-qual $wf_opt])), [loose_warn])
+--- gcc/configure.jj	2017-02-13 12:20:52.000000000 +0100
++++ gcc/configure	2017-02-25 12:42:50.041946391 +0100
+@@ -6647,7 +6647,7 @@ else
+ fi
+ 
+ if test $enable_build_format_warnings = no; then :
+-  wf_opt=-Wno-format
++  wf_opt="-Wno-format -Wno-format-security"
+ else
+   wf_opt=
+ fi

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/gcc] rhel-f41-base: 7.0.1-0.10
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 9c103286cfacecc4add751da3f987011f3725fe6
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-02-25T11:32:56+01:00
Stats  : +26/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/9c103286cfacecc4add751da3f987011f3725fe6?branch=rhel-f41-base

Log:
7.0.1-0.10

---
diff --git a/.gitignore b/.gitignore
index 1220370..29f4e35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /gcc-7.0.1-20170209.tar.bz2
 /gcc-7.0.1-20170211.tar.bz2
 /gcc-7.0.1-20170219.tar.bz2
+/gcc-7.0.1-20170225.tar.bz2

diff --git a/gcc.spec b/gcc.spec
index 7d48035..0875b69 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20170219
-%global SVNREV 245573
+%global DATE 20170225
+%global SVNREV 245736
 %global gcc_version 7.0.1
 %global gcc_major 7
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
-%global gcc_release 0.9
+%global gcc_release 0.10
 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
 %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
 %global _unpackaged_files_terminate_build 0
@@ -3233,6 +3233,27 @@ fi
 %endif
 
 %changelog
+* Sat Feb 25 2017 Jakub Jelinek <jakub@redhat.com> 7.0.1-0.10
+- update from the trunk
+  - PRs c++/17729, c++/41727, c++/50308, c++/69523, c++/78139, c++/78282,
+	c++/79361, c++/79380, c++/79400, c++/79470, c++/79500, c++/79503,
+	c++/79535, c++/79566, c++/79580, c++/79588, c++/79606, c++/79607,
+	c++/79639, c++/79641, c++/79653, c++/79654, c++/79655, c++/79657,
+	c++/79664, c++/79679, c/79662, c/79677, c/79684, debug/77589,
+	fortran/79229, fortran/79382, fortran/79402, fortran/79434,
+	fortran/79447, fortran/79523, fortran/79597, fortran/79599,
+	fortran/79601, go/79642, lto/79579, lto/79587, middle-end/79396,
+	middle-end/79537, middle-end/79665, rtl-optimization/68749,
+	rtl-optimization/79286, sanitizer/79558, sanitizer/79589,
+	target/71017, target/78012, target/78056, target/78660, target/79211,
+	target/79473, target/79494, target/79568, target/79570, target/79593,
+	target/79633, translation/79638, translation/79705,
+	tree-optimization/61441, tree-optimization/68644,
+	tree-optimization/79389, tree-optimization/79578,
+	tree-optimization/79621, tree-optimization/79649,
+	tree-optimization/79663, tree-optimization/79666,
+	tree-optimization/79673, tree-optimization/79683
+
 * Sun Feb 19 2017 Jakub Jelinek <jakub@redhat.com> 7.0.1-0.9
 - update from the trunk
   - PRs bootstrap/79567, c++/77659, c++/77790, c++/78572, c++/78690,

diff --git a/sources b/sources
index ab54377..0c3d927 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.0.1-20170219.tar.bz2) = b8ead6d4441edeeebe032d12f1484e4fdc8f6513df8d3634dc181429fe7105683544a721a44fde83b522398b9a93d47b671c157189b9f1b5356d4754b4889908
+SHA512 (gcc-7.0.1-20170225.tar.bz2) = de6413101567ede96422f49d007c4072314ace58bf09886949858c315df54e8480289967cdf70636a4469a21705c6cddced9ff85c950eef6fd9e6fcad2533be0
 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-29 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:27 [rpms/gcc] rhel-f41-base: 7.0.1-0.10 Jakub Jelinek
  -- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:27 Jakub Jelinek
2026-06-29 12:27 Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox