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 01CF91382C5 for ; Sat, 10 Mar 2018 14:05:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3774CE08C8; Sat, 10 Mar 2018 14:05:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15100E08C8 for ; Sat, 10 Mar 2018 14:05:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24433335C2A for ; Sat, 10 Mar 2018 14:05:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A78E9241 for ; Sat, 10 Mar 2018 14:05:54 +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: <1520690746.43ba0dabac8afb4fc205e5282f3eb42935408854.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-6.0.0.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 43ba0dabac8afb4fc205e5282f3eb42935408854 X-VCS-Branch: master Date: Sat, 10 Mar 2018 14:05:54 +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: 33b36c4a-34a8-4517-b438-5ad7d64ed35b X-Archives-Hash: 52880a94f2278c3ade87afbf35f803a8 commit: 43ba0dabac8afb4fc205e5282f3eb42935408854 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 10 14:04:52 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 10 14:05:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ba0dab sys-devel/llvm: Temporarily refuse to build w/ GCC-7 due to hangs Bug: https://bugs.gentoo.org/649880 sys-devel/llvm/llvm-6.0.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-devel/llvm/llvm-6.0.0.ebuild b/sys-devel/llvm/llvm-6.0.0.ebuild index e474af58c92..f38524606bb 100644 --- a/sys-devel/llvm/llvm-6.0.0.ebuild +++ b/sys-devel/llvm/llvm-6.0.0.ebuild @@ -75,6 +75,15 @@ S=${WORKDIR}/${P/_/}.src # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo +pkg_pretend() { + if tc-is-gcc && [[ $(gcc-major-version) -ge 7 ]]; then + eerror "GCC 7 is known to cause mis-compilation that causes the build to hang." + eerror "Please use an older version to build LLVM until a good solution is found." + eerror "Bug report: https://bugs.gentoo.org/649880" + die "GCC-7+ is not supported" + fi +} + src_prepare() { # Fix llvm-config for shared linking and sane flags # https://bugs.gentoo.org/show_bug.cgi?id=565358