From owner-freebsd-current@freebsd.org Wed Jun 20 22:26:01 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 303A4100FC01 for ; Wed, 20 Jun 2018 22:26:01 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DC4F7783B for ; Wed, 20 Jun 2018 22:26:00 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-wm0-x243.google.com with SMTP id r125-v6so2248193wmg.2 for ; Wed, 20 Jun 2018 15:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=uKEjXyFedaly3u8DaZxZpvyWQdknKghAExr5rG9FHAw=; b=bVrJJwp+i014n5r96qF/QR7dG1mydBjoMmU7T/UBk0dYHOsnis3bWQ8VQYZCDLNpCr 6F1OTRoZeTnPrSEMNnqoicipBTN20AiJaHKgTbLNclCBz+Cv/OQIpytMOuwidlm5U8+L GyMIC9bl+nchtGU7BXS2v17NsvB3ZXCsPBsSSsgXlvAeA3V8l83fRwpjk3fSwIJQAVz+ 6AEM6Q4UyzjnZSgLRyutpy/8xL0Sg/GcIfo/2fhDNzFbGu7EdL4W+MDi7gQrpYJ1+Lex D2nwnLzPHlh4JifT7VCVPrlq9H8vKVHRTtoXRADkpEg7vxi0Zj/n/vtUMuczHlEjw+5m BekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=uKEjXyFedaly3u8DaZxZpvyWQdknKghAExr5rG9FHAw=; b=tGxHjS1UFK9fnrQ62eZuoLFqa1iDHPwEr8z/ZFa8wCFgAZkyABbMcb2K9mEbaXWw78 WG2Teo3xZ+RN3+lKmeUFWDjBeTuxZJeqcvcj5p2v85hYzZW6X9v173g5GPMANfjzay8m CTzUtfvwYYy2gkpV/QSRaaZ542xWIDNVK+t2+vEGuWRp/5vmvjUxjk2upq5TwWnQHFpz GJVrcFe5oebKHh9xmGHQhy+kR5SDolADfkVoNFnEzmx5p7YE/aGz7QYbYfYv6bwm7Yt8 jR2/BxrIffDZ1tYY9LQJ5/UKopL1nD/nHsHBQgLtquO8Wc5/ZBaEnIJAl9+N9vEh9Fut doQA== X-Gm-Message-State: APt69E08V3XXsGSCqBlNkbv7z+WvjihNH16tPqlKscU5FoZuOyAZEVj1 ZZf/uS76JgfPEzjvgef1mKHbhA== X-Google-Smtp-Source: ADUXVKILIMSXQqiNUdw7Gs9g7N01jD7gf6qc5gch1ARbC+/w9NOR8QdeVK9Sb4pzglLMRPKuszXMfQ== X-Received: by 2002:a50:8f42:: with SMTP id 60-v6mr19470280edy.248.1529533559407; Wed, 20 Jun 2018 15:25:59 -0700 (PDT) Received: from mutt-hbsd (tor.matmen.me. [94.16.123.176]) by smtp.gmail.com with ESMTPSA id r10-v6sm1444237edo.77.2018.06.20.15.25.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 15:25:58 -0700 (PDT) Date: Wed, 20 Jun 2018 18:25:27 -0400 From: Shawn Webb To: Ed Maste Cc: FreeBSD Current , "freebsd-toolchain@FreeBSD.org" Subject: Re: Tool Chain Migration: objdump users, please test llvm-objdump Message-ID: <20180620222527.vkd5fm3ksd5j6yux@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nq7lbmr2sjwra7le" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT FreeBSD 12.0-CURRENT X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180323 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 22:26:01 -0000 --nq7lbmr2sjwra7le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 20, 2018 at 10:46:46AM -0400, Ed Maste wrote: > Work is in progress to migrate fully to modern and permissively > licensed components for the tool chain. This includes moving away from > the three obsolete binutils components that are still in the base > system (as, ld, objdump). objdump is a tool to report information > about binary objects (such as headers, symbols, etc.), is not required > as a build tool, and in any case many uses of objdump are better > served by readelf. >=20 > For FreeBSD 12 I intend to remove GNU objdump 2.17.50. PR 229046[1] is > open to track tasks related to its removal, and users who need GNU > objdump can install an up-to-date version from the ports tree or the > binutils package. >=20 > That said, llvm includes a somewhat equivalent llvm-objdump, and it is > built by default in FreeBSD now. If llvm-objdump's command line option > support and output format is "close enough" to GNU objdump for most > users we may decide to install it as /usr/bin/objdump. Therefore, I > would like to ask users of GNU objdump in FreeBSD to give llvm-objdump > a try. Please let me know if it works for your uses, or describe > deficiencies that you found. In preparation for Cross-DSO CFI support, HardenedBSD switched to llvm-ar, llvm-nm, and llvm-objdump on 12-CURRENT/arm64 with commit a3db6f9006499b55c2042faccd0ed6a6777b9d9f (22 Dec 2017). There are some issues with the ports tree, but I haven't quantified them, yet. All high-visibility applications (firefox, apache, nginx, openvpn, etc.) all work with a full llvm toolchain (again: llvm-ar, llvm-nm, and llvm-objdump). Some applications break during runtime and not build time. Certain pidgin plugins break, for example, at runtime due to a full llvm toolchain, but compile just fine. Would you like me to quantify the compilation breakages due to the full llvm toolchain switch? If so, I can do that after July 12th. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --nq7lbmr2sjwra7le Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlsq1FIACgkQaoRlj1JF bu6JfA/9ExEew2VcI4fz2rc3F3/YIKkc9MuY5+w8UsNNaFK2ye2WjAhDP5lPcCzp PxqRkILYXk6uRnZvNXIAawpo2I5DXnNhVvsEK6f0oBCZe8/OTscKGWKueNbg5e4q 7my69lfJujCK6kxrS4vgfUMwqHg9DwhCCyI/mT7hkRVZXaxzbFRQad925jhyjCWH n9nzWOgHV0k7JMAH6S9F4jqLiYFQDGNvay6t5EGtMEv7u2aCdSthS0byCyTr1qd2 v3qQD+elYI8Wpo84bTVKyxBWXW8vI6hwzOftD5QNUwIiA8VpuYahIt7XoE8xhUEK Ua5DLQNrUL6q3kHkhoJjPES2dPBc9X2hPX+5cIMIIE6+Dsfjx2unYMee4zkyH+qb oeb7OyV37voF7DeDxPPn4sLT9P1zZHJ0CrC84iLit+zT2qX6Mo2z+S084vLMAPKI qkDf9d4vumwjs0WSy74G3mhro2KdEZno+CqFD+GTMYNf2LMA647jj9BLaMkuj/ce Y69/c/JO2q228PN2oqznZzPB88UX3s/t4i6whMUMZSL8eCrp23IE0AH/IBTPnJti TdSnk3eH/DAJWbFj9Gg5ptpIpVl2w2OFttA5i7+Drh3YaE6crcdGCMrx/iwtQtZ3 mS97wWhypYkguS564AHktJYDuFhNkSGvEygPIkJGa5jSZASOCyw= =28XV -----END PGP SIGNATURE----- --nq7lbmr2sjwra7le--