MarvellEmbeddedProcessors / linux-marvell

Marvell Linux kernel
Other
89 stars 67 forks source link

Error when building linux-4.4.52-armada-17.10 #9

Open l31g opened 6 years ago

l31g commented 6 years ago

Hi all,

I am building natively on the MacchiatoBin Doubleshot 1.2, and when I try to make the linux-4.4.52-armada-17.10 branch, I get the following error: drivers/built-in.o: In function armada_3700_add_composite_clk': /home/luipen01/kernel/4.4.52/drivers/clk/mvebu/armada-37xx-periph.c:355: undefined reference to__ilog2_NaN' /home/luipen01/kernel/4.4.52/drivers/clk/mvebu/armada-37xx-periph.c:355:(.text+0x342210): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__ilog2_NaN' Makefile:953: recipe for target 'vmlinux' failed make: *** [vmlinux] Error 1 Has anyone experienced this?

Cheers

l31g commented 6 years ago

I think this patch fixes it: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=474c90156c8dcc2fa815e6716cc9394d7930cb9c

Please apply patch to your kernel.