Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 21:30:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 260078] security/gnutls fails to build
Message-ID:  <bug-260078-29464-1r2Av7e8X0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260078-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260078-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dim@FreeBSD.org>
AuthorDate: 2021-12-05 17:54:13 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260078-29464-1r2Av7e8X0>