From owner-freebsd-bugs@freebsd.org Tue Dec 27 11:51:24 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B1F7C93B69 for ; Tue, 27 Dec 2016 11:51:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEDC911FF for ; Tue, 27 Dec 2016 11:51:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBRBpNJD036702 for ; Tue, 27 Dec 2016 11:51:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215609] clang: crash on amd64 when compiling graphics/osg Date: Tue, 27 Dec 2016 11:51:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 11:51:24 -0000 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 ^ 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.=