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 6242E158094 for ; Wed, 22 Jun 2022 18:35:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FB07E0A62; Wed, 22 Jun 2022 18:35:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6055DE0A62 for ; Wed, 22 Jun 2022 18:35:16 +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 7D01E341863 for ; Wed, 22 Jun 2022 18:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBCF9510 for ; Wed, 22 Jun 2022 18:35:13 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1655922904.e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/files/, dev-util/roctracer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch dev-util/roctracer/roctracer-4.3.0-r2.ebuild dev-util/roctracer/roctracer-5.0.2.ebuild X-VCS-Directories: dev-util/roctracer/ dev-util/roctracer/files/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9 X-VCS-Branch: master Date: Wed, 22 Jun 2022 18:35:13 +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: 41d558e6-d90a-4cb8-8e3b-c5e360025190 X-Archives-Hash: 953ff03821101304d3b8fcdf99f3932f commit: e8114ae86f9257cfcb4fd37a0ea228e6bdf6bae9 Author: Yiyang Wu gmail com> AuthorDate: Wed Jun 22 13:49:13 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jun 22 18:35:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8114ae8 dev-util/roctracer: patch to respect LDFLAG Closes: https://bugs.gentoo.org/766851 Signed-off-by: Yiyang Wu gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25891 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch | 13 +++++++++++++ dev-util/roctracer/roctracer-4.3.0-r2.ebuild | 1 + dev-util/roctracer/roctracer-5.0.2.ebuild | 1 + 3 files changed, 15 insertions(+) diff --git a/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch b/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch new file mode 100644 index 000000000000..a1db6922158a --- /dev/null +++ b/dev-util/roctracer/files/roctracer-4.3.0-ldflag.patch @@ -0,0 +1,13 @@ +Index: roctracer-rocm-4.3.0/cmake_modules/env.cmake +=================================================================== +--- roctracer-rocm-4.3.0.orig/cmake_modules/env.cmake ++++ roctracer-rocm-4.3.0/cmake_modules/env.cmake +@@ -51,7 +51,7 @@ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fmerge-all-constants" ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" ) + +-set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bdynamic -Wl,-z,noexecstack" ) ++set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bdynamic -Wl,-z,noexecstack" ) + + set ( CMAKE_SKIP_BUILD_RPATH TRUE ) + diff --git a/dev-util/roctracer/roctracer-4.3.0-r2.ebuild b/dev-util/roctracer/roctracer-4.3.0-r2.ebuild index 88fb2b6669fb..e5c7872fe3a1 100644 --- a/dev-util/roctracer/roctracer-4.3.0-r2.ebuild +++ b/dev-util/roctracer/roctracer-4.3.0-r2.ebuild @@ -31,6 +31,7 @@ BDEPEND=" PATCHES=( # https://github.com/ROCm-Developer-Tools/roctracer/pull/63 "${FILESDIR}"/${PN}-4.3.0-glibc-2.34.patch + "${FILESDIR}"/${PN}-4.3.0-ldflag.patch "${FILESDIR}"/${PN}-4.3.0-tracer_tool.patch ) diff --git a/dev-util/roctracer/roctracer-5.0.2.ebuild b/dev-util/roctracer/roctracer-5.0.2.ebuild index 755100264624..efabd899d252 100644 --- a/dev-util/roctracer/roctracer-5.0.2.ebuild +++ b/dev-util/roctracer/roctracer-5.0.2.ebuild @@ -31,6 +31,7 @@ BDEPEND=" PATCHES=( # https://github.com/ROCm-Developer-Tools/roctracer/pull/63 "${FILESDIR}"/${PN}-4.3.0-glibc-2.34.patch + "${FILESDIR}"/${PN}-4.3.0-ldflag.patch "${FILESDIR}"/${PN}-4.3.0-tracer_tool.patch "${FILESDIR}"/${PN}-5.0.2-Werror.patch "${FILESDIR}"/${PN}-5.0.2-headers.patch