[LLVMbugs] [Bug 17115] New: clang frontend command failed due to signal

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 5 22:00:50 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17115

            Bug ID: 17115
           Summary: clang frontend command failed due to signal
           Product: clang
           Version: trunk
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mapholameth at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11149
  --> http://llvm.org/bugs/attachment.cgi?id=11149&action=edit
Preprocessed source.

OS: Windows8 x64
Visual Studio 2012 express

clang version 3.4
Target: i686-pc-win32
Thread model: posix

I installed windows snapshot build from here http://llvm.org/builds/ SVN
r190067.

Source:
#include <cstdlib>
#include <cstdio>

int main()
{
    auto func = []() { printf("Hello, world!"); };
    func();
    return EXIT_SUCCESS;
}

Output:
1>------ Rebuild All started: Project: clang-toolchain-test, Configuration:
Debug Win32 ------
1>clang cl.exe : warning : argument unused during compilation: '/ZI'
1>clang cl.exe : warning : argument unused during compilation: '/Gm'
1>clang cl.exe : warning : argument unused during compilation: '/EHsc'
1>clang cl.exe : warning : argument unused during compilation: '/RTC1'
1>clang cl.exe : warning : argument unused during compilation: '/GS'
1>clang cl.exe : warning : argument unused during compilation: '/fp:precise'
1>clang cl.exe : warning : argument unused during compilation:
'/FdDebug\vc100.pdb'
1>clang cl.exe : warning : argument unused during compilation: '/Gd'
1>clang cl.exe : warning : argument unused during compilation: '-v'
1>  placeholder types shouldn't get to name mangling
1>  UNREACHABLE executed at ..\tools\clang\lib\AST\MicrosoftMangle.cpp:1208!
1>clang cl.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
1>  clang version 3.4 
1>  Target: i686-pc-win32
1>  Thread model: posix
1>  clang cl.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
1>  clang cl.exe: note: diagnostic msg: 
1>  ********************
1>  
1>  PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>  Preprocessed source(s) and associated run script(s) are located at:
1>  clang cl.exe: note: diagnostic msg:
C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.cpp
1>  clang cl.exe: note: diagnostic msg:
C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.sh
1>  clang cl.exe: note: diagnostic msg: 
1>  
1>  ********************
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Invocation (C:\Users\MAPHO_~1\AppData\Local\Temp\main-7837fa.sh):
C:\Program Files (x86)\LLVM 3.4.svn\msbuild-bin\CL.exe -cc1 -triple
i686-pc-win32 -emit-obj -mrelax-all -disable-free -main-file-name main.cpp
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -target-cpu pentium4 -D_DEBUG -D_MT -D_DLL
--dependent-lib=msvcrtd --dependent-lib=oldnames -cxx-abi microsoft -D "_MBCS"
-O0 -Wall -Wno-error -std=c++11 -fdeprecated-macro -ferror-limit 19
-fmessage-length 0 -mstackrealign -fms-extensions -fms-compatibility
-fmsc-version=1300 -fdelayed-template-parsing -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -vectorize-slp -x c++ main-7837fa.cpp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130906/a496f108/attachment.html>


More information about the llvm-bugs mailing list