From owner-freebsd-toolchain@freebsd.org Sat Nov 30 18:31:12 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A7241B3246 for ; Sat, 30 Nov 2019 18:31:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47QKhH3FqMz4KNs for ; Sat, 30 Nov 2019 18:31:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 3jxZs3YVM1nIrEVi.uUbiDLusg7TtVGQkNHXY3omk6qup4Ccp1Gt0Wrd0gq6yeG V1qjHYCj0tSzpwQ8vPoIdLWd5Ha8bRSZbt..aA6tahXzYtO15Pd_Tow.6Mp8NJxwCF5D05mFk3Cu 9p9JghYhl3kz9Gf9SlBys6FZA3KVNsZOgBPUonzoYuoAJe77g3sI9qnRd7fksASRUxNLp615Qqaw a2xU.x43JWgGPRhQCFmvMuPBYRA1SSSlUpmSxU7zoWmfOXmlw6eMC58pO3O7mDiB5RbNGoYhcZ.H M7Z8C.WNcs.ObIXESL7R9hgdGhaR4WAMiKzqCd3zopgDLTXGhMLiDqO.oukD0deLE0BlBdnjYyxq X1qDJUNp5ZgJtGwkLx0vDsC1Zb4WP9lNdWt0HtX5EbUFZwmL0prhmI8IRtnF6lqS7AszHIsPYfBR .uB5k2WNDQ2NkmffOSr9e.YCjvsXpg6N1K77Jx41Ob1r2RphdtGY4jYVls4tEwHy3JGettfrcg5l 9yGL1i8hgS4MXrwevZfFqb7LUeJ0vcCtL1IP8ln2IaOnzlRH.hsDGe507EGK_R47LMwgzAy50_Jz UVlmkv3o2lMNQi7HIxGtdzjEys5XaAH9ig5wqsSuM_wjxxNGzAlq4KWepXWaJQ4QzGInbG2jZ6mm JqriaVgviKXly0NO3Vl1GsH6YGx91JF_sMHVYjR9bHD0lWTGY8TqlC1uLNMGWEs06HgxHCJSwzcW MnZtyRYq_7tCud6PKutwaBQh21XOZXASvpEJlh4EBowIUQPgH64JlFK7RRInqxEi.NEt1QWcF3VQ ThFLPUgJ_f8QtryLfXryHvsOsSXYOwGnJ85cEwWlPJvuCaXrq7Y1ZnTKtrRY9H_d4O.jktxwSs_d dHlyF20t6hqNmx6xDVK0_jUAJ_E7NqbMfHY0K0woRZENviY_9mDRIdKaBWXi84RN_MJXHv52m6E6 wCXWH.37w.MCg927bXUQQncDP5qUauHReESaW5dc5oyxCzi.IjcvT5uUMZnf5_c_zcErkjOYeRc_ X5Nio88tgRx12hBce4ecAPM0k6TsdMYdyoAHOrMUz.9vk0X.NSIPBPJ81jyoKiwEvhtz_XuPfbwH .yrZbyXGUPW48cK5oHWVsrh.VKFj.rlJ.DchmLzlf5mlEvS36.R9tMkLOQibJ2TAdNcH3Aqpa2u7 PacLOGRmAKyGQUjTbwvQHFPCR7hd_45Dfly0aqyNz1y0e4in7ySXSGBikgL21Ualbk7RRkqfzRJM fWpk7.nV5vnXnpdTxxQAQQUS.mN83NhI4iMzKuNunU6Q9_rGdyEE9ccnAJUDPmKreqUknVzdFvg3 6foM7p2O13DZEfCihP2T.UIa.7ptzeFmGmuP6mY4PGpyBq8csEWqBVLCFNcsd5eAIacWimnMTsXw YlY1zWwI_K3Kgp_N20GB24dTIMbVBvg1nVOJ8HjzFpNNB Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Sat, 30 Nov 2019 18:31:09 +0000 Received: by smtp419.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0c7df29d79632bfde4dfe68cfeab064f; Sat, 30 Nov 2019 18:31:07 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: [Bug 239813] Update lang/gcc9, lang/gcc9-devel, lang/gcc8, and lang/gcc8-devel to ELFv2 ABI on powerpc64 From: Mark Millard In-Reply-To: <78E581FE-E457-49A4-A6F0-1C85EC623A94@yahoo.com> Date: Sat, 30 Nov 2019 10:31:05 -0800 Cc: Mark Linimon , freebsd-ppc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <59781281-A43A-4D2C-BFFD-7168C83F6B13@yahoo.com> <091e1406-812a-f07c-2ad7-afa96bc9b953@FreeBSD.org> <20191120035853.GA23048@lonesome.com> <78E581FE-E457-49A4-A6F0-1C85EC623A94@yahoo.com> To: FreeBSD Toolchain , Baptiste Daroussin X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47QKhH3FqMz4KNs X-Spamd-Bar: / X-Spamd-Result: default: False [-0.04 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.08)[0.082,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[148.64.137.98.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.38)[0.375,0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (5.19), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 18:31:12 -0000 On 2019-Nov-19, at 20:14, Mark Millard via freebsd-ppc wrote: > On 2019-Nov-19, at 19:58, Mark Linimon = wrote: >=20 >>> devel/freebsd-gcc6 >>> devel/freebsd-gcc6@aarch64 >>=20 >> These two ports are exactly equivalent. >>=20 >> I did not have enough time before the commit to puzzle out a way to >> work around that. I have limited understanding of flavors. >>=20 >> The way it *should* work IMHO is for the former to refuse to build >> with a message like "is a meta port -- nothing to build." This is >> used in several other existing masterports. >>=20 >=20 > Ahh. That helps explain the use of "native" in devel/binutils and > why it is listed first and that there is a matching default, from > looking . . . >=20 > FLAVORS=3D native aarch64 aarch64_none_elf amd64 arm_gnueabi = arm_none_eabi \ > avr i386 mingw32 mips mips64 powerpc64 riscv64 s390x = sparc64 > FLAVOR?=3D native >=20 > Looks like that makes testing for the default (or literal native here) = testable: >=20 > .if ${FLAVOR} !=3D native >=20 > So adding an extra flavor as a default could allow for generating an = error? >=20 > Thanks for the note. It helped me understand what to expect and what = to watch > out for. >=20 Hmm. On an aarch64 machine I could not use: pkg install freebsd-gcc6@aarch64 after my poudriere bulk run. I had to use: pkg install freebsd-gcc6 So there are places where the two notations are not equivalent, despite aarch64 being listed first for freebsd-gcc6's FLAVORS. One has to know what the FLAVORS list starts with in order to know what to type in some contexts; one can not just always type in the @flavor notation. This was for: # pkg -v 1.12.0 It reported: # pkg install devel/freebsd-gcc6@aarch64 Updating custom repository catalogue... custom repository is up to date. All repositories are up to date. pkg: No packages available to install matching = 'devel/freebsd-gcc6@aarch64' have been found in the repositories The file for the poudriere bulk -f listed: devel/freebsd-gcc6@aarch64 (despite the context being aarch64 in the first place). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)