Created
April 12, 2011 08:38
-
-
Save dileks/915187 to your computer and use it in GitHub Desktop.
clang: error: unsupported option '-freg-struct-return'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ clang --version | |
| clang version 3.0 (https://github.com/lll-project/clang bd93bb8738e0313fe890e8159768a2dde250dc24) | |
| Target: i386-pc-linux-gnu | |
| Thread model: posix | |
| $ LANG=C make CC='/opt/llvm/bin/clang -Wno-unused-arguments' | |
| [: 1: Illegal number: 4.2.1 | |
| CC kernel/bounds.s | |
| clang: error: unsupported option '-freg-struct-return' | |
| make[1]: *** [kernel/bounds.s] Error 1 | |
| make: *** [prepare0] Error 2 | |
| $ LANG=C make CC=/opt/llvm/bin/clang KCFLAGS="-Wno-unused-arguments" | |
| [: 1: Illegal number: 4.2.1 | |
| Makefile:604: "WARNING: Appending $KCFLAGS (-Wno-unused-arguments) from command line to kernel $CFLAGS" | |
| CC kernel/bounds.s | |
| clang: error: unsupported option '-freg-struct-return' | |
| make[1]: *** [kernel/bounds.s] Error 1 | |
| make: *** [prepare0] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment