From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B42B158041 for ; Sun, 7 Apr 2024 23:25:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE365E2A99; Sun, 7 Apr 2024 23:25:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0895E2A99 for ; Sun, 7 Apr 2024 23:25:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D330134334C for ; Sun, 7 Apr 2024 23:25:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D69D8169B for ; Sun, 7 Apr 2024 23:25:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1712532212.257336021ebdc63cdd390487506f23d83f04ab91.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 14.0.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 14.0.0/gentoo/02_all_default-warn-format-security.patch 14.0.0/gentoo/04_all_nossp-on-nostdlib.patch 14.0.0/gentoo/README.history X-VCS-Directories: 14.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 257336021ebdc63cdd390487506f23d83f04ab91 X-VCS-Branch: master Date: Sun, 7 Apr 2024 23:25:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e60e4d1b-e30f-48fd-acb4-4eb04be04a77 X-Archives-Hash: 1f710740f6dfcf664e3e728682a8994a commit: 257336021ebdc63cdd390487506f23d83f04ab91 Author: Sam James gentoo org> AuthorDate: Sun Apr 7 23:23:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 7 23:23:32 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=25733602 14.0.0: rebase patches Signed-off-by: Sam James gentoo.org> 14.0.0/gentoo/02_all_default-warn-format-security.patch | 9 ++++----- 14.0.0/gentoo/04_all_nossp-on-nostdlib.patch | 9 +++++---- 14.0.0/gentoo/README.history | 5 +++++ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/14.0.0/gentoo/02_all_default-warn-format-security.patch b/14.0.0/gentoo/02_all_default-warn-format-security.patch index 9723a1c..439d9d8 100644 --- a/14.0.0/gentoo/02_all_default-warn-format-security.patch +++ b/14.0.0/gentoo/02_all_default-warn-format-security.patch @@ -1,9 +1,8 @@ Enable -Wformat and -Wformat-security by default. - --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt -@@ -696,7 +696,7 @@ Warn about function calls with format strings that write past the end - of the destination region. Same as -Wformat-overflow=1. +@@ -770,7 +770,7 @@ Warn about function calls with format strings that write past the end + of the destination region. Wformat-security -C ObjC C++ ObjC++ Var(warn_format_security) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0) @@ -11,7 +10,7 @@ Enable -Wformat and -Wformat-security by default. Warn about possible security problems with format functions. Wformat-signedness -@@ -717,7 +717,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_length) Warning LangEnabledBy(C ObjC C++ +@@ -795,7 +795,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_length) Warning LangEnabledBy(C ObjC C++ Warn about zero-length formats. Wformat= @@ -19,4 +18,4 @@ Enable -Wformat and -Wformat-security by default. +C ObjC C++ ObjC++ Joined RejectNegative UInteger Var(warn_format) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall, 1, 0) IntegerRange(0, 2) Warn about printf/scanf/strftime/strfmon format string anomalies. - Wformat-overflow= + Wframe-address diff --git a/14.0.0/gentoo/04_all_nossp-on-nostdlib.patch b/14.0.0/gentoo/04_all_nossp-on-nostdlib.patch index b633d7f..30c5825 100644 --- a/14.0.0/gentoo/04_all_nossp-on-nostdlib.patch +++ b/14.0.0/gentoo/04_all_nossp-on-nostdlib.patch @@ -1,5 +1,4 @@ -Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding - +│Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding https://bugs.gentoo.org/484714 --- a/gcc/gcc.cc +++ b/gcc/gcc.cc @@ -16,12 +15,14 @@ https://bugs.gentoo.org/484714 #ifndef LINK_SSP_SPEC #ifdef TARGET_LIBC_PROVIDES_SSP #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ -@@ -1280,7 +1286,7 @@ static const char *cc1_options = +@@ -1286,7 +1292,7 @@ static const char *cc1_options = %{-version:--version}\ %{-help=*:--help=%*}\ %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %w%b.s}}}\ - %{fsyntax-only:-o %j} %{-param*}\ + %{fsyntax-only:-o %j} %{-param*} " NO_SSP_SPEC "\ %{coverage:-fprofile-arcs -ftest-coverage}\ - %{fprofile-arcs|fprofile-generate*|coverage:\ + %{fprofile-arcs|fcondition-coverage|fprofile-generate*|coverage:\ %{!fprofile-update=single:\ +-- +2.44.0 diff --git a/14.0.0/gentoo/README.history b/14.0.0/gentoo/README.history index 33e0319..8e0250c 100644 --- a/14.0.0/gentoo/README.history +++ b/14.0.0/gentoo/README.history @@ -1,3 +1,8 @@ +26 7 Apr 2024 + + U 02_all_default-warn-format-security.patch + U 04_all_nossp-on-nostdlib.patch + 25 11 Mar 2024 - 50_all_PR111632_system_cxx_headers_libcxx.patch