Re: 4.9.0 build error on Alpha

From: Bob Tracy
Date: Wed Dec 14 2016 - 18:40:47 EST


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