From nobody Fri Dec 10 21:30:13 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 E5D5A18D4F21 for ; Fri, 10 Dec 2021 21:30:13 +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 4J9kZs5Vdtz4pxG for ; Fri, 10 Dec 2021 21:30:13 +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 9DAEC217C7 for ; Fri, 10 Dec 2021 21:30:13 +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 1BALUD2c028746 for ; Fri, 10 Dec 2021 21:30:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BALUDgv028745 for toolchain@FreeBSD.org; Fri, 10 Dec 2021 21:30:13 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: Fri, 10 Dec 2021 21:30:13 +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=1639171813; 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=cZElbK5Bki09NQksC5JQjXmogXw509KaKwJ+bojqVRo=; b=PRCEiZeGXFgN0SG1zWJ/5OkPfLUCZ/DYz0fG5T/cqHlYbm2xdEbSM+BDJBUINwVnl9F/BI dDKV4YbqxRQA2XSOpinmKShosxiEYkN+ouzYNjZpBzIOMlJFnKZrJFkyw5ypXTAuEVAtuo S+prNzK3TBne7iXPAgbUIDgYxyykjvfAevJiPBNOhTxW/H1mHe90rlqG92NtNNYZRmC7eg DSdfRftvrPVAkwrLMx+xoFsf9I3If6Y39I7LnDTu9+I8kHg6lcgu7IikxOtmW4nuYNpV1q fLXDO21BRffI993ZvHAc+H/KuQTh3AA3bH4e+EclKGkKJxpXSTu1NKhfaOf8OA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639171813; a=rsa-sha256; cv=none; b=JSxE+OmGRUL/vElXQnk/yIC3zdDzGj4X2IoWiDdklC4u0JJq4PA741kBSQ1vmmOsSpORcV RQh2VeIaGKuZLrLqmr7+BpxCPzN8JqY1HhcDk0GLB/WknZJaG7sli1Pkhtk9dtRj8il2p2 1sMOXr2HbB1oVwS8+vrUuQB5PI6dJmCVIC7TX7HsT/ZSm5guhs0OfwZyjtlDnnpzI6tDQf ynr734EK254o3L5zXYktAUPd9AwbuSVGU1h8QDlhX/uPopsO+CNwt9LJYPOXaS+G92CMbT KwKJnmbk6attnoEkEiE3Rx80ZsRKrx2ae4+I5SrVqM7w/Ow5D+PGo/+smAL08A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260078 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De4bde9c969cc1d079403850e964d95483= 16968a1 commit e4bde9c969cc1d079403850e964d9548316968a1 Author: Dimitry Andric AuthorDate: 2021-12-05 17:54:13 +0000 Commit: Dimitry Andric CommitDate: 2021-12-10 21:28:56 +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 (cherry picked from commit a9cd5c30d64e213c537c76c2a261f7a222f348bf) .../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.=