Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 20:14:27 -0800
From:      Mark Millard <marklmi26-fbsd@yahoo.com>
To:        Mark Linimon <linimon@lonesome.com>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, freebsd-ppc@freebsd.org
Subject:   Re: [Bug 239813] Update lang/gcc9, lang/gcc9-devel, lang/gcc8, and lang/gcc8-devel to ELFv2 ABI on powerpc64
Message-ID:  <78E581FE-E457-49A4-A6F0-1C85EC623A94@yahoo.com>
In-Reply-To: <20191120035853.GA23048@lonesome.com>
References:  <bug-239813-34538-V3hQNQV8PB@https.bugs.freebsd.org/bugzilla/> <59781281-A43A-4D2C-BFFD-7168C83F6B13@yahoo.com> <091e1406-812a-f07c-2ad7-afa96bc9b953@FreeBSD.org> <FB89A178-3D4E-4A4E-82AA-DF8BEEE7E371@yahoo.com> <20191120035853.GA23048@lonesome.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2019-Nov-19, at 19:58, Mark Linimon <linimon@lonesome.com> wrote:

>> 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

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 . . .

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

Looks like that makes testing for the default (or literal native here) =
testable:

.if ${FLAVOR} !=3D native

So adding an extra flavor as a default could allow for generating an =
error?

Thanks for the note. It helped me understand what to expect and what to =
watch
out for.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78E581FE-E457-49A4-A6F0-1C85EC623A94>