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 1DCD71382C5 for ; Mon, 7 May 2018 06:38:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D953E088B; Mon, 7 May 2018 06:38:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 DE898E088B for ; Mon, 7 May 2018 06:38:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 070DB335C04 for ; Mon, 7 May 2018 06:38:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E5703B for ; Mon, 7 May 2018 06:38:00 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1525675030.e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/criu/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/criu/criu-3.7.ebuild X-VCS-Directories: sys-process/criu/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03 X-VCS-Branch: master Date: Mon, 7 May 2018 06:38:00 +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: 2f478fd1-70fa-4a58-952b-05b0e74dc43e X-Archives-Hash: 58acd5811d10e632dc0a409b6d3679c2 commit: e0cd3d9f23b1d6caa25abcc9aaf4521c52dabc03 Author: Rahul Chaudhry chromium org> AuthorDate: Mon May 7 06:35:51 2018 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon May 7 06:37:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cd3d9f sys-process/criu: disable use of the gold linker The criu build process uses a custom linker script that doesn't play well the output of the gold linker leading to build failures. Disable gold for now to avoid this. sys-process/criu/criu-3.7.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-process/criu/criu-3.7.ebuild b/sys-process/criu/criu-3.7.ebuild index 1c2c80e5b56..9a72bb4c705 100644 --- a/sys-process/criu/criu-3.7.ebuild +++ b/sys-process/criu/criu-3.7.ebuild @@ -66,6 +66,12 @@ src_prepare() { fi } +src_configure() { + # Gold linker generates invalid object file when used with criu's custom + # linker script. Use the bfd linker instead. See https://crbug.com/839665#c3 + tc-ld-disable-gold +} + src_compile() { RAW_LDFLAGS="$(raw-ldflags)" emake \ CC="$(tc-getCC)" \