Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2020 11:38:11 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r367304 - in head: share/man/man5 share/mk tools/build/options usr.bin usr.bin/clang usr.bin/clang/llvm-cxxfilt
Message-ID:  <20201104163811.2waowgqzarpr3asr@mutt-hbsd>
In-Reply-To: <CAPyFy2AfpZg-zL2YMtGC7M=GvgYBRK3bzX7=KKYTLdmLwMGHoQ@mail.gmail.com>
References:  <202011031957.0A3JvSJ4038311@repo.freebsd.org> <CAPyFy2AfpZg-zL2YMtGC7M=GvgYBRK3bzX7=KKYTLdmLwMGHoQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--e6n3pkqac6rtvho3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 04, 2020 at 11:26:51AM -0500, Ed Maste wrote:
> On Tue, 3 Nov 2020 at 14:57, Dimitry Andric <dim@freebsd.org> wrote:
> >
> > Author: dim
> > Date: Tue Nov  3 19:57:28 2020
> > New Revision: 367304
> > URL: https://svnweb.freebsd.org/changeset/base/367304
> >
> > Log:
> >   Add WITH_LLVM_CXXFILT option to install llvm-cxxfilt as c++filt
>=20
> A previous argument against the LLVM versions of binutils replacements
> is that they were excessively large, but this does not look like a
> substantial problem here. LLVM's cxxfilt is indeed many times the size
> of ELF Tool Chain's, but still small enough that for a tool chain
> component it's not a concern, in my opinion.
>=20
> ELF Tool Chain:
> $ size obj/c++filt
>    text   data    bss     dec       hex   filename
>   66966   1008   8400   76374   0x12a56   obj/c++filt
>=20
> LLVM:
> $ size obj/llvm-cxxfilt
>     text   data    bss      dec       hex   filename
>   378138   1756   9165   389059   0x5efc3   obj/llvm-cxxfilt
>=20
> A remaining issue is that both nm and addr2line can also demangle C++ sym=
bols.

This brings a question: is there any guidance as to what FreeBSD
considers "too large of a component" for a toolchain component (or any
other various components, like src.git/stand)?

I ask mostly out of curiousity.

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha=
wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--e6n3pkqac6rtvho3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl+i2PAACgkQ/y5nonf4
4fqhTxAApJxjXO5c/3lUIOweo1s1sCugiDUCpWSLASGYnJGR8zpQqdzNu23zqgFf
kxY7HTVESYheKLCAEMp6SJGz1ykl/hiYUMVT/+HUYfJZMEwNlWrUwQ8UwcnSLdjN
QEJ2aRDUL/fvoxq3aZsQeGoyW30BUEJv3PD9hgp7WIZkM5K+MfZh0bqEKR7j3RSO
UhXYV4xamDsU8QGV7wWu6mXNr3b7CTocDlkOwWLBzb9FYyXJUxdI0PHgHKUykewW
uiXR1r8WZNd/RRlh1IdQjrOEmUNkrFuumqNYTjf34wgjRf73+Q/EqqcQRZUwMuLb
xxu/7oCcGbb95wIl2pzl3B6wc1mC3FmPcWeqoXtUYU1Fc656dxnCuLumeND8Vd+2
KSZP1AvWt9hrdtBwqu7Ya23a2YbE3hX6g7Vmt1idNfqMz3YKN4kscG/RF45mQxCI
jtA99SfEDXqSMxHvqLLsMMItaPAmF4F1DIHCcxWyrRwWGTsJTU8x+1h4iq67U2/E
f0oPexqZDz1UBBYPWyCh4Aihiqqh/9e/LTaGs+ExsdUGIuQyenJOQPEGEhPw1lZ8
2ENWMs89Ob8cztI4Ko7U9lehRWVV0er9nTOjPmlow/IzX1ZAdjV2QxLOPVjehxqL
g4epKIJ/GwuKeYkDzn+UL/FuUqeIZ/VOOYYn4/e1gPfCDU2aqnA=
=76rh
-----END PGP SIGNATURE-----

--e6n3pkqac6rtvho3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201104163811.2waowgqzarpr3asr>