Date: Tue, 27 Dec 2016 11:51:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215609] clang: crash on amd64 when compiling graphics/osg Message-ID: <bug-215609-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215609 Bug ID: 215609 Summary: clang: crash on amd64 when compiling graphics/osg Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: amdmi3@FreeBSD.org When compiling graphics/osg with GSTREAMER options enabled and TRYBROKEN set (as the option is broken, it cannot find the header), clang dies with: cd /wrkdirs/usr/ports/graphics/osg/work/.build/src/osgPlugins/gstreamer && /usr/local/libexec/ccache/c++ -Dosgdb_gstreamer_EXPORTS -I/wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/include -I/usr/local/include -I/wrkdirs/usr/ports/graphics/osg/work/.build/include -I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wparentheses -Wno-long-long -Wno-import=20 -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wno-overloaded-virtual -Wno-variadic-macros -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -o CMakeFiles/osgdb_gstreamer.dir/ReaderWriterGStreamer.o -c /wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/src/osgPlugins/gs= treamer/ReaderWriterGStreamer.cpp In file included from /wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/src/osgPlugins/gs= treamer/ReaderWriterGStreamer.cpp:14: In file included from /wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/src/osgPlugins/gs= treamer/GStreamerImageStream.hpp:4: In file included from /usr/local/include/gstreamer-1.0/gst/app/gstappsink.h= :23: In file included from /usr/local/include/gstreamer-1.0/gst/gst.h:35: In file included from /usr/local/include/gstreamer-1.0/gst/gstbin.h:27: /usr/local/include/gstreamer-1.0/gst/gstelement.h:55:10: fatal error: 'gst/gstconfig.h' file not found #include <gst/gstconfig.h> ^ Assertion failed: (IdealIndex < NumIdealInits && "initializer not found in initializer list"), function DiagnoseBaseOrMemInitializerOrder, file /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/= SemaDeclCXX.cpp, line 4160. c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces= sed source, and associated run script. c++: error: unable to execute command: Abort trap (core dumped) c++: note: diagnostic msg: Error generating preprocessed source(s). *** [src/osgPlugins/gstreamer/CMakeFiles/osgdb_gstreamer.dir/ReaderWriterGStrea= mer.o] Error code 254 Note c++: note: diagnostic msg: Error generating preprocessed source(s), se= ems like preprocessor-related issue. --=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-215609-8>