I think that would be great if we could help each other(if we can) in this thread.
I will begin with one problem. In the last days I tried to compile stock kernel using GCC 4.7 and 4.8 and I have errors(warning but compiler take them as errors). With 4.6 it's everything ok, but I want to use 4.7 or 4.8 because those have better optimization .
So, i try with make -k ..... but it was unsuccessful. More info below. Original xt_socket.c (if i write to protocol=int value, it give me another error, same for NULL or other(protocol is pointer type).
CC net/netfilter/xt_qtaguid.o CC net/netfilter/xt_quota.o CC net/netfilter/xt_quota2.o CC net/netfilter/xt_socket.o In file included from include/linux/kernel.h:23:0, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from net/netfilter/xt_socket.c:13: net/netfilter/xt_socket.c: In function 'xt_socket_get4_sk': include/linux/dynamic_debug.h:75:21: warning: 'protocol' may be used uninitialized in this function [-Wmaybe-uninitialized] error, forbidden warning: dynamic_debug.h:75 make: *** [net/netfilter/xt_socket.o] Error 1 make: *** [net/netfilter] Error 2 make: *** [net] Error 2 srsdani@ubuntu:~/kernel$
Edited by srsdani, 13 April 2014 - 08:11 PM.