From owner-freebsd-toolchain@freebsd.org Sun Apr 8 02:14:55 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 EE321F995A5 for ; Sun, 8 Apr 2018 02:14:54 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (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 858297E9DC; Sun, 8 Apr 2018 02:14:54 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by mail-qk0-x243.google.com with SMTP id c188so5554474qkg.2; Sat, 07 Apr 2018 19:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=36Y/jpEc3xd/eApmA0wI57nxB7JpfrA5zfne6botV7M=; b=dAod1NQW11jqEm00YCm9wYF+YDN2pf3ZGKopwZDX/c8N2hZqCcHbYLsB5i+84hYbII J8AOt7vDYS6yPn1yeZXK0iuXnMtgv6xZsYd7NKlW2LFGU56C+9aMuPmU22zPT2az6dik G60QH3FLmJnMX6/yMzzJZKuF8YeVDFQ7W7Y1Mca+c4VtIYCYQa/iDNeB/tp9L5w2pBub OIZnJHDUZp2cTRMj9swufIpXopnrPL/CsQxlNsiZLBI724Hde41iNrItx5YvlXmfSRDT UlLZo6wMsoFBbmnvHPFfpX3GlRsliiJTjhxY+oKJhTJj+oPi0f3F0xE319MllhrCjq6c u4Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=36Y/jpEc3xd/eApmA0wI57nxB7JpfrA5zfne6botV7M=; b=WdlkNswqetKoO3rGs9WAH7caG04mn7XO4Pr0wgJsGYc9qqYrcDCbPyDhIWBFBGw0Vt t/xc+1sTDberywedJez++TKHIg+Y+a79fM5gG7fhnJ6wQ6IvfynSbkZwmlLEsPn1ei0p J1hNXnnP2vUo+aizB6S57jdtrFpcHYbFmLiFee3CbFDNmoyz+cDg2l9k+YoZ981xRiww N/MnwhOWeo9IxM+V+8lZ1blc7hMShbzqsV8035RUAJgg4Y4Jp8B1XZOIzAK4DXvjW8aJ CYxZbTc8heHIqaWIHij9FXjRbjssDWDImkn0twZyT8ZFh9O6gaRFpa2K5BJFmqTY/i1g DdUQ== X-Gm-Message-State: ALQs6tCXa/Lu3pykoJViSHx+8G95fzqVUFSlJ2xXRQYGgdJjFuAUjVYY KTB4rQ6gGgSZLLrDFAHwF5dpYBw7 X-Google-Smtp-Source: AIpwx49J8X9tOrgSXcU152xtS/6NzabRtZsEEhoaNIyGldCn1rkMKYtHvNaYQfW5kCkYo8F/AaEOlQ== X-Received: by 10.55.3.140 with SMTP id 134mr43977868qkd.26.1523153694084; Sat, 07 Apr 2018 19:14:54 -0700 (PDT) Received: from kan ([2601:18f:802:4680:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id m28sm3825956qta.73.2018.04.07.19.14.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Apr 2018 19:14:53 -0700 (PDT) Date: Sat, 7 Apr 2018 22:14:47 -0400 From: Alexander Kabaev To: Mark Millard Cc: freebsd-toolchain@freebsd.org, John Baldwin Subject: Re: amd64-binutils file name structure for utils vs. for powerpc64-binutils and aarch64-binutils Message-ID: <20180407221447.63e016cc@kan> In-Reply-To: <4410009D-E857-4BB0-B865-9294D24187F5@yahoo.com> References: <20180407184317.3ab301e2@kan> <20180407193742.1c6cd33d@kan> <4410009D-E857-4BB0-B865-9294D24187F5@yahoo.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/2czACRa.oUqIcc1n9lAv4PM"; protocol="application/pgp-signature" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2018 02:14:55 -0000 --Sig_/2czACRa.oUqIcc1n9lAv4PM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 7 Apr 2018 17:01:30 -0700 Mark Millard wrote: > On 2018-Apr-7, at 4:37 PM, Alexander Kabaev > wrote: >=20 > > On Sat, 7 Apr 2018 18:43:17 -0400 > > Alexander Kabaev wrote: > >=20 > > Come to think of it, I am not sure I understand the problem. > > amd64-binutils installs "proper" x86_64-freebsd-prefixed binaries. > > Did you expect amd64-freebsd-* ? =20 >=20 > My understanding was that cross-build tools are now supposed > to have the -unknown and the os version (12.0 here) even > when the cross-build is targeting the same environment as the > host environment. In other words: that it is not supposed to > be the same as plain binutils for the host but as-if it was > from a different architecture. >=20 > But I was checking my understanding. In part because it used > to be that, for example, on amd64 the aarch64-binutils also > omitted the -unknown and 12.0 but now has them. I just had > to update my environment's references to such for that. (This > was not a self-hosted cross-build context and it changed.) >=20 > Also, there is a recent check-in, -r466699 , for ports that, > in part, says: >=20 > Log: > Fix two more issues with r465416. > =20 > - Force build of a cross-compiler by defining > CROSS_DIRECTORY_STRUCTURE in CFLAGS even if the build host matches > the build target. This fixes such a cross compiler to not > include /usr/local/lib in its default library path (e.g. amd64-gcc > when built on amd64). >=20 >=20 >=20 > But that was for powerpc64-gcc, not powerpc64-binutils (for example). > I do not know for sure if similar points should also apply to > *-binutils ports. So, again, I was checking. >=20 > (I might have just got involved between already-made and other pending > updates for all I know.) >=20 >=20 > --=20 > Alexander Kabaev >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) Since I am not the maintainer of binutils ports, I missed wholesale rename. I suspect something like the patch below will make amd64-binutils follow the convention: P164: https://reviews.freebsd.org/P164 --=20 Alexander Kabaev --Sig_/2czACRa.oUqIcc1n9lAv4PM Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEExffZlZm2QeE8UVaRBxMimZJ5Ln4FAlrJexdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM1 RjdEOTk1OTlCNjQxRTEzQzUxNTY5MTA3MTMyMjk5OTI3OTJFN0UACgkQBxMimZJ5 Ln52kg//d4dbHc7byxxoWx59iKs6qrXxvV/qRdHvuOiUfvXicMY3pR9ZvdFXCIPX 0NlUWfNvDOD3v2wMFwQ6bxp5BH8GsM0FWMDSXZ9Ve+igESg0NjM98ZL5l5bEInLB K7THmu8WIm824bHUo/qxl5QfJy72Vqcp5z6YdTTk84rWYYztdxaRejqQAdCvHW4U vHf8wQEN25urek4uozfcms2Y17WfYlsIcvtxXWQrrzy1XSuozo6rG3zC+nzUeStn 3vs2NUjqcwGpf/Omrb7HRHDHvKjSO8OuTf1qA3obN8AUf1rLwotYhnLxbPn3Pp+d dDri+BrwvVQ9q9R1bdwBgqI60mBYv54EIvznUd/ILFRUtIl9s50wSNEJc/oxVFkU XrNGThT3xDS+gx+sxCIv9mKyooiPb2TGDYpLENqYP4TJ+OcKxp6zHkXGoKWQhlWe yiTx0SuJqCu3FJ5CuOqUDMy9X82mByeb4ER/EQKhti4DtBasBZ+uRYkLirfoPnxQ 4OmQOhySDYGv/BsfotP4ZNueeoFWUBgKSKHviNmkVGIzgJowzfeGuve/l/UFi0wg eKAwG+JXHJ1ncLdX7NgexqSCdxZCcCtXEc2tc90Zw8O4jeryfkHxp4VIlCtX/Rxc QaBDnI/3s+rdVv6rzjo1MsxU6lup/VXTcmrFoalh7xt9EIRILg8= =cCRp -----END PGP SIGNATURE----- --Sig_/2czACRa.oUqIcc1n9lAv4PM--