Date: Wed, 4 Aug 2021 08:13:46 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Ed Maste <emaste@freebsd.org> Cc: "freebsd-toolchain@FreeBSD.org" <freebsd-toolchain@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Dimitry Andric <dim@freebsd.org>, Alexander Richardson <arichardson@freebsd.org> Subject: Re: Migrating to LLVM binutils tools (ar, nm, addr2line, etc.) Message-ID: <20210804121346.b6xelxg3mwellffe@mutt-hbsd> In-Reply-To: <CAPyFy2BMOhsbF9Hi7TXC5anV63SoxbEeyiM3ZNX7mHVvo=U0wQ@mail.gmail.com> References: <CAPyFy2AP8b4QAU7S9_Yenj8VCWwrBUitRGAAuPiExiX3wBNu%2Bw@mail.gmail.com> <20210802131132.c7egr6cphq322qcj@mutt-hbsd> <CAPyFy2BMOhsbF9Hi7TXC5anV63SoxbEeyiM3ZNX7mHVvo=U0wQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--oagg7em5zd5opkop Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 03, 2021 at 09:09:40PM -0400, Ed Maste wrote: > On Mon, 2 Aug 2021 at 09:11, Shawn Webb <shawn.webb@hardenedbsd.org> wrot= e: > > > > For most cases, when elftc-ar fails, it does not set the exitcode to > > non-zero. This tricks the ports tree to continue to build a port where > > elftc-ar actually errored. >=20 > Thanks for the notice - I didn't see this email until now, but saw the > related discussion on HardenedBSD's IRC channel this morning. >=20 > Note that FreeBSD ar is different from ELF Tool Chain's ar; the latter > is a fork of FreeBSDs, and there are some distinct bug fixes or > improvements in each version that are not present in the other. Here > FreeBSD's ar is buggy, and llvm-ar, GNU ar, and ELF Tool Chain's ar > all return a non-zero exit code. >=20 > Code review with fix for FreeBSD's ar: https://reviews.freebsd.org/D31402 > Exp-run request: https://bugs.freebsd.org/257599 I was mistaken about which ar was errant. I apologize. Thank you very much for the clarification. Thanks again, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --oagg7em5zd5opkop Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmEKhHgACgkQ/y5nonf4 4frxmg//Xj5XUk+59S/6aDCupkXPt6flYjOywX19yu1Zc96mvoRO+NIRu44PSaDG ewjxuz/Nqpm7PxOmlEWyzBXc3kIO+zSH3cdpCw61yiiksF4iHp3mb/Bqlw125IJY eI7jvm4v2BMBfh33y+FbuKsnV/1q33VGQpIFhLndPB1PKvl0r/a2CxaRVOLPxsbj U3GNt/jvC2djWxPzqb/k3gCiSyXnUykuI86GUgT0O44OuTkJZPlUr0GjfNIqHFdk wEW3zhIKaoaKxNx5AShPy1chc2S+jDepg3GEwfQHUmAAtaddxqZ3W3wbkoJ1CxwI pXQDZFTQHCBVElSFyKEyDr5FICz+icWHWotzKYbitpaRm5o7E/N8ePRMfnczAXJo 5ysnnHUJ+k+s8+1FG67BuLKfD2G8yX5XEEbI5l0bAhZe0Ubea+Vrhpnth5L2FAJx uhxK/Ex3riBOPnDJA2Iy5zLJWdemgm1y08XZgRwDdsgTOSRdTxMkYnJwwkwNJtu2 CVMT5pqi7k42/r52tJS9v2Jpjv7jArlG+4Yb32DilPX7WJVEp/57m3hDNWChujOy OBhO9ya7HXPYn+rn4IY3RDzZfTazJOb6Sp6B95MdPs34bo3TDOO+f6mZwha8fqQ2 u8RF1iTJ+7Ti8N5xAicjppgpTO2kOQhGS2Y/JxYhWeAA5Gt8g3I= =L+L+ -----END PGP SIGNATURE----- --oagg7em5zd5opkop--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210804121346.b6xelxg3mwellffe>