You are not logged in.
Ever since the bump to gcc 4.6.0, I have been unable to build my kernel26-lts-ck package. It worked fine under the previous version of gcc. Here are the last few lines (note that that "warning: variable ‘xxx’ set but not used [-Wunused-but-set-variable]" is EVERYWHERE since 4.6.0.
Note: this happens at the "make modules" step of the process; the "make bzImage" completes without indecent.
In file included from /dev/shm/kernel26-lts-ck/src/linux-2.6.35/arch/x86/include/asm/hardirq.h:5:0,
from include/linux/hardirq.h:10,
from include/linux/interrupt.h:12,
from include/linux/netdevice.h:1220,
from drivers/staging/vt6656/device.h:40,
from drivers/staging/vt6656/int.h:34,
from drivers/staging/vt6656/int.c:35:
include/linux/irq.h: In function ‘alloc_desc_masks’:
include/linux/irq.h:442:8: warning: variable ‘gfp’ set but not used [-Wunused-but-set-variable]
drivers/staging/vt6656/int.c: In function ‘INTvWorkItem’:
drivers/staging/vt6656/int.c:85:11: warning: variable ‘ntStatus’ set but not used [-Wunused-but-set-variable]
LD [M] drivers/staging/vt6656/vt6656_stage.o
LD [M] drivers/staging/xgifb/xgifb.o
make: *** [drivers] Error 2
Thoughts and suggestion are appreciated.
Last edited by graysky (2011-04-24 15:06:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I don't think the warning are relevant is what I meant to say... I have no idea what is halting the build though...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Can someone else confirm this behavior? In the mean time, I opened a flyspray task. In this in upstream or something in the Arch packages?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
And just to keep all the information here too... I guess this is the patch you need:
http://git.kernel.org/?p=linux/kernel/g … h=b1d670f1
Offline
To echo what I put in the bugreport, acknowledgment to Allan for solving this problem: the aforementioned patch did the trick/AUR package updated and all is well again.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline