https://sourceware.org/bugzilla/show_bug.cgi?id=18270
Bug ID: 18270
Summary: [AArch64] relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against
Product: binutils
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: david.abdurachmanov at gmail dot com
Discussion started 2014 July:
https://sourceware.org/ml/binutils/2014-07/msg00130.html
Noticed while building CVMFS on Fedora 22 AArch64:
https://ecsft.cern.ch/dist/cvmfs/cvmfs-2.1.20/cvmfs-2.1.20-1.fc21.src.rpm
[root@ubuntu ~]# gcc -dumpversion
5.0.1
[root@ubuntu ~]# ld -v
GNU ld version 2.25-5.fc22
## ERRORS ##
libcvmfs.a(libcvmfs.a_pub.o): In function `TryArgumentFormatter':
wpad.cc:(.text+0x840d8): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_ConvertArgumentsVA':
wpad.cc:(.text+0x842c4): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_ConvertValue':
wpad.cc:(.text+0x857f4): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function
`JS_EnumerateResolvedStandardClasses':
wpad.cc:(.text+0x92250): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_InitObjectClass'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_GetScopeChain':
wpad.cc:(.text+0x92388): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_LockGCThing':
wpad.cc:(.text+0x927ac): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_UnlockGCThing':
wpad.cc:(.text+0x92828): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_InstanceOf':
wpad.cc:(.text+0x9358c): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_GetConstructor':
wpad.cc:(.text+0x93c20): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_SealObject':
wpad.cc:(.text+0x93dbc): relocation truncated to fit:
R_AARCH64_LD64_GOT_LO12_NC against `js_GetErrorMessage'
libcvmfs.a(libcvmfs.a_pub.o): In function `JS_AliasProperty':
wpad.cc:(.text+0x94874): additional relocation overflows omitted from the
output
collect2: error: ld returned 1 exit status
I created a tarball
http://davidlt.web.cern.ch/davidlt/vault/bugzilla_pr_arm64_ld.tar.xz
of 3.1M. It contains logs and minimal binaries required to reproduce this
failure (launch ./build.sh).
This will generate libcvmfs.a and then attempt to build a small test
application.
$ tar tf bugzilla_pr_arm64_ld.tar.xz
bugzilla_pr_arm64_ld/
bugzilla_pr_arm64_ld/combine_libs
bugzilla_pr_arm64_ld/libcurl.a
bugzilla_pr_arm64_ld/build.sh
bugzilla_pr_arm64_ld/libsqlite3.a
bugzilla_pr_arm64_ld/libcvmfs_public_syms.txt
bugzilla_pr_arm64_ld/combine_libs.log
bugzilla_pr_arm64_ld/libcares.a
bugzilla_pr_arm64_ld/link_failures.log
bugzilla_pr_arm64_ld/libcvmfs.h
bugzilla_pr_arm64_ld/libz.a
bugzilla_pr_arm64_ld/libpacparser.a
bugzilla_pr_arm64_ld/test_libcvmfs.cc
bugzilla_pr_arm64_ld/libcvmfs_only.a
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils