Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 12, 2011 08:21
Show Gist options
  • Select an option

  • Save dileks/915162 to your computer and use it in GitHub Desktop.

Select an option

Save dileks/915162 to your computer and use it in GitHub Desktop.
kernel-7121014768c6bb5ffca77e9666182e7a546a1c82: clang: error: unsupported option '-freg-struct-return'
$ LANG=C make CC=clang HOSTCC=clang KCFLAGS="-Qno-unused-arguments"
[: 1: Illegal number: 4.2.1
Makefile:604: "WARNING: Appending $KCFLAGS (-Qno-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
$ LANG=C make CC=clang HOSTCC=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