[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/21464] New: relocation truncated to fit: R_OR1K_GOT16 on OpenRIS
From: |
address@hidden |
Subject: |
[Bug ld/21464] New: relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7 |
Date: |
Sat, 06 May 2017 13:13:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21464
Bug ID: 21464
Summary: relocation truncated to fit: R_OR1K_GOT16 on OpenRISC,
when linking libQtGui.so.4.8.7
Product: binutils
Version: 2.27
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: address@hidden
Target Milestone: ---
When building the GUI module of Qt 4.8.7 on OpenRISC, the binutils 2.27 linker
barfs with:
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/5.4.0/crtbeginS.o:
In function `register_tm_clones':
crtstuff.c:(.text+0xd8): relocation truncated to fit: R_OR1K_GOT16 against
undefined symbol `_ITM_registerTMCloneTable'
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/5.4.0/crtbeginS.o:
In function `__do_global_dtors_aux':
crtstuff.c:(.text+0x1e0): relocation truncated to fit: R_OR1K_GOT16 against
symbol `__deregister_frame_info@@GLIBC_2.0' defined in .text section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/5.4.0/../../../../or1k-buildroot-linux-uclibc/lib/libgcc_s.so
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/5.4.0/crtbeginS.o:
In function `frame_dummy':
crtstuff.c:(.text+0x278): relocation truncated to fit: R_OR1K_GOT16 against
symbol `__register_frame_info@@GLIBC_2.0' defined in .text section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/5.4.0/../../../../or1k-buildroot-linux-uclibc/lib/libgcc_s.so
crtstuff.c:(.text+0x2c0): relocation truncated to fit: R_OR1K_GOT16 against
undefined symbol `_Jv_RegisterClasses'
.obj/debug-shared-emb-generic/qtextdocumentfragment.o: In function
`QString::QString()':
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qstring.h:879:(.text+0x434):
relocation truncated to fit: R_OR1K_GOT16 against symbol `QString::shared_null'
defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qstring.h:879:(.text+0x440):
relocation truncated to fit: R_OR1K_GOT16 against symbol `QString::shared_null'
defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qstring.h:879:(.text+0x4a8):
relocation truncated to fit: R_OR1K_GOT16 against symbol `QString::shared_null'
defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qstring.h:879:(.text+0x4ac):
relocation truncated to fit: R_OR1K_GOT16 against symbol `QString::shared_null'
defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
.obj/debug-shared-emb-generic/qtextdocumentfragment.o: In function
`QByteArray::QByteArray()':
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qbytearray.h:400:(.text+0x544):
relocation truncated to fit: R_OR1K_GOT16 against symbol
`QByteArray::shared_null' defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qbytearray.h:400:(.text+0x558):
relocation truncated to fit: R_OR1K_GOT16 against symbol
`QByteArray::shared_null' defined in .data section in
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/lib/libQtCore.so
.obj/debug-shared-emb-generic/qtextdocumentfragment.o: In function
`QString::QString()':
/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/qt-4.8.7/src/gui/../../include/QtCore/../../src/corelib/tools/qstring.h:879:(.text+0x78c):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
This issue can be reproduced using the following steps:
$ git://git.busybox.net/buildroot
$ cd buildroot/
$ git checkout 25902b111a93e562e3c1991f65c03649c88802c4
$ cat > .config <<EOF
BR2_or1k=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/br-openrisc-full-2017.02-1096-g54a5333.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_5=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_QT=y
# BR2_PACKAGE_QT_XML is not set
# BR2_TARGET_ROOTFS_TAR is not set
EOF
$ make olddefconfig
$ make
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21464] New: relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7,
address@hidden <=