From owner-freebsd-ports@freebsd.org Tue Apr 28 21:29:06 2020 Return-Path: Delivered-To: freebsd-ports@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 6BB762C5BCA for ; Tue, 28 Apr 2020 21:29:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (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 49BZXK0pWpz4KkB for ; Tue, 28 Apr 2020 21:29:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: wnZEbWUVM1m47hCAa85J3WGKIsLfcbEkkuoOTbU8nHTftxf3NQOig3rHntmdrIS dP9AbGm2J8ZtqzvlK04KaalJhkNJsufa2SwnhXlL.ZypliYnVGVHSi6.7QUIIk8yTMldXuuTJiPd p1rWYmUcCmZznhg.IydeIhNzLwj0efIjLVPOu.7ZmF3xu9gshgqFXWb5fNnw7Lxan6McJ732QLc4 4iS5Citfi2I44G4ygdmiqNDHYcpjGmrByIqSx1cvCWfXrPX7Cx4CbPmi0QL41r6DtAS2pIRaxL8Y 9RWBvUFqLx_7Rb6tPnozhmE..64McUybCxs7s3DPTmTmbAHfj0gjIRkF2s4SWGRMPysrQkoB9d77 VN2UahYQvZKUGqYKvD0W2q_JZwx_ngKcDqRNQkpRCblaNZF7yCKIidOFsrLrAm4fgk3fsFtODfqD padEsEyKFhV2bdFZfLkir9SZs1EAl4.XoJrGav39spHt.oTOIaTW5bZzrlKV5LhAmb2lMnB3tNaQ rjZ1PnUfQmYkodgjPua2oXdlOKrG2dv_uOW8kMPsX4Fe4RiJttwevhtZ.pvPwRAHOFAbn8TuTr_D tUsiXO_XEwhUEIU51odVfSsxYD35Jx_pRBRe9jhKYQxvN_rPPzkctKE17iVRPYsYxF5DXvzdH7B0 qkjDjnmMPhv1GYaykf2.8BnDqNAhywpC0t5_A5j4s8mWCNNOIVcHEQGzVTsR7p5Awn03nCF2F1FA cFNzKYs.nhvo85SwZCOmwlWDeFAYqNr4sOUeINSPA5SkX5eaB41amsMORnWr__mkQmpEluietfpJ j2aWbCT44YnHfyk0a47CTAR7JiWBexkRwFyWWrUjBsaiN1yxe10hC5knikKEoNWgdAtXaUpSHv4h CYfQb.UkIYSjQ0S3rzwzCgexgk9rZnCQTV3fYXD4pE1hVOI23WeXnIM_r4TViP9nhpA9G0an1nfo Gy4eLJWsOwGJTWLDRfoLmwvD1MFppsnifNlhD5YH.a2FU90kEpV25VB0JDJ0sIeHI9G5uoE2uIUf 7Hm5TdyYmCSXcFONLbi9ng0yo23rhn_uD.fgmNeg5qB1AXWanO7QyCO4KIy25z01.Kbm7mmZhxX6 3zICnqjyQOLhelPv6CeeH1t9cTdpWQ6i4EwPfDdPvTHGBAeFp7.z2A6bNbtNtNWOkULYXozTKVW6 DAG1CoTWENfT1G86fcxdgZsudo_ZrNFZYtBn5.1mVFM6W9q2SCVmxQGMoByPkV4Ku2R9XRV57hgP OFz9J5vXVpMNTo9HXvxIq4fLOvKFofaG3Q3ENRE5BJodiUDdiOMdyKL5sFDVmSab91s6mM2osF1M 3TvBfpbVqLcMpbgtwANGG6yBrXwKtOpLROmUutoI4C0f7v57M76hK774cvxp2cq68Hha8b4hDIx1 t1wXDoxiDq.P8kCcfSXW33qdK Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Apr 2020 21:29:03 +0000 Received: by smtp430.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 53c119fe4a23a8c5acd36f6235a55688; Tue, 28 Apr 2020 21:28:58 +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: <1D414E35-6785-4D15-A798-DFB34C2ACC34@yahoo.com> Date: Tue, 28 Apr 2020 14:28:57 -0700 Cc: freebsd-arm , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: 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> <13AAC979-927E-43BA-BF16-64C41546A690@yahoo.com> <7CD48F1B-7405-454A-BEFE-3B17D321D89F@yahoo.com> <1D414E35-6785-4D15-A798-DFB34C2ACC34@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49BZXK0pWpz4KkB X-Spamd-Bar: - X-Spamd-Result: default: False [-1.46 / 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.45)[-0.445,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.52)[-0.519,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.61), 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)[83.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[83.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2020 21:29:06 -0000 [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.] >=20 > On 2020-Apr-28, at 13:01, Mark Millard wrote: >>=20 >> On 2020-Apr-28, at 09:23, Mark Millard wrote: >>=20 >>> On 2020-Apr-28, at 07:39, Emmanuel Vadot = wrote: >>>=20 >>>> 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= =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 ... >>>=20 >>> It also happened for the poudriere-based build of >>> devel/arm-none-eabi-gcc : >>>=20 >>> [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 >>>=20 >>> because of: >>>=20 >>> =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 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 >>> . . . >>>=20 >>=20 >> Some other differences between a poudriere based build >> and a portmaster based build for the aarch64 case follow. >> The paths with /mnt/prefixes are to the portmaster based >> build: >>=20 >> # diff -r /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/ = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/ | grep -i = "enable_plugin" >> < enable_plugin =3D no >>> enable_plugin =3D yes >> < /* #undef ENABLE_PLUGIN */ >>> #define ENABLE_PLUGIN 1 >> < enable_plugin=3D'no' >>> enable_plugin=3D'yes' >>> #define ENABLE_PLUGIN 1 >> < S["enable_plugin"]=3D"no" >>> S["enable_plugin"]=3D"yes" >>> D["ENABLE_PLUGIN"]=3D" 1" >>=20 >> While looking for differences that might contribute to the >> "no"s above, I ran into something possibly unrelated but >> important in the future . . . >>=20 >> One thing is that I have a WITHOUT_BINUTILS=3D system build as >> part of testing that such will work when if fully goes away. >> I see differences in part based on that: >>=20 >> 1383c1382,1383 >> < configure:8340: result: no >> --- >>> configure:8326: found /usr/local/bin/as >>> configure:8337: result: as >> 1407c1407,1408 >> < configure:9740: result: no >> --- >>> configure:9726: found /usr/local/bin/objdump >>> configure:9737: result: objdump >> . . . >> 2369a2371 >>> ac_cv_prog_AS=3Das >> 2377a2380 >>> ac_cv_prog_OBJDUMP=3Dobjdump >>=20 >> (No evidence so far that such contributes to lack of >> plugins being enabled. It is just a difference that >> I ran into while looking.) >>=20 >> The devel/*-none-*-gcc examples do not cause >> /usr/local/bin/ instances of as or objdump to >> exist in poudriere-devel contexts, even when >> the system does not have the commands of itself. >> At some point this likely will need to change. >>=20 >>=20 >>=20 >> As I have time I'll look around more at the build >> materials and see if I find an explanation for >> plugins not being enabled under poudriere-devel >> based builds. >=20 > Turns out that objdump is important and makes the > distinction in my context . . . >=20 > work/gcc-8.4.0/config/gcc-plugin.m4 has: >=20 > . . . > AC_DEFUN([GCC_ENABLE_PLUGINS], > [# Check for plugin support > AC_ARG_ENABLE(plugin, > [AS_HELP_STRING([--enable-plugin], [enable plugin support])], > enable_plugin=3D$enableval, > enable_plugin=3Dyes; default_plugin=3Dyes) >=20 > pluginlibs=3D > plugin_check=3Dyes >=20 > case "${host}" in > . . . > *) > if test x$build =3D x$host; then > export_sym_check=3D"objdump${exeext} -T" > elif test x$host =3D x$target; then > export_sym_check=3D"$gcc_cv_objdump -T" > else > export_sym_check=3D > fi > ;; > esac > . . . > if test x"$enable_plugin" =3D x"yes" -a x"$plugin_check" =3D x"yes"; = then >=20 > AC_MSG_CHECKING([for exported symbols]) > if test "x$export_sym_check" !=3D x; then > echo "int main() {return 0;} int foobar() {return 0;}" > = conftest.c > ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > = /dev/null 2>&1 > if $export_sym_check conftest$ac_exeext | grep foobar > = /dev/null; then > : # No need to use a flag > AC_MSG_RESULT([yes]) > else > AC_MSG_RESULT([yes]) > AC_MSG_CHECKING([for -rdynamic]) > ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o = conftest$ac_exeext > /dev/null 2>&1 > if $export_sym_check conftest$ac_exeext | grep foobar > = /dev/null; then > plugin_rdynamic=3Dyes > pluginlibs=3D"-rdynamic" > else > plugin_rdynamic=3Dno > enable_plugin=3Dno > fi > AC_MSG_RESULT([$plugin_rdynamic]) > fi > else > AC_MSG_RESULT([unable to check]) > fi > . . . >=20 > But (both the poudriere-devel based build and the portmaster > build show such so I picked to show just one): >=20 > = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_objdump=3D/usr/local/aarch64-none-elf/bin/objdump > = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_objdump=3D'/usr/local/aarch64-none-elf/bin/objdump' > = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.cache= :gcc_cv_objdump=3D${gcc_cv_objdump=3D/usr/local/aarch64-none-elf/bin/objdu= mp} >=20 > Under poudiere-devel there is no = /usr/local/aarch64-none-elf/bin/objdump path. > Under make/portmaster there may be an old = /usr/local/aarch64-none-elf/bin/objdump path. >=20 > In my environments (showing one example context): >=20 > # ls -ldT /usr/local/aarch64-none-elf/bin/objdump > -r-xr-xr-x 2 root wheel 8593272 Jan 30 01:05:50 2020 = /usr/local/aarch64-none-elf/bin/objdump >=20 > So in portmaster (or make) the old = /usr/local/aarch64-none-elf/bin/objdump > is used but in poudriere the path used fails and that failure is not > handled distinctly as "objdump tool missing". >=20 > It looks like devel/aarch64-none-elf-gcc/Makefile would need > changes for WITHOUT_BINUTILS=3D contexts in order to make sure > that an objdump exists via a known/used path, including in > poudriere based builds. looks like nm, objdump, and readelf have that = /usr/local/aarch64-none-elf/bin/ style path issue shown in work/.build/gcc/config.log . There are some ld references as well. (Again: /mnt/ is for portmaster build context; otherwise it is poudriere = based.) # grep -B1 /usr/local/aarch64-none-elf/bin/ = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-c= onfigure:22232: checking what nm to use = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:c= onfigure:22240: result: /usr/local/aarch64-none-elf/bin/nm = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-c= onfigure:22312: checking what objdump to use = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:c= onfigure:22322: result: /usr/local/aarch64-none-elf/bin/objdump = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-c= onfigure:22384: checking what readelf to use = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:c= onfigure:22394: result: /usr/local/aarch64-none-elf/bin/readelf -- = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-g= cc_cv_mkdir_takes_one_arg=3Dno = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_nm=3D/usr/local/aarch64-none-elf/bin/nm = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-g= cc_cv_no_pie=3Dyes = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_objdump=3D/usr/local/aarch64-none-elf/bin/objdump -- = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-g= cc_cv_prog_makeinfo_modern=3Dyes = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_readelf=3D/usr/local/aarch64-none-elf/bin/readelf -- = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-O= RIGINAL_LD_GOLD_FOR_TARGET=3D'/usr/local/bin/aarch64-none-elf-ld.gold' = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:O= RIGINAL_NM_FOR_TARGET=3D'/usr/local/aarch64-none-elf/bin/nm' -- = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log-g= cc_cv_ld=3D'/usr/local/bin/aarch64-none-elf-ld' = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_nm=3D'/usr/local/aarch64-none-elf/bin/nm' = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_objdump=3D'/usr/local/aarch64-none-elf/bin/objdump' = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.log:g= cc_cv_readelf=3D'/usr/local/aarch64-none-elf/bin/readelf' -- = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-configure:22232: checking what nm to use = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:configure:22240: result: /usr/local/aarch64-none-elf/bin/nm = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-configure:22312: checking what objdump to use = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:configure:22322: result: /usr/local/aarch64-none-elf/bin/objdump = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-configure:22384: checking what readelf to use = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:configure:22394: result: /usr/local/aarch64-none-elf/bin/readelf -- = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-gcc_cv_mkdir_takes_one_arg=3Dno = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_nm=3D/usr/local/aarch64-none-elf/bin/nm = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-gcc_cv_no_pie=3Dyes = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_objdump=3D/usr/local/aarch64-none-elf/bin/objdump -- = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-gcc_cv_prog_makeinfo_modern=3Dyes = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_readelf=3D/usr/local/aarch64-none-elf/bin/readelf -- = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-ORIGINAL_LD_GOLD_FOR_TARGET=3D'/usr/local/bin/aarch64-none-elf-ld.gold'= = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:ORIGINAL_NM_FOR_TARGET=3D'/usr/local/aarch64-none-elf/bin/nm' -- = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og-gcc_cv_ld=3D'/usr/local/bin/aarch64-none-elf-ld' = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_nm=3D'/usr/local/aarch64-none-elf/bin/nm' = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_objdump=3D'/usr/local/aarch64-none-elf/bin/objdump' = /mnt/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/.build/gcc/config.l= og:gcc_cv_readelf=3D'/usr/local/aarch64-none-elf/bin/readelf' =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)