From nobody Sun Apr 27 17:42:44 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zlv7405WPz5v6yY for ; Sun, 27 Apr 2025 17:42:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zlv73379lz3yhn; Sun, 27 Apr 2025 17:42:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745775775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X+8PXuO6dc6yO2+6z4SSswXs7SOb+DfO2RAnnuAhvJM=; b=TcN5W0PJQLaCVspxXI2k8hp1aP0uqZ92JLkIznU5EoRaFLhzvNy2291Jju7YfsFWWzNKJ6 +OsevJLVWYwJo3dal6RjWtOMLY1wsYrLcEFQ6lo5rq+Ji23T6jwl21Oj2nsSz49zIfCIZ+ PQ2cRbCXjtKKxwBCrC34d53dWSgmFu1ZEZYuMOCCPq47C3JEVyOEZlEVL02gSoW9nbqm7r zoQZnJdWpzcMJ/AF1SYQ9Vzix8Jng7h8elXmIbOWptkL75JC2baKpxVz/73yF4BKS/BSZ3 9KEHZLIW1yc/cH8FMvRfi+GY9Lza+tAYb4UlQyOkkNDeByA7nAASmyLzRz8uRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745775775; a=rsa-sha256; cv=none; b=rNTr/QKCZARmEEImW2h/PqHHMGZmW0TQY10WuicO1Pgel6RC2f/o/SxF0wKIYsZIpSt1Vq /fYQqK/AFgITHYbvCGDExF+WgPfG+/SFOrXk0krXxVYi8ukJKgTuQEr6bgpPVv+Xk1aa3n KSpybCkz0HJSgSQP7jd4OQr1NnqJUBBQTML3T0uMyrytG1dJmhSD7miKGruCWYnuWH2i87 qP/p7ZrFQdhcr22Qek+sbJxbt/l33FEUpF3SWNzRFI6eF42k4PelJXfAz6MIFbyJC0yj90 et83OsLCbAIRR56EfxO25cjUeRs3MDJFR/aPoqg3RswfgN2TwHBMjPc+boLgNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745775775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X+8PXuO6dc6yO2+6z4SSswXs7SOb+DfO2RAnnuAhvJM=; b=kFATgcv7UNsaKoJQyNmf5Kg9QguRQZPFmtjRJwbAAt+Zkilr1lj+NpQ+tAqaBfg4hwvIHM dS/z1if7zPh+ydwQGVYfZN/rNqGvaqk/7iGH7sRLHU+yuMvJU2YP0fAnQS379zKyYBXtuR 5VfPMVz5cXTC43oR/kSWjGJPM4pNjSMXn8gbGHCXKCjj8885TW4BY76AThQr3bAvZnWrpr TIy0puA/xjxkFJb49sliE9MsesSoPwfzd0ZSj4p84AZY3AXnVJ/mD5xP3JZj1fWNh7A/hb kB5vkFBGHSfs7XbCwXotbj5pa8NPJVVAwLNlrMuqGrQID6eanttx9A2ifxDSBA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R11" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Zlv731rnkzNv1; Sun, 27 Apr 2025 17:42:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AFA3041A98; Sun, 27 Apr 2025 19:42:53 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_38A995DF-EB24-406B-80B6-D7EE56000E86"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.10\)) Subject: Re: HEADS UP: libllvm, libclang, and liblldb converted into shared libraries From: Dimitry Andric In-Reply-To: Date: Sun, 27 Apr 2025 19:42:44 +0200 Cc: FreeBSD CURRENT Message-Id: <8173C7D9-F95A-4440-82DA-6CF160AAD6C2@FreeBSD.org> References: To: Shawn Webb X-Mailer: Apple Mail (2.3731.700.6.1.10) --Apple-Mail=_38A995DF-EB24-406B-80B6-D7EE56000E86 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Apr 2025, at 17:04, Shawn Webb wrote: >=20 > 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. >=20 > Hey Dimitry, >=20 > 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. >=20 > I can reproduce this by running `env SHELL=3D/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 --Apple-Mail=_38A995DF-EB24-406B-80B6-D7EE56000E86 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCaA5slAAKCRCwXqMKLiCW o2ofAKDAvA8uOEJSOolj6kIgCrsxqHOyIgCfdX+P6sNLe7UZlmr6xtbVpNg59/Y= =u28H -----END PGP SIGNATURE----- --Apple-Mail=_38A995DF-EB24-406B-80B6-D7EE56000E86--