Summary: | sys-kernel/genkernel-3.4.24_p2 and unstable 3.4.44.1 fail to build sys-kernel/gentoo-sources-3.4.9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tazinblack <verbeamt> |
Component: | [OLD] Core system | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | bkohler, franz.trischberger, gokturk, pinkbyte |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Kernel config
emerge --info |
Description
tazinblack
2012-10-16 05:57:48 UTC
Created attachment 326678 [details]
Kernel config
This is my Kernelconfig
Created attachment 326680 [details]
emerge --info
This is my output from emerge --info
You should NOT add arch teams in CC, If you do not know what we do. (In reply to comment #3) > You should NOT add arch teams in CC, If you do not know what we do. Sorry, I did not know that this is the CC list. I thought this is the field where you can select the platforms where the problem exists. Can you possibly attach the whole build log? This could be the same as Bug 425816. (In reply to comment #5) > Can you possibly attach the whole build log? This could be the same as Bug > 425816. Actually, I can confirm that it is the same bug. Can you try the patch in the mentioned bug and see if it helps? (In reply to comment #6) > (In reply to comment #5) > > Can you possibly attach the whole build log? This could be the same as Bug > > 425816. > > Actually, I can confirm that it is the same bug. Can you try the patch in > the mentioned bug and see if it helps? So you want me what to do? Could you please tell some details?
> Actually, I can confirm that it is the same bug. Can you try the patch in
> the mentioned bug and see if it helps?
I don't think that are the same bugs. The mentioned one has an unused variable, the patch suppresses all warnings coming from unused variables, so -Werror can't stop compilation.
tazinblack has a warning (treated as error) by a preprocessor-define "#warning" -has nothing to do with an unused variable.
I would like to know if building without genkernel produces an error, too.
Could you
* unpack vanilla sources in your $HOME (or simply backup .config and run make mrproper in the srcdir)
* copy the .config from the currently failing gentoo-sources over there
* make oldconfig
* make
Does that produce an error, too?
I just tried enabling ADVANSYS and LPFC - built fine with gentoo-sources-3.6.2. I even installed 3.4.9 - went fine, too (enabled advansys + lpfc). advansys triggered the warning which was NOT treated as error, lpfc-scsi.c compiled fine, too (without the patch, won't look into that further...)
I strongly assume that has to do with genkernel.
Could you grep your drivers/scsi/Makefile for "Werror"?
For the patch: simply edit drivers/scsi/lpfc/Makefile and put -Wno-unused before the -Werror
(In reply to comment #8) > > Actually, I can confirm that it is the same bug. Can you try the patch in > > the mentioned bug and see if it helps? > > I don't think that are the same bugs. The mentioned one has an unused > variable, the patch suppresses all warnings coming from unused variables, so > -Werror can't stop compilation. > tazinblack has a warning (treated as error) by a preprocessor-define > "#warning" -has nothing to do with an unused variable. > > I would like to know if building without genkernel produces an error, too. > Could you > * unpack vanilla sources in your $HOME (or simply backup .config and run > make mrproper in the srcdir) > * copy the .config from the currently failing gentoo-sources over there > * make oldconfig > * make > Does that produce an error, too? > Yes that also produces the error, too : CC [M] drivers/scsi/lpfc/lpfc_scsi.o cc1: warnings being treated as errors drivers/scsi/lpfc/lpfc_scsi.c: In Funktion »lpfc_bg_setup_bpl«: drivers/scsi/lpfc/lpfc_scsi.c:1900:11: Fehler: Variable »rc« wird nicht verwendet drivers/scsi/lpfc/lpfc_scsi.c: In Funktion »lpfc_bg_setup_bpl_prot«: drivers/scsi/lpfc/lpfc_scsi.c:2037:11: Fehler: Variable »rc« wird nicht verwendet drivers/scsi/lpfc/lpfc_scsi.c: In Funktion »lpfc_bg_setup_sgl«: drivers/scsi/lpfc/lpfc_scsi.c:2256:11: Fehler: Variable »rc« wird nicht verwendet drivers/scsi/lpfc/lpfc_scsi.c: In Funktion »lpfc_bg_setup_sgl_prot«: drivers/scsi/lpfc/lpfc_scsi.c:2386:11: Fehler: Variable »rc« wird nicht verwendet make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Fehler 1 make[2]: *** [drivers/scsi/lpfc] Fehler 2 make[1]: *** [drivers/scsi] Fehler 2 make: *** [drivers] Fehler 2 > I just tried enabling ADVANSYS and LPFC - built fine with > gentoo-sources-3.6.2. I even installed 3.4.9 - went fine, too (enabled > advansys + lpfc). advansys triggered the warning which was NOT treated as > error, lpfc-scsi.c compiled fine, too (without the patch, won't look into > that further...) > > I strongly assume that has to do with genkernel. > Could you grep your drivers/scsi/Makefile for "Werror"? > grep -i Werror drivers/scsi/Makefile does not find a match > For the patch: simply edit drivers/scsi/lpfc/Makefile and put -Wno-unused > before the -Werror I'm just on it to try this one ... (In reply to comment #8) > > Actually, I can confirm that it is the same bug. Can you try the patch in > > the mentioned bug and see if it helps? > > I don't think that are the same bugs. The mentioned one has an unused > variable, the patch suppresses all warnings coming from unused variables, so > -Werror can't stop compilation. > tazinblack has a warning (treated as error) by a preprocessor-define > "#warning" -has nothing to do with an unused variable. > He has "-j4", so there's no clear way of knowing that without the entire log. I just unpacked =gentoo-sources-3.4.9, copied his '.config' and the first error I hit is related to lpfc. On the other hand that #warning inside the module passed fine for me. (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > Can you possibly attach the whole build log? This could be the same as Bug > > > 425816. > > > > Actually, I can confirm that it is the same bug. Can you try the patch in > > the mentioned bug and see if it helps? > > So you want me what to do? Could you please tell some details? All you need to do is; download the patch file in Bug 425816 to your kernel directory, then do patch -p0 -i <patch_file> and try to recompile your kernel. (In reply to comment #9) > > For the patch: simply edit drivers/scsi/lpfc/Makefile and put -Wno-unused > > before the -Werror > I'm just on it to try this one ... Yes, this works with genkernel as well as without (In reply to comment #11) > (In reply to comment #7) > > (In reply to comment #6) > > > (In reply to comment #5) > > > > Can you possibly attach the whole build log? This could be the same as Bug > > > > 425816. > > > > > > Actually, I can confirm that it is the same bug. Can you try the patch in > > > the mentioned bug and see if it helps? > > > > So you want me what to do? Could you please tell some details? > > All you need to do is; download the patch file in Bug 425816 to your kernel > directory, then do > patch -p0 -i <patch_file> > and try to recompile your kernel. Isn't that the same as mentioned in comment #8, which I already did manually? ok, tested your path as requetes in comment #11 and it worked. This is clearly a dupe of bug #432604 *** This bug has been marked as a duplicate of bug 432604 *** |