------- Comment #20 from justinmattock at gmail dot com 2010-04-26 02:41 ------- Created an attachment (id=20489) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20489&action=view) dmesg with 4.6.0 and latest kernel(good boot).
I compiled the kernel with the -01 option and ended up hitting another error: net/netfilter/ipvs/ip_vs_xmit.c: At top level: net/netfilter/ipvs/ip_vs_xmit.c:931:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [net/netfilter/ipvs/ip_vs_xmit.o] Error 1 make[2]: *** [net/netfilter/ipvs] Error 2 make[1]: *** [net/netfilter] Error 2 make: *** [net] Error 2 after turning off ip_vs the kernel compiles all the way through. attached is dmesg of running the kernel compiled with 4.6.0 (no freezes like before for whatever that was). BTW I was too lazy to find the right command to pass to the kernel so I just changed the Makefile: diff --git a/Makefile b/Makefile index 9754615..530d87c 100644 --- a/Makefile +++ b/Makefile @@ -527,9 +527,9 @@ endif # $(dot-config) all: vmlinux ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -KBUILD_CFLAGS += -Os +KBUILD_CFLAGS += -O1 else -KBUILD_CFLAGS += -O2 +KBUILD_CFLAGS += -O1 endif other than the ip_vs(not even sure if I use this)everything seems o.k. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791