1
Template: binutils/kernel_link_warning
3
Description: Kernel link failure info
4
You may experience problems linking older (and some newer) kernels with
5
this version of binutils. This is not because of a bug in the linker, but
6
rather a bug in the kernel source. This is being worked out and fixed by
7
the upstream kernel group in newer kernels, but not all of the problems
8
may have been fixed at this time. Older kernel versions will almost
9
always exhibit the problem, however, and no attempts are being made to fix
10
those that we know of.
12
There are a few work-arounds, but the most reliable is to edit the linker
13
script for your architecture (e.g. arch/i386/vmlinux.lds) and remove the
14
'*(.text.exit)' entry from the 'DISCARD' line. It will bloat the kernel
15
somewhat, but it should link properly.
17
Template: binutils/oformat_warning
19
Description: The ld -oformat option has been replaced
20
The ld command-line option '-oformat' has been completely replaced by
21
'--oformat' in newer binutils. This may cause problems when linking older
22
kernel versions on i386 which still use the '-oformat' syntax in
25
If you encounter problems, edit arch/boot/Makefile in your kernel source
26
and change '-oformat' to '--oformat'.