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"
On 2020-Apr-29, at 10:22, Emmanuel Vadot wrote: > On Wed, 29 Apr 2020 12:50:36 +0200 > Emmanuel Vadot wrote: > >> On Wed, 29 Apr 2020 01:36:01 -0700 >> Mark Millard wrote: >> >>> [Build successes for building via poudriere-devel. >>> Message history removed.] >>> >>> Based on (some whitespace details might not survive): >>> >>> # svnlite diff /usr/ports/devel/aarch64-none-elf-gcc/ >>> Index: /usr/ports/devel/aarch64-none-elf-gcc/Makefile >>> === >>> --- /usr/ports/devel/aarch64-none-elf-gcc/Makefile (revision 533162) >>> +++ /usr/ports/devel/aarch64-none-elf-gcc/Makefile (working copy) >>> @@ -19,7 +19,8 @@ >>> LIB_DEPENDS=libgmp.so:math/gmp \ >>> libmpfr.so:math/mpfr \ >>> libmpc.so:math/mpc >>> -BUILD_DEPENDS= >>> ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} >>> +BUILD_DEPENDS= >>> ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} \ >>> + objdump:devel/binutils >> >> That brings binutils-native as a build depend, which works on aarch64 >> but I don't think it will for cross building. >> But yes the solution is something like that, the "missing" objdump >> seems to make gcc not building the plugins. >> >>> RUN_DEPENDS= >>> ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} >>> >>> USES= gmake iconv libtool tar:xz makeinfo compiler:c++11-lang >>> >>> >>> Things then finish (extracted messages from an amd64->aarch64 >>> poudriere-based >>> nxb-bin involved cross-build): >>> >>> [00:14:17] [04] [00:13:40] Finished devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1: Success >>> [00:15:16] [02] [00:00:57] Finished sysutils/atf-sun50i_a64 | >>> atf-sun50i_a64-v2.3: Success >>> [00:15:19] [01] [00:01:00] Finished sysutils/atf-rk3328 | atf-rk3328-v2.3: >>> Success >>> [00:16:10] [05] [00:15:33] Finished devel/arm-none-eabi-gcc | >>> arm-none-eabi-gcc-8.4.0_1: Success >>> [00:21:34] [04] [00:07:15] Finished sysutils/u-boot-rpi4 | >>> u-boot-rpi4-2020.04: Success >>> [00:21:56] [03] [00:07:37] Finished sysutils/u-boot-rpi3 | >>> u-boot-rpi3-2020.04: Success >>> [00:30:31] [06] [00:14:19] Finished sysutils/u-boot-rpi2 | >>> u-boot-rpi2-2020.04: Success >>> [00:35:15] [07] [00:19:03] Finished sysutils/u-boot-sinovoip-bpi-m3 | >>> u-boot-sinovoip-bpi-m3-2020.04: Success >>> [00:35:34] [01] [00:20:15] Finished sysutils/u-boot-rock64 | >>> u-boot-rock64-2020.04: Success >>> [00:35:41] [05] [00:19:29] Finished sysutils/u-boot-orangepi-plus-2e | >>> u-boot-orangepi-plus-2e-2020.04: Success >>> >>> (u-boot-pine64 still in process due to MAKE_JOBS_UNSAFE=yes use.) >>> >>> aarch64 native builds also finished (not shown). >>> >>> amd64 poudriere-based builds (non-qemu) also finished: >>> >>> [00:03:22] [01] [00:03:08] Finished devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1: Success >>> [00:03:31] [03] [00:00:08] Finished sysutils/atf-sun50i_a64 | >>> atf-sun50i_a64-v2.3: Success >>> [00:03:31] [01] [00:00:08] Finished sysutils/atf-rk3328 | atf-rk3328-v2.3: >>> Success >>> [00:03:33] [02] [00:03:19] Finished devel/arm-none-eabi-gcc | >>> arm-none-eabi-gcc-8.4.0_1: Success >>> [00:04:00] [04] [00:00:37] Finished sysutils/u-boot-rpi3 | >>> u-boot-rpi3-2020.04: Success >>> [00:04:01] [05] [00:00:38] Finished sysutils/u-boot-rpi4 | >>> u-boot-rpi4-2020.04: Success >>> [00:04:18] [06] [00:00:44] Finished sysutils/u-boot-rpi2 | >>> u-boot-rpi2-2020.04: Success >>> [00:04:40] [02] [00:01:06] Finished sysutils/u-boot-orangepi-plus-2e | >>> u-boot-orangepi-plus-2e-2020.04: Success >>> [00:04:41] [07] [00:01:07] Finished sysutils/u-boot-sinovoip-bpi-m3 | >>> u-boot-sinovoip-bpi-m3-2020.04: Success >>> [00:04:42] [01] [00:01:10] Finished sysutils/u-boot-rock64 | >>> u-boot-rock64-2020.04: Success >>> [00:06:46] [03] [00:03:15] Finished sysutils/u-boot-pine64 | >>> u-boot-pine64-2020.04: Success >>> >>> >>> >>> FYI: >>> >>> # svnlite diff /usr/ports/sysutils/u-boot-pine64/ >>> Index: /usr/ports/sysutils/u-boot-pine64/Makefile >>> === >>> --- /usr/ports/sysutils/u-boot-pine64/Makefile (revision 533162) >>> +++ /usr/ports/sysutils/u-boot-pine64/Makefile (working copy) >>> @@ -6,4 +6,6 @@ >>> BOARD_CONFIG= pine64_plus_defconfig >>> FAMILY= allwinner64 >>> >>> +MAKE_JOBS_UNSAFE=yes >>> + >>> .include "${MASTERDIR}/Makefile" >>> >>> based on historical build-race problems specific to pine64's >>> u-boot build. But it makes the qemu-based build take a very >>> long time. >>> >>> >>> === >>> Mark Millard >>> marklmi at yahoo.com >>> ( dsl-only.net went >>> away in early 2018-Mar) >>> >> >> >> -- >> Emmanuel Vadot >> ___ >> freebsd-...@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to
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"
[Build successes for building via poudriere-devel. Message history removed.] Based on (some whitespace details might not survive): # svnlite diff /usr/ports/devel/aarch64-none-elf-gcc/ Index: /usr/ports/devel/aarch64-none-elf-gcc/Makefile === --- /usr/ports/devel/aarch64-none-elf-gcc/Makefile (revision 533162) +++ /usr/ports/devel/aarch64-none-elf-gcc/Makefile (working copy) @@ -19,7 +19,8 @@ LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc -BUILD_DEPENDS= ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} +BUILD_DEPENDS= ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} \ + objdump:devel/binutils RUN_DEPENDS= ${GCC_TARGET}-as:devel/binutils@${PKGNAMEPREFIX:C/-$//:C/-/_/g} USES= gmake iconv libtool tar:xz makeinfo compiler:c++11-lang Things then finish (extracted messages from an amd64->aarch64 poudriere-based nxb-bin involved cross-build): [00:14:17] [04] [00:13:40] Finished devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1: Success [00:15:16] [02] [00:00:57] Finished sysutils/atf-sun50i_a64 | atf-sun50i_a64-v2.3: Success [00:15:19] [01] [00:01:00] Finished sysutils/atf-rk3328 | atf-rk3328-v2.3: Success [00:16:10] [05] [00:15:33] Finished devel/arm-none-eabi-gcc | arm-none-eabi-gcc-8.4.0_1: Success [00:21:34] [04] [00:07:15] Finished sysutils/u-boot-rpi4 | u-boot-rpi4-2020.04: Success [00:21:56] [03] [00:07:37] Finished sysutils/u-boot-rpi3 | u-boot-rpi3-2020.04: Success [00:30:31] [06] [00:14:19] Finished sysutils/u-boot-rpi2 | u-boot-rpi2-2020.04: Success [00:35:15] [07] [00:19:03] Finished sysutils/u-boot-sinovoip-bpi-m3 | u-boot-sinovoip-bpi-m3-2020.04: Success [00:35:34] [01] [00:20:15] Finished sysutils/u-boot-rock64 | u-boot-rock64-2020.04: Success [00:35:41] [05] [00:19:29] Finished sysutils/u-boot-orangepi-plus-2e | u-boot-orangepi-plus-2e-2020.04: Success (u-boot-pine64 still in process due to MAKE_JOBS_UNSAFE=yes use.) aarch64 native builds also finished (not shown). amd64 poudriere-based builds (non-qemu) also finished: [00:03:22] [01] [00:03:08] Finished devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1: Success [00:03:31] [03] [00:00:08] Finished sysutils/atf-sun50i_a64 | atf-sun50i_a64-v2.3: Success [00:03:31] [01] [00:00:08] Finished sysutils/atf-rk3328 | atf-rk3328-v2.3: Success [00:03:33] [02] [00:03:19] Finished devel/arm-none-eabi-gcc | arm-none-eabi-gcc-8.4.0_1: Success [00:04:00] [04] [00:00:37] Finished sysutils/u-boot-rpi3 | u-boot-rpi3-2020.04: Success [00:04:01] [05] [00:00:38] Finished sysutils/u-boot-rpi4 | u-boot-rpi4-2020.04: Success [00:04:18] [06] [00:00:44] Finished sysutils/u-boot-rpi2 | u-boot-rpi2-2020.04: Success [00:04:40] [02] [00:01:06] Finished sysutils/u-boot-orangepi-plus-2e | u-boot-orangepi-plus-2e-2020.04: Success [00:04:41] [07] [00:01:07] Finished sysutils/u-boot-sinovoip-bpi-m3 | u-boot-sinovoip-bpi-m3-2020.04: Success [00:04:42] [01] [00:01:10] Finished sysutils/u-boot-rock64 | u-boot-rock64-2020.04: Success [00:06:46] [03] [00:03:15] Finished sysutils/u-boot-pine64 | u-boot-pine64-2020.04: Success FYI: # svnlite diff /usr/ports/sysutils/u-boot-pine64/ Index: /usr/ports/sysutils/u-boot-pine64/Makefile === --- /usr/ports/sysutils/u-boot-pine64/Makefile (revision 533162) +++ /usr/ports/sysutils/u-boot-pine64/Makefile (working copy) @@ -6,4 +6,6 @@ BOARD_CONFIG= pine64_plus_defconfig FAMILY=allwinner64 +MAKE_JOBS_UNSAFE=yes + .include "${MASTERDIR}/Makefile" based on historical build-race problems specific to pine64's u-boot build. But it makes the qemu-based build take a very long time. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
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"
[Looks like more than objdump may be involved for /usr/local/aarch64-none-elf/bin/ use.] On 2020-Apr-28, at 14:00, Mark Millard wrote: > [Found a cause of the poudiere vs. not distinction.] > > On 2020-Apr-28, at 13:01, Mark Millard wrote: >> >> On 2020-Apr-28, at 09:23, Mark Millard wrote: >> >>> On 2020-Apr-28, at 07:39, Emmanuel Vadot wrote: >>> On Mon, 27 Apr 2020 20:14:47 -0700 Mark Millard wrote: > On 2020-Apr-27, at 17:15, Mark Millard wrote: > >> On 2020-Apr-27, at 11:46, Emmanuel Vadot >> wrote: >> >>> On Mon, 27 Apr 2020 12:32:46 +0200 >>> Emmanuel Vadot wrote: >>> On Sun, 26 Apr 2020 12:13:46 -0700 . . . >>> >>> This is solved with r533162. >>> I've tested that sysutils/u-boot-pine64-lts build and boots fine. >>> Let me know if you have still any issues. >> >> The poudriere-devel runs based on updating /usr/ports content >> ended up scheduling 190 package builds, including a couple of >> llvm*'s. Depending on where in the sequence things happen, it >> could be some time before having such full-native results. >> >> In a amd64->aarch64 pouriere-devel based cross-build, with >> nxb-bin in use (a faster build environment in my context), >> I got: >> >> . . . >> gmake[4]: Leaving directory >> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' >> gmake[3]: Leaving directory >> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' >> gmake[2]: Leaving directory >> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' >> gmake[1]: Leaving directory >> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' >> > Compressing man pages (compress-man) >> === >> ===> > >> ===> Building package for aarch64-none-elf-gcc-8.4.0_1 >> pkg-static: Unable to access file >> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/gtype.state:No >> such file or directory >> pkg-static: Unable to access file >> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No >> such file or direct >> ory >> pkg-static: Unable to access file >> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/addresses.h:No >> such file or directory >> pkg-static: Unable to access file >> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/alias.h:No >> such file or directory >> . . . (long list) . . . >> >> >> That leads to: >> >> [00:29:06] [04] [00:10:01] Saved devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 wrkdir to: >> /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/aarch64-none-elf-gcc-8.4.0_1.tar >> [00:29:10] [04] [00:10:05] Finished devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1: Failed: package >> [00:29:12] [04] [00:10:07] Skipping sysutils/atf-rk3328 | >> atf-rk3328-v2.3: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [00:29:12] [04] [00:10:07] Skipping sysutils/atf-sun50i_a64 | >> atf-sun50i_a64-v2.3: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-pine64 | >> u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rock64 | >> u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi3 | >> u-boot-rpi3-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi4 | >> u-boot-rpi4-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> >> >> >> I'm guessing that the full-native builds will do similarly. >> But we will eventually see. > > One of the aarch64 environments finally got there: > > [07:40:23] [02] [00:23:04] Saved devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 wrkdir to: > /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA57-default/default/aarch64-none-elf-gcc-8.4.0_1.tar > [07:40:42] [02] [00:23:23] Finished devel/aarch64-none-elf-gcc | >
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"
[Found a cause of the poudiere vs. not distinction.] On 2020-Apr-28, at 13:01, Mark Millard wrote: > > On 2020-Apr-28, at 09:23, Mark Millard wrote: > >> On 2020-Apr-28, at 07:39, Emmanuel Vadot wrote: >> >>> On Mon, 27 Apr 2020 20:14:47 -0700 >>> Mark Millard wrote: >>> On 2020-Apr-27, at 17:15, Mark Millard wrote: > On 2020-Apr-27, at 11:46, Emmanuel Vadot wrote: > >> On Mon, 27 Apr 2020 12:32:46 +0200 >> Emmanuel Vadot wrote: >> >>> On Sun, 26 Apr 2020 12:13:46 -0700 >>> . . . >> >> This is solved with r533162. >> I've tested that sysutils/u-boot-pine64-lts build and boots fine. >> Let me know if you have still any issues. > > The poudriere-devel runs based on updating /usr/ports content > ended up scheduling 190 package builds, including a couple of > llvm*'s. Depending on where in the sequence things happen, it > could be some time before having such full-native results. > > In a amd64->aarch64 pouriere-devel based cross-build, with > nxb-bin in use (a faster build environment in my context), > I got: > > . . . > gmake[4]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' > gmake[3]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' > gmake[2]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' > gmake[1]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' > > Compressing man pages (compress-man) > === > === > > ===> Building package for aarch64-none-elf-gcc-8.4.0_1 > pkg-static: Unable to access file > /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/gtype.state:No > such file or directory > pkg-static: Unable to access file > /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No > such file or direct > ory > pkg-static: Unable to access file > /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/addresses.h:No > such file or directory > pkg-static: Unable to access file > /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/alias.h:No > such file or directory > . . . (long list) . . . > > > That leads to: > > [00:29:06] [04] [00:10:01] Saved devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 wrkdir to: > /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/aarch64-none-elf-gcc-8.4.0_1.tar > [00:29:10] [04] [00:10:05] Finished devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1: Failed: package > [00:29:12] [04] [00:10:07] Skipping sysutils/atf-rk3328 | > atf-rk3328-v2.3: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > [00:29:12] [04] [00:10:07] Skipping sysutils/atf-sun50i_a64 | > atf-sun50i_a64-v2.3: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-pine64 | > u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rock64 | > u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi3 | > u-boot-rpi3-2020.04: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi4 | > u-boot-rpi4-2020.04: Dependent port devel/aarch64-none-elf-gcc | > aarch64-none-elf-gcc-8.4.0_1 failed > > > > I'm guessing that the full-native builds will do similarly. > But we will eventually see. One of the aarch64 environments finally got there: [07:40:23] [02] [00:23:04] Saved devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 wrkdir to: /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA57-default/default/aarch64-none-elf-gcc-8.4.0_1.tar [07:40:42] [02] [00:23:23] Finished devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1: Failed: package [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-pine64 | u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [07:40:55] [02] [00:23:36] Skipping
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"
On 2020-Apr-28, at 09:23, Mark Millard wrote: > On 2020-Apr-28, at 07:39, Emmanuel Vadot wrote: > >> On Mon, 27 Apr 2020 20:14:47 -0700 >> Mark Millard wrote: >> >>> On 2020-Apr-27, at 17:15, Mark Millard wrote: >>> On 2020-Apr-27, at 11:46, Emmanuel Vadot wrote: > On Mon, 27 Apr 2020 12:32:46 +0200 > Emmanuel Vadot wrote: > >> On Sun, 26 Apr 2020 12:13:46 -0700 >> . . . > > This is solved with r533162. > I've tested that sysutils/u-boot-pine64-lts build and boots fine. > Let me know if you have still any issues. The poudriere-devel runs based on updating /usr/ports content ended up scheduling 190 package builds, including a couple of llvm*'s. Depending on where in the sequence things happen, it could be some time before having such full-native results. In a amd64->aarch64 pouriere-devel based cross-build, with nxb-bin in use (a faster build environment in my context), I got: . . . gmake[4]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' > Compressing man pages (compress-man) === === ===> Building package for aarch64-none-elf-gcc-8.4.0_1 pkg-static: Unable to access file /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/gtype.state:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No such file or direct ory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/addresses.h:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/alias.h:No such file or directory . . . (long list) . . . That leads to: [00:29:06] [04] [00:10:01] Saved devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 wrkdir to: /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/aarch64-none-elf-gcc-8.4.0_1.tar [00:29:10] [04] [00:10:05] Finished devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1: Failed: package [00:29:12] [04] [00:10:07] Skipping sysutils/atf-rk3328 | atf-rk3328-v2.3: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [00:29:12] [04] [00:10:07] Skipping sysutils/atf-sun50i_a64 | atf-sun50i_a64-v2.3: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-pine64 | u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rock64 | u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi3 | u-boot-rpi3-2020.04: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi4 | u-boot-rpi4-2020.04: Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 failed I'm guessing that the full-native builds will do similarly. But we will eventually see. >>> >>> One of the aarch64 environments finally got there: >>> >>> [07:40:23] [02] [00:23:04] Saved devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 wrkdir to: >>> /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA57-default/default/aarch64-none-elf-gcc-8.4.0_1.tar >>> [07:40:42] [02] [00:23:23] Finished devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1: Failed: package >>> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-pine64 | >>> u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-rock64 | >>> u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-rpi3 | >>>
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"
On 2020-Apr-28, at 07:39, Emmanuel Vadot wrote: > On Mon, 27 Apr 2020 20:14:47 -0700 > Mark Millard wrote: > >> On 2020-Apr-27, at 17:15, Mark Millard wrote: >> >>> On 2020-Apr-27, at 11:46, Emmanuel Vadot wrote: >>> On Mon, 27 Apr 2020 12:32:46 +0200 Emmanuel Vadot wrote: > On Sun, 26 Apr 2020 12:13:46 -0700 > . . . This is solved with r533162. I've tested that sysutils/u-boot-pine64-lts build and boots fine. Let me know if you have still any issues. >>> >>> The poudriere-devel runs based on updating /usr/ports content >>> ended up scheduling 190 package builds, including a couple of >>> llvm*'s. Depending on where in the sequence things happen, it >>> could be some time before having such full-native results. >>> >>> In a amd64->aarch64 pouriere-devel based cross-build, with >>> nxb-bin in use (a faster build environment in my context), >>> I got: >>> >>> . . . >>> gmake[4]: Leaving directory >>> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' >>> gmake[3]: Leaving directory >>> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' >>> gmake[2]: Leaving directory >>> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' >>> gmake[1]: Leaving directory >>> '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' >>> > Compressing man pages (compress-man) >>> === >>> === >>> ===> Building package for aarch64-none-elf-gcc-8.4.0_1 >>> pkg-static: Unable to access file >>> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/gtype.state:No >>> such file or directory >>> pkg-static: Unable to access file >>> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No >>> such file or direct >>> ory >>> pkg-static: Unable to access file >>> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/addresses.h:No >>> such file or directory >>> pkg-static: Unable to access file >>> /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/8.4.0/plugin/include/alias.h:No >>> such file or directory >>> . . . (long list) . . . >>> >>> >>> That leads to: >>> >>> [00:29:06] [04] [00:10:01] Saved devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 wrkdir to: >>> /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/aarch64-none-elf-gcc-8.4.0_1.tar >>> [00:29:10] [04] [00:10:05] Finished devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1: Failed: package >>> [00:29:12] [04] [00:10:07] Skipping sysutils/atf-rk3328 | atf-rk3328-v2.3: >>> Dependent port devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-8.4.0_1 >>> failed >>> [00:29:12] [04] [00:10:07] Skipping sysutils/atf-sun50i_a64 | >>> atf-sun50i_a64-v2.3: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-pine64 | >>> u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rock64 | >>> u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi3 | >>> u-boot-rpi3-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> [00:29:12] [04] [00:10:07] Skipping sysutils/u-boot-rpi4 | >>> u-boot-rpi4-2020.04: Dependent port devel/aarch64-none-elf-gcc | >>> aarch64-none-elf-gcc-8.4.0_1 failed >>> >>> >>> >>> I'm guessing that the full-native builds will do similarly. >>> But we will eventually see. >> >> One of the aarch64 environments finally got there: >> >> [07:40:23] [02] [00:23:04] Saved devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 wrkdir to: >> /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA57-default/default/aarch64-none-elf-gcc-8.4.0_1.tar >> [07:40:42] [02] [00:23:23] Finished devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1: Failed: package >> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-pine64 | >> u-boot-pine64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-rock64 | >> u-boot-rock64-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-rpi3 | >> u-boot-rpi3-2020.04: Dependent port devel/aarch64-none-elf-gcc | >> aarch64-none-elf-gcc-8.4.0_1 failed >> [07:40:55] [02] [00:23:36] Skipping sysutils/u-boot-rpi4 |
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"
On 2020-Apr-27, at 17:15, Mark Millard wrote: > On 2020-Apr-27, at 11:46, Emmanuel Vadot wrote: > >> On Mon, 27 Apr 2020 12:32:46 +0200 >> Emmanuel Vadot wrote: >> >>> On Sun, 26 Apr 2020 12:13:46 -0700 >>> Mark Millard via freebsd-arm wrote: >>> On 2020-Apr-26, at 01:14, Mark Millard 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. > > The overall build is still going and more aarch64-targeted > u-boot builds might fail. > > > sysutils/u-boot-rpi4 : > > aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes > -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar > -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector > -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage > -Wno-format-nonliteral -Werror=date-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%=*}=" 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' > > > sysutils/u-boot-rpi3 : > > aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes > -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar > -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector > -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage > -Wno-format-nonliteral -Werror=date-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 lto plugins didn't used to compile on a native build of gcc >>> on aarch64 but I've updated gcc to 8.4 recently, maybe the plugin now >>> works or gcc think that it does and try to use it. >>> I'll do tests, thanks for the report. >> >> This is solved with r533162. >> I've tested that sysutils/u-boot-pine64-lts build and boots fine. >> Let me know if you have still any issues. > > The poudriere-devel runs based on updating /usr/ports content > ended up scheduling 190 package builds, including a couple of > llvm*'s. Depending on where in the sequence things happen, it > could be some time before having such full-native results. > > In a amd64->aarch64 pouriere-devel based cross-build, with > nxb-bin in use (a faster build environment in my context), > I got: > > . . . > gmake[4]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' > gmake[3]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' > gmake[2]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' > gmake[1]: Leaving directory > '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' > > Compressing man pages (compress-man) > === >
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"
On 2020-Apr-27, at 11:46, Emmanuel Vadot wrote: > On Mon, 27 Apr 2020 12:32:46 +0200 > Emmanuel Vadot wrote: > >> On Sun, 26 Apr 2020 12:13:46 -0700 >> Mark Millard via freebsd-arm wrote: >> >>> >>> >>> On 2020-Apr-26, at 01:14, Mark Millard 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. The overall build is still going and more aarch64-targeted u-boot builds might fail. sysutils/u-boot-rpi4 : aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage -Wno-format-nonliteral -Werror=date-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%=*}=" 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' sysutils/u-boot-rpi3 : aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage -Wno-format-nonliteral -Werror=date-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 lto plugins didn't used to compile on a native build of gcc >> on aarch64 but I've updated gcc to 8.4 recently, maybe the plugin now >> works or gcc think that it does and try to use it. >> I'll do tests, thanks for the report. > > This is solved with r533162. > I've tested that sysutils/u-boot-pine64-lts build and boots fine. > Let me know if you have still any issues. The poudriere-devel runs based on updating /usr/ports content ended up scheduling 190 package builds, including a couple of llvm*'s. Depending on where in the sequence things happen, it could be some time before having such full-native results. In a amd64->aarch64 pouriere-devel based cross-build, with nxb-bin in use (a faster build environment in my context), I got: . . . gmake[4]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' > Compressing man pages (compress-man) === === ===> Building package for aarch64-none-elf-gcc-8.4.0_1 pkg-static: Unable to access file
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"
On 2020-Apr-26, at 01:14, Mark Millard 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. > > The overall build is still going and more aarch64-targeted > u-boot builds might fail. > > > sysutils/u-boot-rpi4 : > > aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes > -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar > -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector > -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage > -Wno-format-nonliteral -Werror=date-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%=*}=" 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' > > > sysutils/u-boot-rpi3 : > > aarch64-none-elf-gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes > -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar > -fno-strict-aliasing -fno-PIE -O2 -fno-stack-protector > -fno-delete-null-pointer-checks -fmacro-prefix-map=./= -g -fstack-usage > -Wno-format-nonliteral -Werror=date-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. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"