[LLVMbugs] [Bug 21094] New: clang doesn't switch to c++ compiling mode when the executable has a number prefix just after ++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 29 09:42:21 PDT 2014


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

            Bug ID: 21094
           Summary: clang doesn't switch to c++ compiling mode when the
                    executable has a number prefix just after ++
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fuscated at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13096
  --> http://llvm.org/bugs/attachment.cgi?id=13096&action=edit
linking failure

I have llvm 3.5 installed from source in /opt/llvm35
I've made symlinks to the binaries in /usr/bin

They look like this:

$ ls -l /usr/bin/ | grep clang
clang35 -> /opt/llvm35/bin/clang
clang++35 -> /opt/llvm35/bin/clang++

Then if I compile a simple c++ program, the clang compiler fails to link it.
See the attachment for the build log.

If I rename the clang++ symlink to either clang++ or clang++-3.5 it works fine

-- 
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/20140929/7eab8946/attachment.html>


More information about the llvm-bugs mailing list