From owner-freebsd-arm@freebsd.org Tue Apr 28 16:23:26 2020 Return-Path: Delivered-To: freebsd-arm@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 B4BF62BEC95 for ; Tue, 28 Apr 2020 16:23:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (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 49BRld0v7Dz3yBW for ; Tue, 28 Apr 2020 16:23:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: MOBdenwVM1ka4EFT6vm_.wO3BoHWJco2w5nGMipQvr63SKxfCD3Kft26mI7Bdkp 98klHPCHCzc3Jp5l1vtlX07XfNA3wyHYG6x6ba7GIMzXKZzeybCV3OOLr6hkCRegKZQt3tSK9jCm 3GcBepe.lkkgLzlgaiYqN1THqeplLOCURSPpAh_meDNGrVJKSqwBUqoEudHUB9OKKcFGOFdku_Cn kbFbn13edC8tuV5Py4m6OEMc0t.cXlPnFXMxl7hUHf1do.prkqj0w_lstGR2LoeyaPJ0H9gyhc4U BZJre79CFycNuXue5dI.rYOH1GKaFmY8DFID6f8pqBXziG8PyA.EF6oQ_ykyQXVSJFVYH2nUdccI vKWrI1p67FiInMyNpgUKiMwe9w56B_k3A55bX.ghsg.Z2TANhs0QeSu6tdkhA4vjP7HQoup.nlET E.qS24ugkr5UjTUSfCyXerGIHDZApmKU.UWnSunL6WlNg961EAWqHded0FcshGnM4I5r1h2FWU.2 tYT_gM6liz1dBMAIxE3CcPMomkh5s6oyJdCKW5jT7RrFDDmO_k88ziBSONH1aQTdBwm6OmBy_ujR Ce_CutvWEHIiknjbKEhGVv2omdaGV_1wFaax1xk_wpEqZLrwrgLR7hEWTRpLcUKJiMBa6oIySp94 HiqAesHfBrYCS4_i0KrH_evDqqXUwHwGQORgYZMPCdDFNnhQk0JjWu7_.iv81X1eHmHH3vr1QKN9 f5qsfOy2YGnDKzgSsAyCRddyHB3qi2bDFllhXZwqJUkyAqgd5v9wx7ovIYCsYlz7KjYS_tBYC.3c N0MIpX_MMF18GWDf48m7kPmEXhB8Cix7fnOVDPxW6qUFhZ8UUmySLAaPa2AMeayBh_lADer2Z2Vh CnBqUMlt3Cs.hdSRJqyUrqOqs0uUAbFXxVqN2glndvHWBkJBoqPpeIrzobUpOj4XYCN5nYYB0P4M 9ugHnebXnkgQRdgQbde9sCxlxG8M96XiZSrW1RxaVgasK9Iif4Kk3GOa5c0MRUmFr55cFPHj760w ehe05gMFMKgcIniWdatR_dG7DoZz_R6wfpttoxcnigJ.8ltADeM7VmaFrMCPfC610okEtSfCPsJn yxMTvmvZFPBmLagSxy2m8rvb6BuMUpNX7Jhsb0A2Zwn0xcio_GFj14Q24w5oF5ieRSup0wm4B7fV ASoNBScD1pd1Fqj0msZKt1yzVI5SFWlR3uYouHh8ubTWv_hDWdw1IAN7ML9yz87OoX4YgI9qbGBb XoFrVMOnDMa3tbHjiSkvatWBJBOZkLHUOWZCBSR_T44Smpc3vw7KrwNOXi7jWMjpqUlPIjOYWevK c6Ss539dv0GLrcBHU6by0QR5ebqaljq82TfetrF2vBPn77AA4MR4RIlXJNDlRFrp6BqqmY5e2UkN zgffE354sFss8w5WRZsw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Apr 2020 16:23:23 +0000 Received: by smtp403.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5c95accc90a45bd754ed8f54a042697e; Tue, 28 Apr 2020 16:23:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) 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" From: Mark Millard In-Reply-To: <20200428163906.a5081a0493970fb4556fe08b@bidouilliste.com> Date: Tue, 28 Apr 2020 09:23:21 -0700 Cc: freebsd-arm , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: <13AAC979-927E-43BA-BF16-64C41546A690@yahoo.com> References: <0085757C-02B1-4CB9-9B67-01EB5D6AA86A@yahoo.com> <20200427123246.42e3844f39c349aac81009ff@bidouilliste.com> <20200427204606.69157e78e6eb92f3481e47e3@bidouilliste.com> <38BE4488-2BE4-4B9F-BABA-0324B6A7AE8D@yahoo.com> <90693ED6-E93D-4105-8B63-F77313F77079@yahoo.com> <20200428163906.a5081a0493970fb4556fe08b@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49BRld0v7Dz3yBW X-Spamd-Bar: - X-Spamd-Result: default: False [-1.90 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.630,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.77)[-0.769,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.66), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.65.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2020 16:23:26 -0000 On 2020-Apr-28, at 07:39, Emmanuel Vadot = wrote: > On Mon, 27 Apr 2020 20:14:47 -0700 > Mark Millard wrote: >=20 >> On 2020-Apr-27, at 17:15, Mark Millard wrote: >>=20 >>> On 2020-Apr-27, at 11:46, Emmanuel Vadot = wrote: >>>=20 >>>> On Mon, 27 Apr 2020 12:32:46 +0200 >>>> Emmanuel Vadot wrote: >>>>=20 >>>>> On Sun, 26 Apr 2020 12:13:46 -0700 >>>>> . . . >>>>=20 >>>> 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. >>>=20 >>> 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. >>>=20 >>> In a amd64->aarch64 pouriere-devel based cross-build, with >>> nxb-bin in use (a faster build environment in my context), >>> I got: >>>=20 >>> . . . >>> gmake[4]: Leaving directory = '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-el= f/ilp32/libgcc' >>> gmake[3]: Leaving directory = '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-el= f/libgcc' >>> gmake[2]: Leaving directory = '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-el= f/libgcc' >>> gmake[1]: Leaving directory = '/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build' >>> =3D=3D=3D=3D> Compressing man pages (compress-man) >>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= phase: package >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> =3D=3D=3D> 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) . . . >>>=20 >>>=20 >>> That leads to: >>>=20 >>> [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/aa= rch64-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 >>>=20 >>>=20 >>>=20 >>> I'm guessing that the full-native builds will do similarly. >>> But we will eventually see. >>=20 >> One of the aarch64 environments finally got there: >>=20 >> [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/aa= rch64-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 | = u-boot-rpi4-2020.04: Dependent port devel/aarch64-none-elf-gcc | = aarch64-none-elf-gcc-8.4.0_1 failed >>=20 >> It failed for the same sorts of reasons as the cross build: >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> =3D=3D=3D> 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 >> . . . >>=20 >=20 > I can reproduce that with poudriere too. > For some reason this doesn't happened when doing a make package ... It also happened for the poudriere-based build of devel/arm-none-eabi-gcc : [00:26:15] [07] [00:13:23] Saving devel/arm-none-eabi-gcc | = arm-none-eabi-gcc-8.4.0_1 wrkdir [00:26:23] [07] [00:13:31] Saved devel/arm-none-eabi-gcc | = arm-none-eabi-gcc-8.4.0_1 wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailCortexA53-default/default/ar= m-none-eabi-gcc-8.4.0_1.tar [00:26:28] [07] [00:13:36] Finished devel/arm-none-eabi-gcc | = arm-none-eabi-gcc-8.4.0_1: Failed: package [00:26:30] [07] [00:13:38] Skipping sysutils/u-boot-orangepi-plus-2e | = u-boot-orangepi-plus-2e-2020.04: Dependent port devel/arm-none-eabi-gcc = | arm-none-eabi-gcc-8.4.0_1 failed [00:26:30] [07] [00:13:38] Skipping sysutils/u-boot-rpi2 | = u-boot-rpi2-2020.04: Dependent port devel/arm-none-eabi-gcc | = arm-none-eabi-gcc-8.4.0_1 failed [00:26:30] [07] [00:13:38] Skipping sysutils/u-boot-sinovoip-bpi-m3 | = u-boot-sinovoip-bpi-m3-2020.04: Dependent port devel/arm-none-eabi-gcc | = arm-none-eabi-gcc-8.4.0_1 failed because of: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building package for arm-none-eabi-gcc-8.4.0_1 pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/8.4.0/plugin/gtype.state:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/8.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No such = file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/8.4.0/plugin/include/addresses.h:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/8.4.0/plugin/include/alias.h:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/8.4.0/plugin/include/all-tree.def:No such file or directory . . . >>>> Thanks. >>>>=20 >>>>>>=20 >>>>>> 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. >>>>>>=20 >>>>>> By contrast, the armv7 u-boot's that I tried all completed: >>>>>> orangepi-plus-2e, rpi2, and sinovoip-bpi-m3. >>>>>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)