From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-85810-garchives=archives.gentoo.org@lists.gentoo.org>
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 C62C0138334
	for <garchives@archives.gentoo.org>; Mon, 27 Aug 2018 03:52:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 512ACE091B;
	Mon, 27 Aug 2018 03:52:11 +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 EC260E08EC
	for <gentoo-dev@lists.gentoo.org>; Mon, 27 Aug 2018 03:52:09 +0000 (UTC)
Received: from muon (vm4.gentoo.osuosl.org [140.211.166.172])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: heroxbd)
	by smtp.gentoo.org (Postfix) with ESMTPSA id EB501335C7F
	for <gentoo-dev@lists.gentoo.org>; Mon, 27 Aug 2018 03:52:07 +0000 (UTC)
Received: from [2001:470:4c22:ae86:babe:10:0:1] (port=58872 helo=proton)
	by muon with esmtp (Exim 4.89)
	(envelope-from <heroxbd@gentoo.org>)
	id 1fu8ZQ-0001y5-R5
	for gentoo-dev@lists.gentoo.org; Mon, 27 Aug 2018 03:52:05 +0000
From: Benda Xu <heroxbd@gentoo.org>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] RFC: removal of keyword arm-linux
Date: Mon, 27 Aug 2018 12:52:04 +0900
Message-ID: <8736v0zct7.fsf@proton.d.airelinux.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain
X-Archives-Salt: 35fb4d89-a5b4-403a-96a9-dbb01f9621fe
X-Archives-Hash: 63bafa051cccd1eb3d2ade16823671fa

Hi,

As the Perl Team raised the issue of "arm-linux" keywords in the
ebuilds[1], I think it is a good chance to completely remove them from
our tree.

What is "arm-linux" keyword?  Gentoo Prefix has 2 kinds of profiles.  An
libc profile builds glibc in a Prefix and uses implicit keywords, while
An rpath profile uses host glibc and uses explicit keywords
"${ARCH}-linux".  Therefore arm-linux represents rpath flavor of arm
Prefix.

In the profiles/, however, we use "arm-linux" to represent Prefix in
arch.list and profiles.desc.  And that bears no relation with keywords
in the ebuilds.


How did "arm-linux" appear?  Around 2013, both the ARM Arch Team and the
Prefix Team were interested in supporting Prefix on ARM.  In the Prefix
Team, a debate of implicit vs explicit keywording was on-going.  At the
same time, the ARM Arch Team went ahead to plant arm-linux into the
tree.

What is the status of "arm-linux" keywords?  They are unmaintained and
has not been touched for 5+ years.  At present, the Prefix Project is
phasing out Linux rpath profiles and using libc profiles as default.
There has been no commit in the gentoo.git history regarding "arm-linux"
keyword. The gentoo-x86 CVS history shows the commit author was mainly
Zac (zmedico).

What is recommended?  Just use the "arm" keyword, it has been proven to
work well as an implicit ARM Prefix keyword by the Android Project[2].


"arm-linux" is considered deprecated, unmaintained and easily replaced
by "arm".  I propose removing it from gentoo.git completely.

Yours,
Benda


1. https://bugs.gentoo.org/664598
2. https://wiki.gentoo.org/wiki/Android/Devices