[LLVMbugs] [Bug 10908] New: command line switch -- isn't supported, openssl crashes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 11 08:50:45 PDT 2011


           Summary: command line switch -- isn't supported, openssl
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: balicki.aleksander at gmail.com
                CC: llvmbugs at cs.uiuc.edu

The switch -- by convention signalizes, that each value after that shouldn't be
interpreted as an option, so you can for example compile:

clang -- -hello.c

openssl crash:
>>> Compiling source in /var/tmp/portage/dev-libs/openssl-1.0.0e/work/openssl-1.0.0e ...
make -j3 -j1 depend 
making depend in crypto...
make[1]: Entering directory
clang: error: unsupported option '--'
clang: error: unsupported option '--'
mv: cannot stat `Makefile.new': No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory
make: *** [depend] Error 1

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