Skip to contentSkip to conversation

4.9.0 build error on Alpha

DISCUSSION Bob Tracy 1 participant 2 messages Dec 13, 2016 – Dec 14, 2016 Alpha port

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

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

author
#1 lore raw

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

Quoted 10 lines · Bob Tracy

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