Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2022 00:34:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 264834] clang crashes on math/vtk8
Message-ID:  <bug-264834-29464-AZ4e5eh5i8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264834-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264834-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=3D264834

--- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Dimitry Andric from comment #3)

Using:

# git -C /usr/ports/ diff math/vtk8
diff --git a/math/vtk8/Makefile b/math/vtk8/Makefile
index 37d002652672..b38ed248c7d9 100644
--- a/math/vtk8/Makefile
+++ b/math/vtk8/Makefile
@@ -11,7 +11,7 @@ COMMENT=3D      Visualization toolkit

 LICENSE=3D       BSD3CLAUSE

-BROKEN_FreeBSD_14_aarch64=3D     clang-14 crashes, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264834
+#BROKEN_FreeBSD_14_aarch64=3D    clang-14 crashes, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264834

 LIB_DEPENDS=3D   libtiff.so:graphics/tiff \
                libpng.so:graphics/png \
@@ -100,6 +100,9 @@ DOCS_BUILD_DEPENDS=3D doxygen:devel/doxygen

 EXAMPLES_CMAKE_BOOL=3D   BUILD_EXAMPLES

+CFLAGS+=3D   -fcrash-diagnostics-dir=3D.
+CPPFLAGS+=3D -fcrash-diagnostics-dir=3D.
+
 # Mangling so that it will build when science/netcdf is installed.
 post-patch:
        @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \

got me (from expansion of the compressed tar for the failure):

# find /wrkdirs/usr/ports/math/vtk8/ -name 'vtkGeoInteractorStyle-*' -print
/wrkdirs/usr/ports/math/vtk8/work/.build/vtkGeoInteractorStyle-d93f99.sh
/wrkdirs/usr/ports/math/vtk8/work/.build/vtkGeoInteractorStyle-d93f99.cpp

So there is a more direct way than my original re-run-after-expansion
technique to get such files.

So may be the infrastructure would be made to have a mode for
capturing clang/clang++ reproducer files in poudriere(-devel)
bulk builds when clang/clang++ is in use.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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