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 0E8B7158020 for ; Wed, 2 Nov 2022 17:07:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5605FE091A; Wed, 2 Nov 2022 17:07:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 3C037E091A for ; Wed, 2 Nov 2022 17:07:35 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4D1D340F4B for ; Wed, 2 Nov 2022 17:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5576562F for ; Wed, 2 Nov 2022 17:07:32 +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: <1667408847.01fd5d7f44dee4836111388a119aad4b5b3b232c.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 13.1.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 13.1.0/gentoo/12_all_disable-systemtap-switch.patch X-VCS-Directories: 13.1.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 01fd5d7f44dee4836111388a119aad4b5b3b232c X-VCS-Branch: master Date: Wed, 2 Nov 2022 17:07:32 +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: cd95206e-0b83-4b8b-8797-8bbe1c6774a9 X-Archives-Hash: ab6eb9beeb04a3f181b2f5d225dc57a4 commit: 01fd5d7f44dee4836111388a119aad4b5b3b232c Author: Sam James gentoo org> AuthorDate: Wed Nov 2 17:06:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 2 17:07:27 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=01fd5d7f 13: drop upstreamed 12_all_disable-systemtap-switch.patch Bug: https://bugs.gentoo.org/879049 Signed-off-by: Sam James gentoo.org> .../gentoo/12_all_disable-systemtap-switch.patch | 122 --------------------- 1 file changed, 122 deletions(-) diff --git a/13.1.0/gentoo/12_all_disable-systemtap-switch.patch b/13.1.0/gentoo/12_all_disable-systemtap-switch.patch deleted file mode 100644 index 4d69141..0000000 --- a/13.1.0/gentoo/12_all_disable-systemtap-switch.patch +++ /dev/null @@ -1,122 +0,0 @@ -From bb510ed7ea82093c924b027489db6f92250a85b3 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Sat, 12 May 2018 12:56:46 +0100 -Subject: [PATCH] gcc/configure.ac: add --disable-systemtap switch - -Before the change systemtap probes were enabled -if target headers had sys/sdt.h at ./configure time. - -After the change explicitly ask to enable or disable -for probe support and not rely on automagic dependency -discovery. - -Bug: https://bugs.gentoo.org/654748 -Bug: https://gcc.gnu.org/bugzilla/PR61257 -Signed-off-by: Sergei Trofimovich ---- - gcc/configure | 34 ++++++++++++++++++++++++++-------- - gcc/configure.ac | 30 ++++++++++++++++++++++-------- - 2 files changed, 48 insertions(+), 16 deletions(-) - -diff --git a/gcc/configure b/gcc/configure -index 3dcf7752b..c2049f117 100755 ---- a/gcc/configure -+++ b/gcc/configure -@@ -1015,6 +1015,7 @@ enable_gnu_unique_object - enable_linker_build_id - enable_libssp - enable_default_ssp -+enable_systemtap - with_long_double_128 - with_long_double_format - with_gc -@@ -1773,6 +1774,7 @@ Optional Features: - compiler will always pass --build-id to linker - --enable-libssp enable linking against libssp - --enable-default-ssp enable Stack Smashing Protection as default -+ --disable-systemtap enable systemtap static probe points [default=auto] - --enable-maintainer-mode - enable make rules and dependencies not useful (and - sometimes confusing) to the casual installer -@@ -31387,17 +31389,33 @@ fi - - # Test for on the target. - --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 -+ -+# Check whether --enable-systemtap was given. -+if test "${enable_systemtap+set}" = set; then : -+ enableval=$enable_systemtap; enable_systemtap=$enableval -+else -+ enable_systemtap=auto -+fi -+ -+ -+if test x$enable_systemtap != xno; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5 - $as_echo_n "checking sys/sdt.h in the target C library... " >&6; } --have_sys_sdt_h=no --if test -f $target_header_dir/sys/sdt.h; then -- have_sys_sdt_h=yes -+ have_sys_sdt_h=no -+ if test -f $target_header_dir/sys/sdt.h ; then -+ have_sys_sdt_h=yes - - $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h - --fi --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5 - $as_echo "$have_sys_sdt_h" >&6; } -+ if test x$enable_systemtap = xyes ; then -+ if test x$have_sys_sdt_h = xno ; then -+ as_fn_error $? "sys/sdt.h was not found" "$LINENO" 5 -+ fi -+ fi -+fi - - # Check if TFmode long double should be used by default or not. - # Some glibc targets used DFmode long double, but with glibc 2.4 ---- a/gcc/configure.ac -+++ b/gcc/configure.ac -@@ -6904,14 +6904,28 @@ AC_SUBST([enable_default_ssp]) - - # Test for on the target. - GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H]) --AC_MSG_CHECKING(sys/sdt.h in the target C library) --have_sys_sdt_h=no --if test -f $target_header_dir/sys/sdt.h; then -- have_sys_sdt_h=yes -- AC_DEFINE(HAVE_SYS_SDT_H, 1, -- [Define if your target C library provides sys/sdt.h]) --fi --AC_MSG_RESULT($have_sys_sdt_h) -+ -+AC_ARG_ENABLE(systemtap, -+[AS_HELP_STRING([--disable-systemtap], -+ [enable systemtap static probe points [default=auto]])], -+ enable_systemtap=$enableval, -+ enable_systemtap=auto) -+ -+if test x$enable_systemtap != xno; then -+ AC_MSG_CHECKING(sys/sdt.h in the target C library) -+ have_sys_sdt_h=no -+ if test -f $target_header_dir/sys/sdt.h ; then -+ have_sys_sdt_h=yes -+ AC_DEFINE(HAVE_SYS_SDT_H, 1, -+ [Define if your target C library provides sys/sdt.h]) -+ fi -+ AC_MSG_RESULT($have_sys_sdt_h) -+ if test x$enable_systemtap = xyes ; then -+ if test x$have_sys_sdt_h = xno ; then -+ AC_MSG_ERROR([sys/sdt.h was not found]) -+ fi -+ fi -+fi - - # Check if TFmode long double should be used by default or not. - # Some glibc targets used DFmode long double, but with glibc 2.4 --- -2.17.0 -