[LLVMbugs] [Bug 12920] New: clang on mingw gives gcc-incompatible parameters to gcc as and linker driver
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 23 05:07:21 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12920
Bug #: 12920
Summary: clang on mingw gives gcc-incompatible parameters to
gcc as and linker driver
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bearophile at mailas.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang 3.1, Windows Vista, a problem in the MinGW-Clang, merged inside
MinGW4.7.0.
Discussed with "chapuni" on IRC, he says: "clang on mingw (probably cygwin)
tends to pass gcc-incompatible parameters to gcc as and linker driver".
I am not using cygwin.
clang --version gives:
clang version 3.1 (branches/release_31)
Target: i686-pc-mingw32
Thread model: posix
The problem:
clang -Wstrncat-size foo.c -o foo
And:
clang -c -Wstrncat-size foo.c -o foo
Give to me:
gcc.exe: error: unrecognized command line option '-Wstrncat-size'
clang: error: assembler (via gcc) command failed with exit code 1 (use -v to
see invocation)
This is why I have not tried -unroll-runtime for Bug 5540
--
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