Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2018 11:03:53 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        tech-lists@zyxst.net, FreeBSD Ports <freebsd-ports@freebsd.org>, kevans@FreeBSD.org, Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   Re: aarch64-none-elf-gcc and related programs will not install
Message-ID:  <083A5BEA-4E72-4DC4-B3B1-B8BF49E5E546@yahoo.com>
In-Reply-To: <483906aa-540b-b5f3-7dc7-7fee3dd901ad@FreeBSD.org>
References:  <FE77451C-4401-4968-916E-B71E8D526019@yahoo.com> <483906aa-540b-b5f3-7dc7-7fee3dd901ad@FreeBSD.org>

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


On 2018-Jul-9, at 9:13 AM, John Baldwin <jhb at FreeBSD.org> wrote:

> On 7/7/18 5:56 PM, Mark Millard wrote:
>> Things seem to be in a confused state/status. Here is my limited =
understanding,
>> including what has me confused . . .
>>=20
>> =
https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/Makefile?=
revision=3D472670&view=3Dmarkup
>> shows that this is a slave port of powerpc64-gcc :
>>=20
>> 17	MASTERDIR=3D      ${.CURDIR}/../powerpc64-gcc
>>=20
>> (This looks to be true from when aarch64-none-elf-gcc/Makefile
>> was first checked in as well.)
>>=20
>> As of -r465416 powerpc64-gcc recursively removes:
>>=20
>> =
${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
>>=20
>> in post-install . (Other things are also removed.)
>>=20
>> ("include-fixed" tends to not track FreeBSD in a timely manor, for =
example.
>> I'll not get into all the issues that I'm aware of.)
>>=20
>> But =
https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/pkg-plist=
?revision=3D467716&view=3Dmarkup
>> shows:
>>=20
>> 23	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
>> 24	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h
>> 25	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h
>> 26	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_nat.h
>> 27	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_proxy.h
>> 28	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_scan.h
>> 29	=
lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_state.h
>> 30	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
>> 31	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
>> 32	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
>> 33	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
>> 34	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
>> 35	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
>> 36	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
>> 37	lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h
>>=20
>> and so has references to files that do not exist as far as I can tell
>> so far.
>>=20
>> Most/all other slave ports of powerpc64-gcc have had such
>> references removed as I understand.
>>=20
>> For example, -r437977 removed:
>>=20
>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README	=20
>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h	=20=

>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
>>=20
>> in devel/aarch64-gcc/pkg-plist .
>>=20
>> But -r466699 (that included aarch64-none-elf-gcc changes) says:
>>=20
>> Author:	jhb
>> Date:	Sat Apr 7 00:26:46 2018 UTC (3 months ago)
>> Changed paths:	3
>> Log Message:=09
>> Fix two more issues with r465416
>>=20
>> . . .
>> - Don't remove the include-fixed headers for the aarch64-none-elf-gcc
>>  and arm-none-eabi-gcc packages.
>> . . .
>>=20
>> Reported by:	kevans (2)
>> Reviewed by:	bdrewery, kevans
>> Differential Revision:=09
>> https://reviews.freebsd.org/D14925
>=20
> This made the RM conditional if you look at the diff:
>=20
> .if empty(PKGNAMEPREFIX:M*-*-)
>        @${RM} -r =
${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
> .endif
>=20
> The conditional should only apply to xtoolchain gcc ports (e.g. =
amd64-gcc)
> not to aarch64-none-elf-gcc.
>=20
> I don't have the context from the start of this thread to know what is =
broken
> though.

Somehow I missed the conditional code. Sorry.

https://svnweb.freebsd.org/ports/branches/2018Q2/devel/ goes
back to -r466125 before the conditional was added.

It looks like https://svnweb.freebsd.org/ports/branches/2018Q3/devel/
was only established about 7 days ago as/at -r473710 .

So if the quarterly 2018Q2 was in use at the time, that would explain
the types messages.

=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?083A5BEA-4E72-4DC4-B3B1-B8BF49E5E546>