[Bug 215609] clang: crash on amd64 when compiling graphics/osg
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 27 11:51:24 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215609
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 at FreeBSD.org
Reporter: amdmi3 at 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
-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/gstreamer/ReaderWriterGStreamer.cpp
In file included from
/wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/src/osgPlugins/gstreamer/ReaderWriterGStreamer.cpp:14:
In file included from
/wrkdirs/usr/ports/graphics/osg/work/OpenSceneGraph-3.4.0/src/osgPlugins/gstreamer/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, preprocessed
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/ReaderWriterGStreamer.o]
Error code 254
Note c++: note: diagnostic msg: Error generating preprocessed source(s), seems
like preprocessor-related issue.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list