[Bug 227941] llvm crash when compiling specific code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 3 01:10:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227941

            Bug ID: 227941
           Summary: llvm crash when compiling specific code
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: neal at wanlink.com

Using c++ to compile specific code crashes the compiler.
The compiler then spits out instructions to include files, and submit a bug.
I searched for "llvm crash" and didn't get any hits.

---- llvm output snap shot ----

(516 / 16) [~/src/vs.git/t2]$: gmake clean test
rm -f prog *.core  main.o main.d
c++ -Wno-unused -MP -MD -std=c++11 -g3 -ggdb -fblocks -I. -I/usr/local/include
-c main.cpp -o main.o
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 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd11.1
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++: note: diagnostic msg:
********************

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-8ed6cc.cpp
c++: note: diagnostic msg: /tmp/main-8ed6cc.sh
c++: note: diagnostic msg:

********************
gmake: *** [Makefile:72: main.o] Error 254
(neal at xxxx.xxxxxxx.com) 19:13:00
(518 / 18) [~/src/vs.git/t2]$: uname -a
FreeBSD xxxx.xxxxxxx.com 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14
06:12:40 UTC 2017    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
(neal at xxxx.xxxxxxx.com) 19:52:08
(519 / 19) [~/src/vs.git/t2]$: 


--- end output snap shot ---

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list