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 DED91138334 for ; Tue, 1 Oct 2019 07:01:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12846E08BB; Tue, 1 Oct 2019 07:01:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D826CE08BB for ; Tue, 1 Oct 2019 07:01:07 +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 6749134B743 for ; Tue, 1 Oct 2019 07:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E38A7FE for ; Tue, 1 Oct 2019 07:01:03 +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: <1569913256.8e7f35cf227ecd05010c9bca29d2431342622f26.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/files/9.0.0/, sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-9.0.0.ebuild sys-devel/clang/files/9.0.0/0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch X-VCS-Directories: sys-devel/clang/files/9.0.0/ sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8e7f35cf227ecd05010c9bca29d2431342622f26 X-VCS-Branch: master Date: Tue, 1 Oct 2019 07:01:03 +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: 0f579851-c6c2-4944-8bda-57fa405a3d55 X-Archives-Hash: 4f63eab6300cacfcfa25f2a294780604 commit: 8e7f35cf227ecd05010c9bca29d2431342622f26 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 1 06:15:33 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 1 07:00:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7f35cf sys-devel/clang: Fix test failure due to '.src' in path Closes: https://bugs.gentoo.org/695412 Signed-off-by: Michał Górny gentoo.org> sys-devel/clang/clang-9.0.0.ebuild | 3 ++ ...modules.cpp-test-to-work-when-build-direc.patch | 35 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sys-devel/clang/clang-9.0.0.ebuild b/sys-devel/clang/clang-9.0.0.ebuild index 4a4b325876a..43b4cf171f1 100644 --- a/sys-devel/clang/clang-9.0.0.ebuild +++ b/sys-devel/clang/clang-9.0.0.ebuild @@ -73,6 +73,9 @@ PATCHES=( # fix build with gcc-9.0.0 # https://bugs.llvm.org/show_bug.cgi?id=40547 "${FILESDIR}"/9.0.0/0002-Initialize-all-fields-in-ABIArgInfo.patch + # fix silly test failure due to '.src' in path + # https://bugs.llvm.org/show_bug.cgi?id=42979 + "${FILESDIR}"/9.0.0/0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch ) # Multilib notes: diff --git a/sys-devel/clang/files/9.0.0/0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch b/sys-devel/clang/files/9.0.0/0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch new file mode 100644 index 00000000000..250302da8e4 --- /dev/null +++ b/sys-devel/clang/files/9.0.0/0003-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch @@ -0,0 +1,35 @@ +From f18d747107de3504ceac73abc1ec351fe8f58c95 Mon Sep 17 00:00:00 2001 +From: Tom Stellard +Date: Mon, 30 Sep 2019 23:42:17 +0000 +Subject: [PATCH] Fix Driver/modules.cpp test to work when build directory name + contains '.s' + +Reviewers: dyung, rsmith, hansw + +Subscribers: mati865, mgorny, cfe-commits + +Tags: #clang + +Differential Revision: https://reviews.llvm.org/D66176 + +llvm-svn: 373275 +--- + clang/test/Driver/modules.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/clang/test/Driver/modules.cpp b/clang/test/Driver/modules.cpp +index 7c549c1300f..4f4e3a41400 100644 +--- a/test/Driver/modules.cpp ++++ b/test/Driver/modules.cpp +@@ -15,7 +15,7 @@ + // RUN: %clang -std=c++2a %t/module.pcm -S -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE + // + // CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}} +-// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}} ++// CHECK-COMPILE-SAME: -o {{.*}}module{{2*}}.pcm.o + // CHECK-COMPILE-SAME: -x pcm + // CHECK-COMPILE-SAME: {{.*}}.pcm + +-- +2.23.0 +