From owner-freebsd-bugs@freebsd.org Thu Sep 15 13:16:25 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 10B83BDB26C for ; Thu, 15 Sep 2016 13:16:25 +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 00777935 for ; Thu, 15 Sep 2016 13:16:25 +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 u8FDGO8H067672 for ; Thu, 15 Sep 2016 13:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212703] Clang segmentation fault Date: Thu, 15 Sep 2016 13:16:25 +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: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bacon4000@gmail.com 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 cc 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: Thu, 15 Sep 2016 13:16:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212703 Bug ID: 212703 Summary: Clang segmentation fault Product: Base System Version: 10.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: bacon4000@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Looks like this project is a bit overzealous with the compiler flags, so I = can probably work around this. Same error occurs using CXX=3Dclang++37. [ 3%] Building CXX object third_party/vectorGraphics/CMakeFiles/main_svgSample.dir/main.cpp.o=20=20= =20=20=20=20=20=20=20=20=20=20=20 cd /usr/wip/graphics/openmvg/work/.build/third_party/vectorGraphics && /usr/bin/c++ -DHAVE_CXX11_CHRONO -DHAVE_CXX11_THREAD -DOPENMVG_USE_CXX11 -I/usr/local/include/eigen3 -O2 -pipe -fstack-protector -fno-strict-aliasing -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -mno-avx -mno-xop -mno-fma4 -mno-avx2 --std=3Dc++11 -fPIC -O3 -o CMakeFiles/main_svgSample.dir/main.cpp.o -c /usr/wip/graphics/openmvg/work/openmvg-2016.09.06/src/third_party/vectorGra= phics/main.cpp Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd= 10.3 -emit-obj -disable-free -disable-llvm-verifier -main-file-name main.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-feature -sse2 -target-feature -sse3 -target-feature -ssse3 -target-feature -sse4.1 -target-feature -sse4.2 -target-feature -sse4a -target-feature -avx -target-feature -xop -target-feature -fma4 -target-fea= ture -avx2 -coverage-file /usr/wip/graphics/openmvg/work/.build/third_party/vectorGraphics/CMakeFiles= /main_svgSample.dir/main.cpp.o -resource-dir /usr/bin/../lib/clang/3.4.1 -D HAVE_CXX11_CHRONO -D HAVE_CXX11_THREAD -D OPENMVG_USE_CXX11 -I /usr/local/include/eigen3 -internal-isystem /usr/include/c++/v1 -O3 --std=3Dc++11 -fdeprecated-macro -fdebug-compilation-dir /usr/wip/graphics/openmvg/work/.build/third_party/vectorGraphics -ferror-li= mit 19 -fmessage-length 81 -stack-protector 1 -mstackrealign -fobjc-runtime=3Dg= nustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o CMakeFiles/main_svgSample.dir/main.cpp.o= -x c++ /usr/wip/graphics/openmvg/work/openmvg-2016.09.06/src/third_party/vectorGra= phics/main.cpp=20 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/wip/graphics/openmvg/work/openmvg-2016.09.06/src/third_party/vectorGr= aphics/main.cpp'. 4. Running pass 'X86 Assembly / Object Emitter' on function '@main' c++: error: unable to execute command: Segmentation fault (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.3 Thread model: posix 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++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/main-d0045f.cpp c++: note: diagnostic msg: /tmp/main-d0045f.sh c++: note: diagnostic msg:=20 ******************** *** Error code 254 Stop. make[3]: stopped in /usr/wip/graphics/openmvg/work/.build *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=