http://llvm.org/bugs/show_bug.cgi?id=15385
Bug ID: 15385
Summary: Option '-dN' is not honoer or passed on to
preprocessor
Product: clang
Version: 3.1
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
$ uname -a
Linux ubuntu-12-x64 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
$ clang --version
clang version 3.1 (branches/release_31)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Attempting to build uClibc with
make CC=clang CXX=clang++
results in:
clang: warning: argument unused during compilation: '-dN'
ERROR: Could not generate syscalls.
Make sure that you have proper kernel headers.
Your .config in KERNEL_HEADERS="" was set to:
/usr/src/linux-headers-3.2.0-38/include/
If I omit CC and CXX, make will use gcc and proceed (but fail at uClibc's
syscall hack). One problem at a time...
I'm very interested in using Clang for more projects due to its ehanced
warnings and static analysis capabilities, including Li and Regehr's IOC. (This
Clang was built with their patches at http://embed.cs.utah.edu/ioc/).
Should I be doing anything special to pass arguments to a preprocessor?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs