From owner-freebsd-toolchain@freebsd.org Thu Jul 5 17:12:19 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02F40103EC53 for ; Thu, 5 Jul 2018 17:12:18 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CF5B8A342; Thu, 5 Jul 2018 17:12:18 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 5EF9810AFD2; Thu, 5 Jul 2018 13:12:17 -0400 (EDT) Subject: Re: Do we need FreeBSD's minor version in gcc and binutils paths? To: Li-Wen Hsu , FreeBSD Toolchain References: From: John Baldwin Message-ID: Date: Thu, 5 Jul 2018 10:12:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 05 Jul 2018 13:12:17 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 17:12:19 -0000 On 7/5/18 8:43 AM, Li-Wen Hsu wrote: > For example, currently packages of 11.x are built on 11.1 so > aarch64-gcc installs /usr/local/bin/aarch64-unknown-freebsd11.1-gcc > and aarch64-binutils install /usr/local/aarch64-unknown-freebsd11.1/bin/ld > > This is a bit weird to see these on a 11.2 system, also causes some > problem while testing alone with local-built toolchains. > > Does it make sense to strip the minor version in the paths? > i.e. change to something like /usr/local/bin/aarch64-unknown-freebsd11-gcc > > I think this should be fine since we guarantee ABI stable in a stable branch. For the xtoolchain packages I want to strip the versions entirely since they are the OS version of the machine that built the package and not the target version of the OS being built (and they should really be the latter). -- John Baldwin