[LLVMbugs] [Bug 6511] New: clang++ tries to invoke g++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 5 03:53:37 PST 2010


           Summary: clang++ tries to invoke g++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: Axel.Naumann at cern.ch
                CC: llvmbugs at cs.uiuc.edu

I have built the current trunk of clang + llvm with MSVC 2008 in debug with
CMake. I get

c:\ROOT\llvm\AxelTest>clang++ -v t.cxx

Target: i686-pc-win32
Thread model: posix
 "c:/ROOT/llvm/obj/bin/Debug/clang.exe" -cc1 -triple i686-pc-win32 -S
ree -main-file-name t.cxx -mrelocation-model static -mdisable-fp-elim
tor-aliases -v -resource-dir c:/ROOT/llvm/obj/bin/lib/clang/1.1
 80 -fexceptions -fms-extensions -fgnu-runtime -fdiagnostics-show-option
-diagnostics -o C:/Users/axel/AppData/Local/Temp/cc-000000.s -x c++ t.cxx
clang -cc1 version 1.1 based upon llvm 2.7svn hosted on i686-pc-win32
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
 C:\Program Files\Microsoft SDKs\Windows\v6.0A
End of search list.
 "g++" -v -c -o C:/Users/axel/AppData/Local/Temp/cc-000001.o -x assembler
clang++: error: unable to execute command: program not executable
clang++: error: assembler command failed due to signal 1 (use -v to see

And yes, clang (without "++") tries to invoke gcc. Is there a configuration
step that I have overlooked?

Cheers, Axel.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list