This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64/bfd/2.24] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: David Abdurachmanov <david dot abdurachmanov at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 11 Jul 2014 22:35:03 +0200
- Subject: Re: [AArch64/bfd/2.24] relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against
- Authentication-results: sourceware.org; auth=none
- References: <B98BFD30-327B-47F6-94F3-CAD15DD20917 at gmail dot com>
David Abdurachmanov <david.abdurachmanov@gmail.com> writes:
> I got these linker errors:
>
> libcvmfs.a(libcvmfs.a_pub.o): In function `TryArgumentFormatter':
> :(.text+0x77044): relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
That usually happens when there are conflicting declarations, ie. the
same variable has different types in different translation units. In
other words, this is a bug in the sources, not in the linker.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."