Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 13:16:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212703] Clang segmentation fault
Message-ID:  <bug-212703-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.      <eof> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212703-8>