Date: Sun, 27 Apr 2025 19:42:44 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Shawn Webb <shawn.webb@hardenedbsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: HEADS UP: libllvm, libclang, and liblldb converted into shared libraries Message-ID: <8173C7D9-F95A-4440-82DA-6CF160AAD6C2@FreeBSD.org> In-Reply-To: <qbula3o6nf2f5xkpb4vu6p7d25of6z3hvtqfhr2x2rfr3flesh@6fzyxd7qnl3a> References: <B44B37E9-16C8-46B2-95CA-2A9072174FFF@FreeBSD.org> <qbula3o6nf2f5xkpb4vu6p7d25of6z3hvtqfhr2x2rfr3flesh@6fzyxd7qnl3a>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 27 Apr 2025, at 17:04, Shawn Webb <shawn.webb@hardenedbsd.org> wrote:
>
> On Sat, Apr 26, 2025 at 06:06:54PM +0200, Dimitry Andric wrote:
...
>> Please let me know if you encounter any problems resulting due to this
>> change, as I intend to MFC it. For example, I tried covering all
>> incremental build scenarios, but I may have missed some corner case.
>
> Hey Dimitry,
>
> I suspect this may be a problem specific to HardenedBSD, but it looks
> like cc occasionally crashes. It hits an assert at
> /usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:2702.
>
> I can reproduce this by running `env SHELL=/bin/sh make buildenv` at
> the top of /usr/src. Though, it doesn't reproduce 100%, but perhaps
> around 60%.
It's asserting on this line:
assert(!CCGenDiagnostics && "stdin produces no crash reproducer");
I think during make buildenv the make framework will run cc --version
and ld --version to get at the compiler and linker version, but it could
be that it's doing some weird combination that hasn't been thought of.
Can you get the exact command line out of the debugger?
-Dimitry
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2
iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCaA5slAAKCRCwXqMKLiCW
o2ofAKDAvA8uOEJSOolj6kIgCrsxqHOyIgCfdX+P6sNLe7UZlmr6xtbVpNg59/Y=
=u28H
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8173C7D9-F95A-4440-82DA-6CF160AAD6C2>
