public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 7.1.1-7
@ 2026-06-29 12:27 Jakub Jelinek
0 siblings, 0 replies; 2+ 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 : 23f4b29ddd1324d32f170995975ce4ba2150bf1b
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2017-08-02T21:19:02+02:00
Stats : +22/-233 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/23f4b29ddd1324d32f170995975ce4ba2150bf1b?branch=rhel-f41-base
Log:
7.1.1-7
---
diff --git a/gcc.spec b/gcc.spec
index ceb2d0b..2cf6070 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -94,7 +94,7 @@
Summary: Various compilers (C, C++, Objective-C, Java, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}
+Release: %{gcc_release}%{?dist}.1
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
diff --git a/.gitignore b/.gitignore
index eba566a..726e10a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/gcc-7.1.1-20170708.tar.bz2
/gcc-7.1.1-20170711.tar.bz2
/gcc-7.1.1-20170718.tar.bz2
+/gcc-7.1.1-20170802.tar.bz2
diff --git a/gcc.spec b/gcc.spec
index 685be5b..2cf6070 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20170718
-%global SVNREV 250298
+%global DATE 20170802
+%global SVNREV 250834
%global gcc_version 7.1.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 6
+%global gcc_release 7
%global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
%global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
%global _unpackaged_files_terminate_build 0
@@ -232,8 +232,6 @@ Patch8: gcc7-no-add-needed.patch
Patch9: gcc7-aarch64-async-unw-tables.patch
Patch10: gcc7-foffload-default.patch
Patch11: gcc7-Wno-format-security.patch
-Patch12: gcc7-rh1467526.patch
-Patch13: gcc7-pr81393.patch
Patch1000: nvptx-tools-no-ptxas.patch
Patch1001: nvptx-tools-build.patch
@@ -823,8 +821,6 @@ package or when debugging this package.
%patch9 -p0 -b .aarch64-async-unw-tables~
%patch10 -p0 -b .foffload-default~
%patch11 -p0 -b .Wno-format-security~
-%patch12 -p0 -b .rh1467526~
-%patch13 -p0 -b .pr81393~
cd nvptx-tools-%{nvptx_tools_gitrev}
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
@@ -3242,8 +3238,22 @@ fi
%endif
%changelog
-* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-6.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+* Wed Aug 2 2017 Jakub Jelinek <jakub@redhat.com> 7.1.1-7
+- update from the 7 branch
+ - 7.2-rc1
+ - PRs c++/71570, gcov-profile/81561, libgcc/61152, libquadmath/65757,
+ libstdc++/80553, libstdc++/80721, libstdc++/80737, libstdc++/80939,
+ libstdc++/81017, lto/81487, middle-end/79499, middle-end/81505,
+ rtl-optimization/75964, sanitize/81186, sanitizer/81021,
+ sanitizer/81224, sanitizer/81302, sanitizer/81604, target/79041,
+ target/80569, target/81069, target/81175, target/81193, target/81407,
+ target/81414, target/81471, target/81473, target/81534, target/81622,
+ target/81641, tree-optimization/71752, tree-optimization/80769,
+ tree-optimization/81162, tree-optimization/81388,
+ tree-optimization/81410, tree-optimization/81455,
+ tree-optimization/81555, tree-optimization/81556,
+ tree-optimization/81588, tree-optimization/81633,
+ tree-optimization/81655
* Tue Jul 18 2017 Jakub Jelinek <jakub@redhat.com> 7.1.1-6
- update from the 7 branch
diff --git a/gcc7-pr81393.patch b/gcc7-pr81393.patch
deleted file mode 100644
index 7c4fcbd..0000000
--- a/gcc7-pr81393.patch
+++ /dev/null
@@ -1,165 +0,0 @@
---- libgo/configure.ac (revision 249471)
-+++ libgo/configure.ac (revision 249472)
-@@ -580,7 +580,7 @@ AC_C_BIGENDIAN
-
- GCC_CHECK_UNWIND_GETIPINFO
-
--AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h)
-+AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h)
-
- AC_CHECK_HEADERS([linux/filter.h linux/if_addr.h linux/if_ether.h linux/if_tun.h linux/netlink.h linux/rtnetlink.h], [], [],
- [#ifdef HAVE_SYS_SOCKET_H
---- libgo/sysinfo.c (revision 249471)
-+++ libgo/sysinfo.c (revision 250324)
-@@ -102,6 +102,18 @@
- #if defined(HAVE_LINUX_NETLINK_H)
- #include <linux/netlink.h>
- #endif
-+#if defined(HAVE_LINUX_PTRACE_H)
-+/* Avoid https://sourceware.org/bugzilla/show_bug.cgi?id=762 . */
-+#define ia64_fpreg pt_ia64_fpreg
-+#define pt_all_user_regs pt_ia64_all_user_regs
-+/* Avoid redefinition of ptrace_peeksiginfo from <sys/ptrace.h>.
-+ https://gcc.gnu.org/PR81324 . */
-+#define ptrace_peeksiginfo_args ignore_ptrace_peeksiginfo_args
-+#include <linux/ptrace.h>
-+#undef ia64_fpreg
-+#undef pt_all_user_regs
-+#undef ptrace_peeksiginfo_args
-+#endif
- #if defined(HAVE_LINUX_RTNETLINK_H)
- #include <linux/rtnetlink.h>
- #endif
---- libgo/mksysinfo.sh (revision 249711)
-+++ libgo/mksysinfo.sh (revision 249712)
-@@ -294,16 +294,6 @@ upcase_fields () {
- # GNU/Linux specific; it should do no harm if there is no
- # _user_regs_struct.
- regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true`
--if test "$regs" = ""; then
-- # s390
-- regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true`
-- if test "$regs" != ""; then
-- # Substructures of __user_regs_struct on s390
-- upcase_fields "__user_psw_struct" "PtracePsw" >> ${OUT} || true
-- upcase_fields "__user_fpregs_struct" "PtraceFpregs" >> ${OUT} || true
-- upcase_fields "__user_per_struct" "PtracePer" >> ${OUT} || true
-- fi
--fi
- if test "$regs" != ""; then
- regs=`echo $regs |
- sed -e 's/type __*user_regs_struct struct //' -e 's/[{}]//g'`
---- libgo/go/syscall/syscall_linux_s390x.go (revision 250173)
-+++ libgo/go/syscall/syscall_linux_s390x.go (revision 250174)
-@@ -4,18 +4,45 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+// The PtraceRegs struct generated for go looks like this:
-+//
-+// type PtraceRegs struct
-+// {
-+// Psw _psw_t;
-+// Gprs [15+1]uint64;
-+// Acrs [15+1]uint32;
-+// Orig_gpr2 uint64;
-+// Fp_regs _s390_fp_regs;
-+// Per_info _per_struct;
-+// Ieee_instruction_pointer uint64;
-+// }
-+//
-+// The GETREGSET/SETREGSET ptrace commands on S/390 only read/write
-+// the content up to Orig_gpr2. Hence, we use
-+// PEEKUSR_AREA/POKEUSR_AREA like GDB does.
-+
- package syscall
-
- import "unsafe"
-
--func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
-+func (r *PtraceRegs) PC() uint64 { return r.Psw.addr }
-
--func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
-+func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = pc }
-
--func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+func PtraceGetRegs(pid int, regs *PtraceRegs) (err error) {
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint64(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_PEEKUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
-
- func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-- return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint64(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_POKEUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
---- libgo/go/syscall/syscall_linux_s390.go (revision 250173)
-+++ libgo/go/syscall/syscall_linux_s390.go (revision 250174)
-@@ -4,18 +4,30 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+// See the s390x version for why we don't use GETREGSET/SETREGSET
-+
- package syscall
-
- import "unsafe"
-
--func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.Addr) }
-+func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.addr) }
-
--func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = uint32(pc) }
-+func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = uint32(pc) }
-
--func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+func PtraceGetRegs(pid int, regs *PtraceRegs) (err error) {
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint32(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_PEEKUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
-
- func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-- return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint32(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_POKEUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
---- libgo/configure (revision 249471)
-+++ libgo/configure (revision 249472)
-@@ -14782,7 +14782,7 @@ $as_echo "#define HAVE_GETIPINFO 1" >>co
- fi
-
-
--for ac_header in port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
-+for ac_header in port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
- do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
---- libgo/config.h.in (revision 249471)
-+++ libgo/config.h.in (revision 249472)
-@@ -114,6 +114,9 @@
- /* Define to 1 if you have the <linux/netlink.h> header file. */
- #undef HAVE_LINUX_NETLINK_H
-
-+/* Define to 1 if you have the <linux/ptrace.h> header file. */
-+#undef HAVE_LINUX_PTRACE_H
-+
- /* Define to 1 if you have the <linux/reboot.h> header file. */
- #undef HAVE_LINUX_REBOOT_H
-
diff --git a/gcc7-rh1467526.patch b/gcc7-rh1467526.patch
deleted file mode 100644
index 44d28b8..0000000
--- a/gcc7-rh1467526.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
-
- * config/rs6000/float128-ifunc.c: Don't include auxv.h.
- (have_ieee_hw_p): Delete function.
- (SW_OR_HW) Use __builtin_cpu_supports().
-
---- libgcc/config/rs6000/float128-ifunc.c (revision 250060)
-+++ libgcc/config/rs6000/float128-ifunc.c (revision 250061)
-@@ -45,47 +45,7 @@
- #error "This module must not be compiled with IEEE 128-bit hardware support"
- #endif
-
--#include <sys/auxv.h>
--
--/* Use the namespace clean version of getauxval. However, not all versions of
-- sys/auxv.h declare it, so declare it here. This code is intended to be
-- temporary until a suitable version of __builtin_cpu_supports is added that
-- allows us to tell quickly if the machine supports IEEE 128-bit hardware. */
--extern unsigned long __getauxval (unsigned long);
--
--static int
--have_ieee_hw_p (void)
--{
-- static int ieee_hw_p = -1;
--
-- if (ieee_hw_p < 0)
-- {
-- char *p = (char *) __getauxval (AT_PLATFORM);
--
-- ieee_hw_p = 0;
--
-- /* Don't use atoi/strtol/strncmp/etc. These may require the normal
-- environment to be setup to set errno to 0, and the ifunc resolvers run
-- before the whole glibc environment is initialized. */
-- if (p && p[0] == 'p' && p[1] == 'o' && p[2] == 'w' && p[3] == 'e'
-- && p[4] == 'r')
-- {
-- long n = 0;
-- char ch;
--
-- p += 5;
-- while ((ch = *p++) >= '0' && (ch <= '9'))
-- n = (n * 10) + (ch - '0');
--
-- if (n >= 9)
-- ieee_hw_p = 1;
-- }
-- }
--
-- return ieee_hw_p;
--}
--
--#define SW_OR_HW(SW, HW) (have_ieee_hw_p () ? HW : SW)
-+#define SW_OR_HW(SW, HW) (__builtin_cpu_supports ("ieee128") ? HW : SW)
-
- /* Resolvers. */
-
diff --git a/sources b/sources
index 7e7623c..6d77451 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.1.1-20170718.tar.bz2) = 727b48bdcbee6b52ec8c64c930d4c1f714b35ffb7df25a9e548b53f5c7dfc5ecafcd82c2bfa04dc3a2ad5f939de196c3775b54bee2b608155eecc656242ed445
+SHA512 (gcc-7.1.1-20170802.tar.bz2) = 76a7bd4e97f4cb3c8f01ff5605431f7f21720bf58370055ff6ad0a7f414c25fc27c83b5a254103570a791de135ec4f48489717484eac89c5cb70dc6d34bd2b39
SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/gcc] rhel-f41-base: 7.1.1-7
@ 2026-06-29 12:27 Jakub Jelinek
0 siblings, 0 replies; 2+ 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 : 42139e4c56f5f43938ce7f603e67a62d811209ee
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2017-08-02T21:10:58+02:00
Stats : +22/-230 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/42139e4c56f5f43938ce7f603e67a62d811209ee?branch=rhel-f41-base
Log:
7.1.1-7
---
diff --git a/.gitignore b/.gitignore
index eba566a..726e10a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/gcc-7.1.1-20170708.tar.bz2
/gcc-7.1.1-20170711.tar.bz2
/gcc-7.1.1-20170718.tar.bz2
+/gcc-7.1.1-20170802.tar.bz2
diff --git a/gcc.spec b/gcc.spec
index c39f666..ceb2d0b 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20170718
-%global SVNREV 250298
+%global DATE 20170802
+%global SVNREV 250834
%global gcc_version 7.1.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 6
+%global gcc_release 7
%global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
%global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
%global _unpackaged_files_terminate_build 0
@@ -232,8 +232,6 @@ Patch8: gcc7-no-add-needed.patch
Patch9: gcc7-aarch64-async-unw-tables.patch
Patch10: gcc7-foffload-default.patch
Patch11: gcc7-Wno-format-security.patch
-Patch12: gcc7-rh1467526.patch
-Patch13: gcc7-pr81393.patch
Patch1000: nvptx-tools-no-ptxas.patch
Patch1001: nvptx-tools-build.patch
@@ -823,8 +821,6 @@ package or when debugging this package.
%patch9 -p0 -b .aarch64-async-unw-tables~
%patch10 -p0 -b .foffload-default~
%patch11 -p0 -b .Wno-format-security~
-%patch12 -p0 -b .rh1467526~
-%patch13 -p0 -b .pr81393~
cd nvptx-tools-%{nvptx_tools_gitrev}
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
@@ -3242,6 +3238,23 @@ fi
%endif
%changelog
+* Wed Aug 2 2017 Jakub Jelinek <jakub@redhat.com> 7.1.1-7
+- update from the 7 branch
+ - 7.2-rc1
+ - PRs c++/71570, gcov-profile/81561, libgcc/61152, libquadmath/65757,
+ libstdc++/80553, libstdc++/80721, libstdc++/80737, libstdc++/80939,
+ libstdc++/81017, lto/81487, middle-end/79499, middle-end/81505,
+ rtl-optimization/75964, sanitize/81186, sanitizer/81021,
+ sanitizer/81224, sanitizer/81302, sanitizer/81604, target/79041,
+ target/80569, target/81069, target/81175, target/81193, target/81407,
+ target/81414, target/81471, target/81473, target/81534, target/81622,
+ target/81641, tree-optimization/71752, tree-optimization/80769,
+ tree-optimization/81162, tree-optimization/81388,
+ tree-optimization/81410, tree-optimization/81455,
+ tree-optimization/81555, tree-optimization/81556,
+ tree-optimization/81588, tree-optimization/81633,
+ tree-optimization/81655
+
* Tue Jul 18 2017 Jakub Jelinek <jakub@redhat.com> 7.1.1-6
- update from the 7 branch
- PRs ada/81446, c++/81258, middle-end/80929, rtl-optimization/81424,
diff --git a/gcc7-pr81393.patch b/gcc7-pr81393.patch
deleted file mode 100644
index 7c4fcbd..0000000
--- a/gcc7-pr81393.patch
+++ /dev/null
@@ -1,165 +0,0 @@
---- libgo/configure.ac (revision 249471)
-+++ libgo/configure.ac (revision 249472)
-@@ -580,7 +580,7 @@ AC_C_BIGENDIAN
-
- GCC_CHECK_UNWIND_GETIPINFO
-
--AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h)
-+AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h)
-
- AC_CHECK_HEADERS([linux/filter.h linux/if_addr.h linux/if_ether.h linux/if_tun.h linux/netlink.h linux/rtnetlink.h], [], [],
- [#ifdef HAVE_SYS_SOCKET_H
---- libgo/sysinfo.c (revision 249471)
-+++ libgo/sysinfo.c (revision 250324)
-@@ -102,6 +102,18 @@
- #if defined(HAVE_LINUX_NETLINK_H)
- #include <linux/netlink.h>
- #endif
-+#if defined(HAVE_LINUX_PTRACE_H)
-+/* Avoid https://sourceware.org/bugzilla/show_bug.cgi?id=762 . */
-+#define ia64_fpreg pt_ia64_fpreg
-+#define pt_all_user_regs pt_ia64_all_user_regs
-+/* Avoid redefinition of ptrace_peeksiginfo from <sys/ptrace.h>.
-+ https://gcc.gnu.org/PR81324 . */
-+#define ptrace_peeksiginfo_args ignore_ptrace_peeksiginfo_args
-+#include <linux/ptrace.h>
-+#undef ia64_fpreg
-+#undef pt_all_user_regs
-+#undef ptrace_peeksiginfo_args
-+#endif
- #if defined(HAVE_LINUX_RTNETLINK_H)
- #include <linux/rtnetlink.h>
- #endif
---- libgo/mksysinfo.sh (revision 249711)
-+++ libgo/mksysinfo.sh (revision 249712)
-@@ -294,16 +294,6 @@ upcase_fields () {
- # GNU/Linux specific; it should do no harm if there is no
- # _user_regs_struct.
- regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true`
--if test "$regs" = ""; then
-- # s390
-- regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true`
-- if test "$regs" != ""; then
-- # Substructures of __user_regs_struct on s390
-- upcase_fields "__user_psw_struct" "PtracePsw" >> ${OUT} || true
-- upcase_fields "__user_fpregs_struct" "PtraceFpregs" >> ${OUT} || true
-- upcase_fields "__user_per_struct" "PtracePer" >> ${OUT} || true
-- fi
--fi
- if test "$regs" != ""; then
- regs=`echo $regs |
- sed -e 's/type __*user_regs_struct struct //' -e 's/[{}]//g'`
---- libgo/go/syscall/syscall_linux_s390x.go (revision 250173)
-+++ libgo/go/syscall/syscall_linux_s390x.go (revision 250174)
-@@ -4,18 +4,45 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+// The PtraceRegs struct generated for go looks like this:
-+//
-+// type PtraceRegs struct
-+// {
-+// Psw _psw_t;
-+// Gprs [15+1]uint64;
-+// Acrs [15+1]uint32;
-+// Orig_gpr2 uint64;
-+// Fp_regs _s390_fp_regs;
-+// Per_info _per_struct;
-+// Ieee_instruction_pointer uint64;
-+// }
-+//
-+// The GETREGSET/SETREGSET ptrace commands on S/390 only read/write
-+// the content up to Orig_gpr2. Hence, we use
-+// PEEKUSR_AREA/POKEUSR_AREA like GDB does.
-+
- package syscall
-
- import "unsafe"
-
--func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
-+func (r *PtraceRegs) PC() uint64 { return r.Psw.addr }
-
--func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
-+func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = pc }
-
--func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+func PtraceGetRegs(pid int, regs *PtraceRegs) (err error) {
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint64(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_PEEKUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
-
- func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-- return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint64(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_POKEUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
---- libgo/go/syscall/syscall_linux_s390.go (revision 250173)
-+++ libgo/go/syscall/syscall_linux_s390.go (revision 250174)
-@@ -4,18 +4,30 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-+// See the s390x version for why we don't use GETREGSET/SETREGSET
-+
- package syscall
-
- import "unsafe"
-
--func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.Addr) }
-+func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.addr) }
-
--func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = uint32(pc) }
-+func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = uint32(pc) }
-
--func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
-- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+func PtraceGetRegs(pid int, regs *PtraceRegs) (err error) {
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint32(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_PEEKUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
-
- func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
-- return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+ parea := _ptrace_area{
-+ _sizeof_ptrace_area,
-+ 0,
-+ uint32(uintptr(unsafe.Pointer(regs))),
-+ }
-+ return ptrace(PTRACE_POKEUSR_AREA, pid, uintptr(unsafe.Pointer(&parea)), 0)
- }
---- libgo/configure (revision 249471)
-+++ libgo/configure (revision 249472)
-@@ -14782,7 +14782,7 @@ $as_echo "#define HAVE_GETIPINFO 1" >>co
- fi
-
-
--for ac_header in port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
-+for ac_header in port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
- do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
- ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
---- libgo/config.h.in (revision 249471)
-+++ libgo/config.h.in (revision 249472)
-@@ -114,6 +114,9 @@
- /* Define to 1 if you have the <linux/netlink.h> header file. */
- #undef HAVE_LINUX_NETLINK_H
-
-+/* Define to 1 if you have the <linux/ptrace.h> header file. */
-+#undef HAVE_LINUX_PTRACE_H
-+
- /* Define to 1 if you have the <linux/reboot.h> header file. */
- #undef HAVE_LINUX_REBOOT_H
-
diff --git a/gcc7-rh1467526.patch b/gcc7-rh1467526.patch
deleted file mode 100644
index 44d28b8..0000000
--- a/gcc7-rh1467526.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
-
- * config/rs6000/float128-ifunc.c: Don't include auxv.h.
- (have_ieee_hw_p): Delete function.
- (SW_OR_HW) Use __builtin_cpu_supports().
-
---- libgcc/config/rs6000/float128-ifunc.c (revision 250060)
-+++ libgcc/config/rs6000/float128-ifunc.c (revision 250061)
-@@ -45,47 +45,7 @@
- #error "This module must not be compiled with IEEE 128-bit hardware support"
- #endif
-
--#include <sys/auxv.h>
--
--/* Use the namespace clean version of getauxval. However, not all versions of
-- sys/auxv.h declare it, so declare it here. This code is intended to be
-- temporary until a suitable version of __builtin_cpu_supports is added that
-- allows us to tell quickly if the machine supports IEEE 128-bit hardware. */
--extern unsigned long __getauxval (unsigned long);
--
--static int
--have_ieee_hw_p (void)
--{
-- static int ieee_hw_p = -1;
--
-- if (ieee_hw_p < 0)
-- {
-- char *p = (char *) __getauxval (AT_PLATFORM);
--
-- ieee_hw_p = 0;
--
-- /* Don't use atoi/strtol/strncmp/etc. These may require the normal
-- environment to be setup to set errno to 0, and the ifunc resolvers run
-- before the whole glibc environment is initialized. */
-- if (p && p[0] == 'p' && p[1] == 'o' && p[2] == 'w' && p[3] == 'e'
-- && p[4] == 'r')
-- {
-- long n = 0;
-- char ch;
--
-- p += 5;
-- while ((ch = *p++) >= '0' && (ch <= '9'))
-- n = (n * 10) + (ch - '0');
--
-- if (n >= 9)
-- ieee_hw_p = 1;
-- }
-- }
--
-- return ieee_hw_p;
--}
--
--#define SW_OR_HW(SW, HW) (have_ieee_hw_p () ? HW : SW)
-+#define SW_OR_HW(SW, HW) (__builtin_cpu_supports ("ieee128") ? HW : SW)
-
- /* Resolvers. */
-
diff --git a/sources b/sources
index 7e7623c..6d77451 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.1.1-20170718.tar.bz2) = 727b48bdcbee6b52ec8c64c930d4c1f714b35ffb7df25a9e548b53f5c7dfc5ecafcd82c2bfa04dc3a2ad5f939de196c3775b54bee2b608155eecc656242ed445
+SHA512 (gcc-7.1.1-20170802.tar.bz2) = 76a7bd4e97f4cb3c8f01ff5605431f7f21720bf58370055ff6ad0a7f414c25fc27c83b5a254103570a791de135ec4f48489717484eac89c5cb70dc6d34bd2b39
SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-29 12:27 UTC | newest]
Thread overview: 2+ 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.1.1-7 Jakub Jelinek
-- strict thread matches above, loose matches on Subject: below --
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