From nobody Sat Dec 25 11:57:39 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 29F1118F60D6 for ; Sat, 25 Dec 2021 11:57:42 +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 4JLj9K0BMzz4mGF for ; Sat, 25 Dec 2021 11:57:41 +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 689CB1687A for ; Sat, 25 Dec 2021 11:57:40 +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 1BPBveep067937 for ; Sat, 25 Dec 2021 11:57:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BPBvevU067936 for toolchain@FreeBSD.org; Sat, 25 Dec 2021 11:57:40 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: Sat, 25 Dec 2021 11:57:39 +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: Closed X-Bugzilla-Resolution: FIXED 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=1640433461; 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=bsYrMXJYhYVzdn8nQdDeAGykruvDVKN8e+HaPpqiCLQ=; b=dtYugJ4wSeIZIMFOasyWN9++5UnwI84l+LhEiorgf38UYagKbvBIMP2c3xWcC713J/Pqk5 I7GYwtBlulx78oSpu10Poi+2l1BYPrlUYfvmxQfa7G8d1nFsZ8O2aTa1EeNUASEiCIcrI+ K0SXukQMRiMSlK2xL1KZepikdGDpErRPFS5fDQwIibKGKWBoGybMsgU7WRgY48oyDBIOsL bRqdmAEEXE/Zm+fM5hw5RVyn/g6fP0Yf7VN+brRl/FMopj9e7fhBRHCy+4aDvix1nHaWn7 uI+ZMN3R4C1052gzHMjaFAfyeSrieyvJMlLg9Qtn2lx945s6ks5RibL7W+jozQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640433461; a=rsa-sha256; cv=none; b=eJG70qd+RkFzk21ilFgh+NPj6mb4nzayOwTyX2diFzzHJh193t3Lqjma7TBJtAGgiObu7G YKI/O5jorMIdAToVKhLBG88yZWS3JMX1yLXYL2myKCiKMWb+cxJx+TmdEuQIsjEeOz0H4a FC+VThuGoW3xrRTfZGoD5Y26M9ZmpaoPVjxPprD2BmlrriE9fNNRj1RlvpUwZGo9xZk72G FNknS6kWWPUptfjJi+v1Jj4WPPOgwV9nuR3HHA3p8P8pusGCjFhdGcBeLY+UTfiSPb0eLs IvzbTBU0Pb/RglBo31QyPKtqBMt2gxz9IvBhQ21vCA4Uw/GY5mJycEORiM5Cfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260078 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D367dea5f853f1193fd1cc722f85e132f3= 23c22db commit 367dea5f853f1193fd1cc722f85e132f323c22db Author: Dimitry Andric AuthorDate: 2021-12-05 17:54:13 +0000 Commit: Dimitry Andric CommitDate: 2021-12-25 11:51:42 +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.=