On Tue, Nov 26, 2013 at 10:27:27AM +0530, viresh kumar wrote: > On Monday 25 November 2013 11:13 PM, kbuild test robot wrote: > > tree: git://git.linaro.org/people/vireshk/linux cpufreq-next > > head: abce20a57fd00571a09739fb09899a97990f4b97 > > commit: df2802ad11704c2707f782083d11d051104f39d1 [20/36] cpufreq: powernow-k8: send new set of notification for transition failures > > config: i386-randconfig-x4-1126 (attached as .config) > > > > Note: the vireshk/cpufreq-next HEAD abce20a57fd00571a09739fb09899a97990f4b97 builds fine. > > It only hurts bisectibility. > > > > All error/warnings: > > > >>> ERROR: "crc32_le" [fs/ubifs/ubifs.ko] undefined! > > ERROR: "crc32_le" [fs/logfs/logfs.ko] undefined! > >>> ERROR: "crc32_le" [fs/jffs2/jffs2.ko] undefined! > > ERROR: "crc32_le" [drivers/remoteproc/remoteproc.ko] undefined! > > ERROR: "crc32_le" [drivers/pcmcia/pcmcia.ko] undefined! > >>> ERROR: "crc32_le" [drivers/mtd/ubi/ubi.ko] undefined! > > ERROR: "crc32_le" [crypto/crc32.ko] undefined! > > ERROR: "crc32_le" [arch/x86/crypto/crc32-pclmul.ko] undefined! > > Hi Fengguang, > > Firstly I didn't understood how could these errors be related with > df2802ad11704c2707f782083d11d051104f39d1 ? Sorry I cannot _reliably_ reproduce the problem, too. In one try, both the "first bad commit" and its parent builds fine. In another try, amusingly, the "first bad commit" builds fine and its parent has the link errors: =============== commit df2802ad1 =============== /home/wfg/linux HEAD is now at df2802a... cpufreq: powernow-k8: send new set of notification for transition failures /home/wfg/linux/obj-compiletest make ARCH=i386 cat /tmp/build-err-df2802ad11704c2707f782083d11d051104f39d1-wfg /c/wfg/linux/drivers/mfd/rtsx_pcr.c:929:13: warning: 'rtsx_pci_power_off' defined but not used [-Wunused-function] static void rtsx_pci_power_off(struct rtsx_pcr *pcr, u8 pm_state) ^ /c/wfg/linux/drivers/platform/x86/acer-wmi.c:2040:12: warning: 'acer_suspend' defined but not used [-Wunused-function] static int acer_suspend(struct device *dev) ^ /c/wfg/linux/drivers/platform/x86/acer-wmi.c:2062:12: warning: 'acer_resume' defined but not used [-Wunused-function] static int acer_resume(struct device *dev) ^ /c/wfg/linux/drivers/platform/x86/tc1100-wmi.c:57:27: warning: 'suspend_data' defined but not used [-Wunused-variable] static struct tc1100_data suspend_data; ^ /c/wfg/linux/drivers/tty/serial/sh-sci.c: In function 'sci_remap_port': /c/wfg/linux/drivers/tty/serial/sh-sci.c:2071:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] port->membase = (void __iomem *)port->mapbase; ^ /c/wfg/linux/drivers/vme/bridges/vme_tsi148.c: In function 'tsi148_slave_get': /c/wfg/linux/drivers/vme/bridges/vme_tsi148.c:744:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *pci_base = (dma_addr_t)vme_base + pci_offset; ^ /c/wfg/linux/drivers/i2c/busses/i2c-designware-pcidrv.c:188:12: warning: 'i2c_dw_pci_runtime_idle' defined but not used [-Wunused-function] static int i2c_dw_pci_runtime_idle(struct device *dev) ^ =============== PREV commit 40c08ad49fd2572fb2fe7ba4b93b2756ce5f5d63 =============== /home/wfg/linux Previous HEAD position was df2802a... cpufreq: powernow-k8: send new set of notification for transition failures HEAD is now at 40c08ad... cpufreq: pcc: send new set of notification for transition failures /home/wfg/linux/obj-compiletest make ARCH=i386 !!! BUILD ERROR !!! cat /tmp/build-err-40c08ad49fd2572fb2fe7ba4b93b2756ce5f5d63-wfg /c/wfg/linux/drivers/i2c/busses/i2c-designware-pcidrv.c:188:12: warning: 'i2c_dw_pci_runtime_idle' defined but not used [-Wunused-function] static int i2c_dw_pci_runtime_idle(struct device *dev) ^ /c/wfg/linux/drivers/mfd/rtsx_pcr.c:929:13: warning: 'rtsx_pci_power_off' defined but not used [-Wunused-function] static void rtsx_pci_power_off(struct rtsx_pcr *pcr, u8 pm_state) ^ /c/wfg/linux/drivers/platform/x86/acer-wmi.c:2040:12: warning: 'acer_suspend' defined but not used [-Wunused-function] static int acer_suspend(struct device *dev) ^ /c/wfg/linux/drivers/platform/x86/acer-wmi.c:2062:12: warning: 'acer_resume' defined but not used [-Wunused-function] static int acer_resume(struct device *dev) ^ /c/wfg/linux/drivers/platform/x86/tc1100-wmi.c:57:27: warning: 'suspend_data' defined but not used [-Wunused-variable] static struct tc1100_data suspend_data; ^ /c/wfg/linux/drivers/tty/serial/sh-sci.c: In function 'sci_remap_port': /c/wfg/linux/drivers/tty/serial/sh-sci.c:2071:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] port->membase = (void __iomem *)port->mapbase; ^ /c/wfg/linux/drivers/vme/bridges/vme_tsi148.c: In function 'tsi148_slave_get': /c/wfg/linux/drivers/vme/bridges/vme_tsi148.c:744:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *pci_base = (dma_addr_t)vme_base + pci_offset; ^ ERROR: "crc32_le" [fs/ubifs/ubifs.ko] undefined! ERROR: "crc32_le" [fs/logfs/logfs.ko] undefined! ERROR: "crc32_le" [fs/jffs2/jffs2.ko] undefined! ERROR: "crc32_le" [drivers/remoteproc/remoteproc.ko] undefined! ERROR: "crc32_le" [drivers/pcmcia/pcmcia.ko] undefined! ERROR: "crc32_le" [drivers/mtd/ubi/ubi.ko] undefined! ERROR: "crc32_le" [crypto/crc32.ko] undefined! ERROR: "crc32_le" [arch/x86/crypto/crc32-pclmul.ko] undefined! make[2]: *** [__modpost] Error 1 make[2]: Target `_modpost' not remade because of errors. make[1]: *** [modules] Error 2 make[1]: Target `_all' not remade because of errors. make: *** [sub-make] Error 2 > Then, when I tried this with your .config, I didn't get any errrors. > > viresh@blr-linut-001:$ make ARCH=x86 CROSS_COMPILE= O=../junk | grep cpufreq > CC drivers/cpufreq/cpufreq.o > CC drivers/cpufreq/freq_table.o > CC drivers/cpufreq/cpufreq_performance.o > CC drivers/cpufreq/cpufreq_powersave.o > CC drivers/cpufreq/cpufreq_conservative.o > CC drivers/cpufreq/cpufreq_governor.o > CC drivers/cpufreq/powernow-k7.o > CC drivers/cpufreq/gx-suspmod.o > LD drivers/cpufreq/built-in.o > CC [M] drivers/cpufreq/cpufreq_ondemand.o > CC [M] drivers/cpufreq/powernow-k6.o > CC [M] drivers/cpufreq/speedstep-lib.o > CC [M] drivers/cpufreq/speedstep-centrino.o > CC [M] drivers/cpufreq/p4-clockmod.o > /home/arm/work/kernel/mywork/linux.git/drivers/i2c/busses/i2c-designware-pcidrv.c:188:12: > warning: 慽2c_dw_pci_runtime_idle? defined but not used [-Wunused-function] > /home/arm/work/kernel/mywork/linux.git/drivers/mfd/rtsx_pcr.c:929:13: warning: > 憆tsx_pci_power_off? defined but not used [-Wunused-function] > /home/arm/work/kernel/mywork/linux.git/drivers/platform/x86/acer-wmi.c:2040:12: > warning: 慳cer_suspend? defined but not used [-Wunused-function] > /home/arm/work/kernel/mywork/linux.git/drivers/platform/x86/acer-wmi.c:2062:12: > warning: 慳cer_resume? defined but not used [-Wunused-function] > /home/arm/work/kernel/mywork/linux.git/drivers/platform/x86/tc1100-wmi.c:57:27: > warning: 憇uspend_data? defined but not used [-Wunused-variable] > /home/arm/work/kernel/mywork/linux.git/drivers/tty/serial/sh-sci.c: In function > 憇ci_remap_port?: > /home/arm/work/kernel/mywork/linux.git/drivers/tty/serial/sh-sci.c:2071:19: > warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > /home/arm/work/kernel/mywork/linux.git/drivers/vme/bridges/vme_tsi148.c: In > function 憈si148_slave_get?: > /home/arm/work/kernel/mywork/linux.git/drivers/vme/bridges/vme_tsi148.c:744:14: > warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > /home/arm/work/kernel/mywork/linux.git/drivers/w1/slaves/w1_therm.c: In function > 憌1_slave_show?: > /home/arm/work/kernel/mywork/linux.git/drivers/w1/slaves/w1_therm.c:253:15: > warning: 慶rc? may be used uninitialized in this function [-Wuninitialized] > CC drivers/cpufreq/cpufreq_ondemand.mod.o > LD [M] drivers/cpufreq/cpufreq_ondemand.ko > CC drivers/cpufreq/p4-clockmod.mod.o > LD [M] drivers/cpufreq/p4-clockmod.ko > CC drivers/cpufreq/powernow-k6.mod.o > LD [M] drivers/cpufreq/powernow-k6.ko > CC drivers/cpufreq/speedstep-centrino.mod.o > LD [M] drivers/cpufreq/speedstep-centrino.ko > CC drivers/cpufreq/speedstep-lib.mod.o > LD [M] drivers/cpufreq/speedstep-lib.ko > > > Took a diff again of our .config files and there was no diff at all.. > > Over that the patch in question modifies powernow-k8 driver which isn't even > selected in your defconfig and so wouldn't compile. > > Can you help me getting to the bottom of this issue? All I can tell is that such link errors on "crc32_le" keep showing up in my build tests. It seems to be an old problem. Thanks, Fengguang