[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/9843] relocation R_386_GOTOFF against undefined hidden symbol '_
From: |
greeneg at tolharadys dot net |
Subject: |
[Bug ld/9843] relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object |
Date: |
23 Mar 2009 01:51:51 -0000 |
------- Additional Comments From greeneg at tolharadys dot net 2009-03-23
01:51 -------
With GLibC 2.9 snapshot 20090316 I still get the same error using binutils
2.19.51.0.2.
Error output below:
make[3]: Leaving directory `/mnt/NEWBR/RPM/BUILD/glibc-2.9/elf'
i586-altimatos-linux-gnu-gcc -nostdlib -nostartfiles -r -o
/mnt/NEWBR/RPM/BUILD/build/elf/librtld.os '-Wl,-('
/mnt/NEWBR/RPM/BUILD/build/elf/dl-allobjs.os
/mnt/NEWBR/RPM/BUILD/build/elf/rtld-libc.a -lgcc '-Wl,-)' \
-Wl,-Map,/mnt/NEWBR/RPM/BUILD/build/elf/librtld.os.map
i586-altimatos-linux-gnu-gcc -nostdlib -nostartfiles -shared \
-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;/' \
> /mnt/NEWBR/RPM/BUILD/build/elf/ld.so.lds
i586-altimatos-linux-gnu-gcc -nostdlib -nostartfiles -shared -o
/mnt/NEWBR/RPM/BUILD/build/elf/ld.so \
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both
-Wl,-z,defs \
/mnt/NEWBR/RPM/BUILD/build/elf/librtld.os -Wl,--version-
script=/mnt/NEWBR/RPM/BUILD/build/ld.map \
-Wl,-soname=ld-linux.so.2 -T
/mnt/NEWBR/RPM/BUILD/build/elf/ld.so.lds
/mnt/NEWBR/RPM/BUILD/build/elf/librtld.os: In function `_dl_start_final':
/mnt/NEWBR/RPM/BUILD/glibc-2.9/elf/rtld.c:303: undefined reference to `_begin'
/tools/bin/ld: /mnt/NEWBR/RPM/BUILD/build/elf/librtld.os: relocation
R_386_GOTOFF against
undefined hidden symbol `_begin' can not be used when making a shared object
/tools/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/mnt/NEWBR/RPM/BUILD/build/elf/ld.so] Error 1
make[2]: Leaving directory `/mnt/NEWBR/RPM/BUILD/glibc-2.9/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/NEWBR/RPM/BUILD/glibc-2.9'
make: *** [all] Error 2
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/9843] relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object,
greeneg at tolharadys dot net <=