From owner-freebsd-toolchain@freebsd.org Thu Jul 5 15:44:05 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 1294C1034C96 for ; Thu, 5 Jul 2018 15:44:05 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 874F383784 for ; Thu, 5 Jul 2018 15:44:04 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-wm0-f48.google.com with SMTP id v25-v6so12069003wmc.0 for ; Thu, 05 Jul 2018 08:44:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DWtZx9ljfH5fpdKj2rwlHDBtt45wT1vLLdPHO4IcpCM=; b=Qb7MIAm+OVKFCfbEn5HHJ6H1zlaz+8mAbJr7XX/mHp+Bb+Ule1g4xmb0YJum1YkcVu cEhOqJmVGHDDgGI56eAMmDiz91Zbu5h3g2CYBbMweYLQ8yUK5tGZx+AF2CQ+KiuV7ddX 6ilbXiXWt8WtT7Xz2oT2OytKgm/fdyQtdYcImXceQRqIIAgRbCin8HqYN4es6N1haIYG U4iIpP61o4HZnv0Df7bdznhsfnUyq64siD+fLrkTVYC4iR3Wsagftf/Ryb23juzylL+2 pX++rIFUzjh7nO0oRyKqXY6oYyVex0xSFDHXRAT+HuM7Ii9MaMzEGczMKBVCLwWPWxB5 bFJg== X-Gm-Message-State: APt69E2+ehTpZWwmUMFcqg7swXlkRP5MVRBBrCiRUkEALgWVWemITCIZ ONzrqfVdlkZCyH2asddiy90ZtQyAKdl0XiAV0Fc0rV6t X-Google-Smtp-Source: AAOMgpeWnpniPYnqaEGZTHFYvmxA2yFlSaSFveC3fZmw+bxUquIWHNrgcILO6wepL5W4xnX/96FWAGssU49rVS4y7Yw= X-Received: by 2002:a1c:b1d7:: with SMTP id a206-v6mr4725870wmf.61.1530805436660; Thu, 05 Jul 2018 08:43:56 -0700 (PDT) MIME-Version: 1.0 From: Li-Wen Hsu Date: Thu, 5 Jul 2018 16:43:45 +0100 Message-ID: Subject: Do we need FreeBSD's minor version in gcc and binutils paths? To: FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" 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 15:44:05 -0000 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. Li-Wen -- Li-Wen Hsu https://lwhsu.org