[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/9843] New: relocation R_386_GOTOFF against undefined hidden symb
From: |
pluto at agmk dot net |
Subject: |
[Bug ld/9843] New: relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object |
Date: |
14 Feb 2009 12:38:53 -0000 |
during build glibc-2.8 for i486-gnu-linux target i get following linker error:
(...)
make[3]: Leaving directory
`/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/elf'
i486-gnu-linux-gcc -Wl,--hash-style=both -nostdlib -nostartfiles -shared
-Wl,-z,now \
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both
-Wl,-z,defs -Wl,--verbose 2>&1 | \
LC_ALL=C \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . -
SIZEOF_HEADERS;/' \
>
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/ld.so.lds
i486-gnu-linux-gcc -Wl,--hash-style=both -nostdlib -nostartfiles -shared -o
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/ld.so
\
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both
-Wl,-z,defs -Wl,-z,now \
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/librtld.os
-Wl,--version-script=/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/ld.map
\
-Wl,-soname=ld-linux.so.2 -T
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/ld.so.lds
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/librtld.os:
In function `_dl_start':
rtld.c:(.text+0x3b8): undefined reference to `_begin'
/local/devel/toolchain43/i486-gnu-linux.host64/lib/gcc/i486-gnu-linux/4.3.3/../../../../i486-gnu-linux/bin/ld:
/home/users/pluto/alatek/toolchain/branches/4.3/glibc-2.8/BUILDDIR/elf/librtld.os:
relocation R_386_GOTOFF against undefined hidden symbol `_begin' can not be used
when making a shared object
/local/devel/toolchain43/i486-gnu-linux.host64/lib/gcc/i486-gnu-linux/4.3.3/../../../../i486-gnu-linux/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
i486-gnu-linux-ld --version
GNU ld (Linux/GNU Binutils) 2.19.51.0.2.20090204
note, that previous version (2.19.51.0.1) works fine.
--
Summary: relocation R_386_GOTOFF against undefined hidden symbol
'_begin' can not be used when making a shared object
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: pluto at agmk dot net
CC: bug-binutils at gnu dot org
GCC target triplet: i486-gnu-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=9843
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/9843] New: relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object,
pluto at agmk dot net <=