Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2021 09:34:19 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Alex Richardson <arichardson@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 1b85b68da0b2 - main - llvm-readobj: Attach to buildsystem
Message-ID:  <20211015133419.25mhse5ujpi3fhgr@mutt-hbsd>
In-Reply-To: <202110141619.19EGJchJ047978@gitrepo.freebsd.org>
References:  <202110141619.19EGJchJ047978@gitrepo.freebsd.org>

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

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

On Thu, Oct 14, 2021 at 04:19:38PM +0000, Alex Richardson wrote:
> The branch main has been updated by arichardson:
>=20
> URL: https://cgit.FreeBSD.org/src/commit/?id=3D1b85b68da0b2de80e0e3aefb1a=
de226bcf3951cb
>=20
> commit 1b85b68da0b2de80e0e3aefb1ade226bcf3951cb
> Author:     Cameron Katri <me@cameronkatri.com>
> AuthorDate: 2021-10-14 16:00:27 +0000
> Commit:     Alex Richardson <arichardson@FreeBSD.org>
> CommitDate: 2021-10-14 16:18:05 +0000
>=20
>     llvm-readobj: Attach to buildsystem
>    =20
>     Also install it as readelf when MK_LLVM_BINUTILS is set.
>    =20
>     Reviewed By:    dim, arichardson
>     Differential Revision: https://reviews.freebsd.org/D32058
> ---
>  lib/clang/libllvm/Makefile                |  21 +-
>  tools/build/mk/OptionalObsoleteFiles.inc  |   4 +
>  usr.bin/clang/Makefile                    |   1 +
>  usr.bin/clang/llvm-readobj/Makefile       |  31 +++
>  usr.bin/clang/llvm-readobj/llvm-readelf.1 | 272 ++++++++++++++++++++
>  usr.bin/clang/llvm-readobj/llvm-readobj.1 | 403 ++++++++++++++++++++++++=
++++++
>  6 files changed, 724 insertions(+), 8 deletions(-)
>=20
> diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
> index 7eaedf65dcb3..cb9ab974abc5 100644
> --- a/lib/clang/libllvm/Makefile
> +++ b/lib/clang/libllvm/Makefile
> @@ -148,9 +148,13 @@ SRCS_MIN+=3D	Analysis/VectorUtils.cpp
>  SRCS_MIN+=3D	AsmParser/LLLexer.cpp
>  SRCS_MIN+=3D	AsmParser/LLParser.cpp
>  SRCS_MIN+=3D	AsmParser/Parser.cpp
> +SRCS_MIN+=3D	BinaryFormat/AMDGPUMetadataVerifier.cpp
>  SRCS_MIN+=3D	BinaryFormat/Dwarf.cpp
>  SRCS_MIN+=3D	BinaryFormat/Magic.cpp
>  SRCS_MIN+=3D	BinaryFormat/MachO.cpp
> +SRCS_MIN+=3D	BinaryFormat/MsgPackDocument.cpp
> +SRCS_MIN+=3D	BinaryFormat/MsgPackDocumentYAML.cpp
> +SRCS_MIN+=3D	BinaryFormat/MsgPackReader.cpp

Hey Alex,

You'll also want to add BinaryFormat/MsgPackWriter.cpp. Adding that
file fixes the build for HardenedBSD, since we use LTO, CFI, and
SafeStack in base.

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A=
4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

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

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

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmFpg1gACgkQ/y5nonf4
4foTvhAAopjj9O2TCRQ5t3astNUvIUSV0ht1QyUjB28Jkcc8E9O1Mc/lhCNSM76Q
mSGv/8I+CnxkFS2VutV8KEzeEhcjlpWKYhJtkGpM1aiEelcjA8tDOEcLYs/PJzj5
fsaBcRfHZ8AutGpTdT+P99vg+72Eih3i309uRLeopT5UvBQbLJvaZhGj147gPMyD
Am7k5Me4hTyGASjgimnKdFHgNmKXzYxuiQkOsFZJtfMSUM/WGoNyP8RCvIsvP5RV
SdexYk9oPBJORwDP4BcC7fweuQIgCWVY94uJpf5SM1J3jaEUH71fKjivwsusaxmS
jBjEJp7KVy0ugSNX+iU+/DZeALoffrs625qKWJQS8KvPNlvFOW/VwahImZ8BKCw+
OzOF4JgvmujGTVBbI4r9bXM4OdRVncQMDIO2Jgex5agzwn2pnAVmOZYBxkepN2Q8
IaOzsmzGzT4SpDUL8DaAmxJ2u6uHGvH83ogfJJ7PIANUKFgxsibWZ88a4d9r0gpK
bDpRV7b+LxaXMA/9m6RmUUBv4HumLhPKbp84Ep7zRxHvthmtG73SYgEiEeWBGScw
Pi/A0uEKyqIVLHalxgN2g0B8zpFi/L3lI8G3AK7P7q+pSKznDw+aoIj9X+ShRbY7
dIOu863DikIlI97Ix3UqFf6tVhUQO2ioDZJWsMok1zD6NjwVnb0=
=Rcq+
-----END PGP SIGNATURE-----

--zrof5ybsbpcxb7r2--



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