[lfs-dev] linux-3.4 needs patch to build
Fernando de Oliveira
famobr at yahoo.com.br
Tue May 29 09:02:17 PDT 2012
Recently, some issues related to linux-3.4 and iptables have been
discussed in the support list for blfs.
When trying to upgrade the kernel of other LFS machines, LFS6.8 failed
to build linux-3.4, with error message:
<quote> RELOCS arch/x86/boot/compressed/vmlinux.relocs
Invalid absolute R_386_32 relocation: jiffies
make: ** [arch/x86/boot/compressed/vmlinux.relocs] Erro 1
make: ** [arch/x86/boot/compressed/vmlinux] Erro 2
make: ** [bzImage] Erro 2 </unquote>
It is very disappointing (could not remember the better word) as it
occurs at the end of "make".
Digging into this since yesterday evening, discovered first that 3.4 is
dev and stable version is 3.3.7, second, the error is well known:
Finally, this morning, re-read with care the message:
and made a patch. Build succeeded with the attached patch, which was
patch -Np1 -i /home/fernando/sshfs/lfs/linux-3.4-relocs-add-jiffies-and-jiffies_64-to-the-relative-whitelist.patch
Do not understand why built without problem in LFS "6.5, 6.7, 7.0 and
7.1" (some svn).
More information about the lfs-dev