Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2020 12:13:46 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: aarch64 host based sysutils/u-boot-{pine64, rock64, rpi[34]} builds fail for: "aarch64-none-elf-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"
Message-ID:  <E5B9A9B4-B574-4303-BD17-F4366BBBD2DC@yahoo.com>
In-Reply-To: <0085757C-02B1-4CB9-9B67-01EB5D6AA86A@yahoo.com>
References:  <0085757C-02B1-4CB9-9B67-01EB5D6AA86A@yahoo.com>

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


On 2020-Apr-26, at 01:14, Mark Millard <marklmi at yahoo.com> wrote:

> The below where based on poudriere-devel based build attempts.
> /usr/ports/ was based on head -r532972 and aarch64 FreeBSD was
> based on head -r360311 . amd64 FreeBSD did not have the build
> problem for the aaarch64-targeted u-boot ports.
>=20
> The overall build is still going and more aarch64-targeted
> u-boot builds might fail.
>=20
>=20
> sysutils/u-boot-rpi4 :
>=20
>  aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall =
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding =
-std=3Dgnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -O2 =
-fno-stack-protector -fno-delete-null-pointer-checks =
-fmacro-prefix-map=3D./=3D -g -fstack-usage -Wno-format-nonliteral  =
-Werror=3Ddate-time  -D__KERNEL__ -D__UBOOT__   -D__ARM__           =
-fno-pic  -mstrict-align  -ffunction-sections -fdata-sections =
-fno-common -ffixed-r9     -fno-common -ffixed-x18 -pipe -Iinclude  =
-I./arch/arm/include -include ./include/linux/kconfig.h  -nostdinc =
-isystem /usr/local/lib/gcc/aarch64-none-elf/8.4.0/include -MQ =
include/config/auto.conf ./include/common.h > include/autoconf.mk.dep || =
{ rm include/autoconf.mk.dep; false; }
>  sed -n -f ./tools/scripts/define2mk.sed u-boot.cfg | while read line; =
do if [ -n "" ] || ! grep -q "${line%=3D*}=3D" include/config/auto.conf; =
then echo "$line"; fi done > include/autoconf.mk
> aarch64-none-elf-gcc: fatal error: -fuse-linker-plugin, but =
liblto_plugin.so not found
> compilation terminated.
> gmake[2]: *** [scripts/Makefile.autoconf:48: include/autoconf.mk.dep] =
Error 1
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[1]: *** No rule to make target 'include/config/auto.conf', =
needed by 'include/config/uboot.release'.  Stop.
> gmake[1]: Leaving directory =
'/wrkdirs/usr/ports/sysutils/u-boot-rpi4/work/u-boot-2020.04'
>=20
>=20
> sysutils/u-boot-rpi3 :
>=20
>  aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall =
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding =
-std=3Dgnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -O2 =
-fno-stack-protector -fno-delete-null-pointer-checks =
-fmacro-prefix-map=3D./=3D -g -fstack-usage -Wno-format-nonliteral  =
-Werror=3Ddate-time  -D__KERNEL__ -D__UBOOT__   -D__ARM__           =
-fno-pic  -mstrict-align  -ffunction-sections -fdata-sections =
-fno-common -ffixed-r9     -fno-common -ffixed-x18 -pipe -Iinclude  =
-I./arch/arm/include -include ./include/linux/kconfig.h  -nostdinc =
-isystem /usr/local/lib/gcc/aarch64-none-elf/8.4.0/include -MQ =
include/config/auto.conf ./include/common.h > include/autoconf.mk.dep || =
{ rm include/autoconf.mk.dep; false; }
> aarch64-none-elf-gcc: fatal error: -fuse-linker-plugin, but =
liblto_plugin.so not found
> compilation terminated.
> gmake[2]: *** [scripts/Makefile.autoconf:48: include/autoconf.mk.dep] =
Error 1
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[1]: *** No rule to make target 'include/config/auto.conf', =
needed by 'include/config/uboot.release'.  Stop.
> gmake[1]: Leaving directory =
'/wrkdirs/usr/ports/sysutils/u-boot-rpi3/work/u-boot-2020.04'


The pine64 and rock64 u-boot builds also failed this way.
With the rpi[34], those 4 are all the aarch64-targeted
u-boot builds that I tried.

By contrast, the armv7 u-boot's that I tried all completed:
orangepi-plus-2e, rpi2, and sinovoip-bpi-m3.


=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?E5B9A9B4-B574-4303-BD17-F4366BBBD2DC>