From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S3AyQ-0007xN-DC for garchives@archives.gentoo.org; Thu, 01 Mar 2012 18:43:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94A95E07C9; Thu, 1 Mar 2012 18:43:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 65250E07C9 for ; Thu, 1 Mar 2012 18:43:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6CB61B4028 for ; Thu, 1 Mar 2012 18:43:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 55D33E4C22 for ; Thu, 1 Mar 2012 18:43:16 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1330579687.97f8b65255f856e69caceb7bd40ccaa3a5e7c98b.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 97f8b65255f856e69caceb7bd40ccaa3a5e7c98b X-VCS-Branch: master Date: Thu, 1 Mar 2012 18:43:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: dcac2b76-3f6a-40da-b817-10a72f21a2cc X-Archives-Hash: 2de0243e20514e65f6c188aa8dd66b28 commit: 97f8b65255f856e69caceb7bd40ccaa3a5e7c98b Author: Mike Frysinger gentoo org> AuthorDate: Wed Feb 29 23:03:47 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Mar 1 05:28:07 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/crossdev.git;= a=3Dcommit;h=3D97f8b652 crossdev: ignore collisions in build-id paths Signed-off-by: Mike Frysinger gentoo.org> --- crossdev | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/crossdev b/crossdev index 8979ca3..cc505bb 100755 --- a/crossdev +++ b/crossdev @@ -794,9 +794,19 @@ set_env() { local pkg=3D$1 env=3D$2 output shift ; shift =20 + # We have to ignore collisions in the build-id tree because it's + # easy to create a cross-program that is the same. For example, + # if we try to build gdb for both arm-eabi and cross-arm-linux-gnueabi, + # then these gdb's might have the same build-id and try to install + # into the same paths. Ignoring the collisions isn't great since + # updating one can drop the symlink for another, but for now, it's + # the best we've got without implementing reference counting on + # installed paths in the PM. + output=3D"env/cross-${CTARGET}/${pkg}.conf" cat <<-EOF > "${output}" SYMLINK_LIB=3Dno + COLLISION_IGNORE=3D"\${COLLISION_IGNORE} /usr/lib/debug/.build-id" $(printf '%b' "${env}") EOF =20