From owner-freebsd-arm@freebsd.org Sun Apr 26 08:14:18 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 E2A2E2CF0B4 for ; Sun, 26 Apr 2020 08:14:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-20.consmr.mail.gq1.yahoo.com (sonic309-20.consmr.mail.gq1.yahoo.com [98.137.65.146]) (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 4991090vrnz477C for ; Sun, 26 Apr 2020 08:14:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: dYUHK5kVM1n1JVpKeTHCqVGfAne8SlAmA2m7nxiVRPmWQuGo0radl_R2GYMbsHM lzbmdD1.HFP6qDl1xmynaye8xUuoACAdU0P4Tku9yqyNYukCNxGaI7G_rNxsXl9TISG0qF4GdFU_ UhsgMrP.RFqi_u3HBKfJGXBUKBa9jEbGEygGNFrNzzUkzFjHPY0FyHE9EWvRAe4gThvYNU2OsHFU uM_TMZLOc1fVKT9OZpBMHELkJpPBX2QfXqfS6QI74F.kO7lhxLQSZEdV8o_koH59DCOEYYEywNno AYEa3L4.gbkPj3iAz1FC9nha5gSNiVliQyTKjBq_ShjFrQEIDLd8M2r12qUiE9o7_SWPje8RgoDf mpOkORFNRsvT4LrcNwZGcqISIqsVYghJLECAK4uyPIIrwxgLpOC.TeJs2sfWfcr1BTogY02om9uQ l1amc9eLmdBTtGA4nPy3Z8IshwzXgbRKAGQpki5CR72em1j8lNlHlHLOE.ZDpXIQIbVxkp734dK2 lReC0GwctFhb.tMRTkj_ZM3V9AFIgLtMXSTEsurs7xSjFBmAEuW.c0ASBj9D48d4EHbVnH8d0gaX P8USNVfe9eifDVNSIAFsPuj7fz2G5F_wUCLPOkIsBrcVftA6etbuKUvVzEWBVAeHAErmUf4_O_kN bfZ9Jv0p4r4pTPWxA8JhDBrfnyPxweJhRkU6Vl_k6RhDWr_Hk5Kl4dGZbn1VGqntj6x8tutCT6vq egVd4NoL2JDrpoJtfnwSR3mjZOqym6b8XjKbfU5khpv1DVSpfRJwhgLVTLjkV2YpjxvDh2d7Q5oA hOihExz5HS_dCTodZ5UlB5iXXW3RP2sYlBdTpJ6.MH7SwQ2xukJz5e8chQJ2AKdBWXxru6.1V5f7 8n.OVxNFggZe8VbiqpVJKvN3Kf0zP5YgA9xG50AMJOI3o0J0WdDISdC0ZWrXAjumA.cW.Oa4LX98 wbtB_MCLVQaant4DChx98HNK60gBIjeapAEUQEJ8PtNpOhDR_xkGoguX6OH262l9Gd21rg09aFvW 5FcJJGf.bVkMNpL2C881nEbonxfmqrqa.h0izLugtA7PKCJw5RcGLR7JHTqYpwAXYQId_gE9x3Om h5lcsh0sWm5yQQIbTkU_x1RZRFDk5l_7fO2uD1zcIR9KAuFasxctPKghAIdLZmBAXeydvnnl3XFJ jyiNT4yvm1M.qkD0e3t1eBqcafdd7P_4MgmORDEmmO_xD4_IAgY7U4xWQ0SS.05lGe5AeM_GJC4x v3keWK2QAKT89MX.fp3G_IOwIk6vm_ortzJconS_SpFVBk1JTI5aqwfU9qm36cTJNE7AIZq23Q2O laq7FEUNaWPyKSYA4ZjN09sxoL_ngigbrzuwSFwwg6HWq8UUyhG5RxgcHhTofPtkj32sui7cGfJ3 WuhXLbqqXcebKgNRCVG0Ogg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 26 Apr 2020 08:14:15 +0000 Received: by smtp427.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 80d66ca60667d2e1fa725c946d085427; Sun, 26 Apr 2020 08:14:11 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: aarch64 based sysutils/u-boot-rpi[34] (and more?) builds fail for: "aarch64-none-elf-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found" Message-Id: <0085757C-02B1-4CB9-9B67-01EB5D6AA86A@yahoo.com> Date: Sun, 26 Apr 2020 01:14:09 -0700 To: freebsd-arm , FreeBSD ports X-Mailer: Apple Mail (2.3608.80.23.2.2) References: <0085757C-02B1-4CB9-9B67-01EB5D6AA86A.ref@yahoo.com> X-Rspamd-Queue-Id: 4991090vrnz477C X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.26 / 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:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (6.67), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; 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)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.834,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-0.92)[-0.921,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[146.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: Sun, 26 Apr 2020 08:14:18 -0000 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=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' 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=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' =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)