From nobody Sun Dec 05 17:56:25 2021 X-Original-To: toolchain@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 B9C9418B3949 for ; Sun, 5 Dec 2021 17:56:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J6Z4T40szz4bkZ for ; Sun, 5 Dec 2021 17:56:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 61B921C5A7 for ; Sun, 5 Dec 2021 17:56:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B5HuPYA012872 for ; Sun, 5 Dec 2021 17:56:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B5HuP6o012871 for toolchain@FreeBSD.org; Sun, 5 Dec 2021 17:56:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 260078] security/gnutls fails to build Date: Sun, 05 Dec 2021 17:56:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638726985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rdYo5IyvTKJIqaq4MAG6DkHF94vu1rUe5ugydtYX+q8=; b=BSyejddy465PZD1r3RxLuwjswM39owxCnscQ/16qiX2bMIj0j/9FrPNOb+9+dL+nASmyt2 oEW3KPy35HpCPMvS0fqqZDYJzyiofjcq1DZ3u19xl/pswCgjBWrKzmRsLpJ+BWMxXT282o yw/qNf8WoHEnHclEQgG5dwfjVAkpL6w4ey3Gw9oQXHNifoeXkgPehXzBSLwHJBGkFTCCrz UF8Vkl4/Gmu85VCOn+C1rpsMNyaS5Az4F57Lawbuz5FyUuOYq2LKvMPctctSCNO2XcZlDc fGtHyNdn8zzatnkxhPGRe5R8eUHK8BP4vvv1ptLpkBn5XvLmDuWFGI3kM5mOiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638726985; a=rsa-sha256; cv=none; b=D7TM4GfoVSK/YICR8kDF8uAX8T23eKj0OB+YdfqGOZP4hjeXMcXfvwebU3aLrNq5v0N4pO zAYgKdeC7OqNKgCzz5D+S0pdWK0wSEPon4AESHZxSnpQX6WcrCOq/buMUDsD9Oa5v9BtTa 5r5EAB8KPkc/H45HtkuZMzkNIRqgrYzwRFmTS7TRPXOwhkNnRnY77zHwQPIM9hZQHSaZ5G j78nJEUHCBN1HZZRYqOW3xNZsv/91IzN9Wj67b2XyEGS8tnTPFZqJ9b7f7/NZtT2Xrn+6i TfiLcfnjWKGCaa5j/3U+IIaMdj2GbW8zfo2Kb3SHznGnWiIZ//8ake5A0G9FEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260078 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da9cd5c30d64e213c537c76c2a261f7a22= 2f348bf commit a9cd5c30d64e213c537c76c2a261f7a222f348bf Author: Dimitry Andric AuthorDate: 2021-12-05 17:54:13 +0000 Commit: Dimitry Andric CommitDate: 2021-12-05 17:54:13 +0000 Apply fix for clang crashing on invalid -Wa,-march=3D values Merge commit df08b2fe8b35 from llvm git (by Dimitry Andric): [AArch64] Avoid crashing on invalid -Wa,-march=3D values As reported in https://bugs.freebsd.org/260078, the gnutls Makefiles pass -Wa,-march=3Dall to compile a number of assembly files. Clang do= es not support this -march value, but because of a mistake in handling the arguments, an unitialized Arg pointer is dereferenced, which can cause a segfault. Work around this by adding a check if the local WaMArch variable is initialized, and if so, using its value in the diagnostic message. Reviewed By: tschuett Differential Revision: https://reviews.llvm.org/D114677 PR: 260078 Reported by: bz MFC after: 3 days .../clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 +++++++++++= ---- 1 file changed, 11 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=