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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D525138331 for ; Sat, 3 Sep 2016 17:35:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBE3AE0B4B; Sat, 3 Sep 2016 17:35:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31BBCE0B25 for ; Sat, 3 Sep 2016 17:35:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90A53340961 for ; Sat, 3 Sep 2016 17:35:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4523246E for ; Sat, 3 Sep 2016 17:35:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1472924130.1cba74ccbbac94faacfe3ca83eae0b6516a5e54c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-3.9.0.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1cba74ccbbac94faacfe3ca83eae0b6516a5e54c X-VCS-Branch: master Date: Sat, 3 Sep 2016 17:35:39 +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-Archives-Salt: c707f285-2de7-41d5-8586-6114c0891788 X-Archives-Hash: 4ea12d223cecaf57fbfd4196c5a14654 commit: 1cba74ccbbac94faacfe3ca83eae0b6516a5e54c Author: Michał Górny gentoo org> AuthorDate: Sat Sep 3 14:46:49 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 3 17:35:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cba74cc sys-devel/llvm: Readd WX stack fix to 3.9.0 sys-devel/llvm/llvm-3.9.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-devel/llvm/llvm-3.9.0.ebuild b/sys-devel/llvm/llvm-3.9.0.ebuild index ed79ebb..3752c6d 100644 --- a/sys-devel/llvm/llvm-3.9.0.ebuild +++ b/sys-devel/llvm/llvm-3.9.0.ebuild @@ -202,6 +202,15 @@ src_prepare() { # Fix git-clang-format shebang, bug #562688 python_fix_shebang tools/clang/tools/clang-format/git-clang-format + + pushd projects/compiler-rt >/dev/null || die + + # Fix WX sections, bug #421527 + find lib/builtins -type f -name '*.S' -exec sed \ + -e '$a\\n#if defined(__linux__) && defined(__ELF__)\n.section .note.GNU-stack,"",%progbits\n#endif' \ + -i {} + || die + + popd >/dev/null || die fi if use lldb; then