public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marek Polacek <polacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: 14.0.1-0.17
Date: Mon, 29 Jun 2026 12:30:34 GMT	[thread overview]
Message-ID: <178273623464.1.14633821335209381355.rpms-gcc-20746dd85fbe@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : rhel-f41-base
            Commit : 20746dd85fbe810c19ef7e6dea76d3a110bb4a4d
            Author : Marek Polacek <polacek@redhat.com>
            Date   : 2024-05-03T14:49:35-04:00
            Stats  : +10/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/20746dd85fbe810c19ef7e6dea76d3a110bb4a4d?branch=rhel-f41-base

            Log:
            14.0.1-0.17

Enable hardening and configure with --enable-host-pie --enable-host-bind-now on RHEL

---
diff --git a/gcc.spec b/gcc.spec
index 1e20d45..3a3ec20 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -8,9 +8,11 @@
 %global nvptx_tools_gitrev 9962793f41e016318dc5eca07ae602041cf526ff
 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed
 %global _unpackaged_files_terminate_build 0
+%if 0%{?fedora:1}
 %global _performance_build 1
 # Hardening slows the compiler way too much.
 %undefine _hardened_build
+%endif
 %undefine _auto_set_build_flags
 %if 0%{?fedora} > 27 || 0%{?rhel} > 7
 # Until annobin is fixed (#1519165).
@@ -141,7 +143,7 @@
 Summary: Various compilers (C, C++, Objective-C, ...)
 Name: gcc
 Version: %{gcc_version}
-Release: %{gcc_release}.16%{?dist}
+Release: %{gcc_release}.17%{?dist}
 # License notes for some of the less obvious ones:
 #   gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
 #   isl: MIT, BSD-2-Clause
@@ -1271,6 +1273,9 @@ CONFIGURE_OPTS="\
 	--with-build-config=bootstrap-lto --enable-link-serialization=1 \
 %endif
 %endif
+%if 0%{?rhel:1}
+	--enable-host-pie --enable-host-bind-now \
+%endif
 	"
 
 CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
@@ -3623,6 +3628,10 @@ end
 %endif
 
 %changelog
+* Fri May  3 2024 Marek Polacek <polacek@redhat.com> 14.0.1-0.17
+- enable hardening and configure with --enable-host-pie --enable-host-bind-now
+  on RHEL
+
 * Tue Apr 30 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.16
 - update from trunk and releases/gcc-14 branch
   - GCC 14.1.0-rc1

                 reply	other threads:[~2026-06-29 12:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178273623464.1.14633821335209381355.rpms-gcc-20746dd85fbe@fedoraproject.org \
    --to=polacek@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox