Got all the way to the end of the 4.9-final kernel build, and ran into the
following:
LD init/built-in.o
arch/alpha/lib/lib.a(strcat.o): In function `strcat':
(.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxcpy' defined in .text section in arch/alpha/lib/lib.a(stxcpy.o)
arch/alpha/lib/lib.a(strncat.o): In function `strncat':
(.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxncpy' defined in .text section in arch/alpha/lib/lib.a(stxncpy.o)
Makefile:969: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
I didn't try building any of the 4.9 release candidates, so I have no
idea where this issue was introduced except to say 4.8 built fine.
Toolchain is currently as follows, and note that "binutils" was upgraded
within the past 24 hours, i.e., while the kernel build was in progress:
gcc version 6.2.1 20161124
binutils 2.27.51.20161212
--Bob
Quick followup: tried another "from scratch" build with a stable
compilation environment. No difference. Current gcc and binutils
versions are as follows:
gcc version 6.2.1 20161212 (Debian 6.2.1-6)
GNU ld (GNU Binutils for Debian) 2.27.51.20161212
As always, thanks in advance for any help in resolving this.
--Bob
On Tue, Dec 13, 2016 at 08:07:10AM -0600, Bob Tracy wrote:
> Got all the way to the end of the 4.9-final kernel build, and ran into the
> following:
>
> LD init/built-in.o
> arch/alpha/lib/lib.a(strcat.o): In function `strcat':
> (.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxcpy' defined in .text section in arch/alpha/lib/lib.a(stxcpy.o)
> arch/alpha/lib/lib.a(strncat.o): In function `strncat':
> (.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxncpy' defined in .text section in arch/alpha/lib/lib.a(stxncpy.o)
> Makefile:969: recipe for target 'vmlinux' failed
> make: *** [vmlinux] Error 1