Summary: | building hardened linux-libre kernel fails due to -Werror | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Engelbrecht <sudoman> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gokturk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | genkernel.log |
Duplicate of Bug 425816 *** This bug has been marked as a duplicate of bug 425816 *** |
Created attachment 320590 [details] genkernel.log After downloading and auto-deblobbing the hardened-sources package and running "genkernel all", i get this error: CC [M] drivers/scsi/lpfc/lpfc_scsi.o cc1: warnings being treated as errors drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl': drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable 'rc' drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl_prot': drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable 'rc' drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl': drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable 'rc' drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl_prot': drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable 'rc' make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1 make[2]: *** [drivers/scsi/lpfc] Error 2 I tried compiling again, with "-Wno-error=unused-variable" added to CFLAGS. Unfortunately, that still failed. I've attached the genkernel.log