[Bug 264834] clang crashes on math/vtk8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 00:34:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264834
--- 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= Visualization toolkit
LICENSE= BSD3CLAUSE
-BROKEN_FreeBSD_14_aarch64= clang-14 crashes, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264834
+#BROKEN_FreeBSD_14_aarch64= clang-14 crashes, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264834
LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng.so:graphics/png \
@@ -100,6 +100,9 @@ DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES
+CFLAGS+= -fcrash-diagnostics-dir=.
+CPPFLAGS+= -fcrash-diagnostics-dir=.
+
# 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.
--
You are receiving this mail because:
You are the assignee for the bug.