glibc does not build on i686-linux-gnu
Andreas Jaeger
aj@suse.de
Fri Jul 25 08:41:00 GMT 2003
Building current glibc with GCC 3.4 I get:
make[3]: Leaving directory `/usr/src/cvs/libc/elf'
/opt/gcc/3.4-devel/bin/gcc -nostdlib -nostartfiles -r -o /builds/glibc/gcc-3.4/elf/librtld.os '-Wl,-(' /builds/glibc/gcc-3.4/elf/dl-allobjs.os /builds/glibc/gcc-3.4/elf/rtld-libc.a -lgcc '-Wl,-)'
/opt/gcc/3.4-devel/bin/gcc -nostdlib -nostartfiles -shared \
-Wl,-z,combreloc -Wl,-z,defs -Wl,--verbose 2>&1 | \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> /builds/glibc/gcc-3.4/elf/ld.so.lds
/opt/gcc/3.4-devel/bin/gcc -nostdlib -nostartfiles -shared -o /builds/glibc/gcc-3.4/elf/ld.so \
-Wl,-z,combreloc -Wl,-z,defs \
/builds/glibc/gcc-3.4/elf/librtld.os -Wl,--version-script=/builds/glibc/gcc-3.4/ld.map \
-Wl,-soname=ld-linux.so.2 -T /builds/glibc/gcc-3.4/elf/ld.so.lds
/builds/glibc/gcc-3.4/elf/librtld.os(.text+0xbdbc): In function `_dl_runtime_resolve':
/usr/src/cvs/libc/elf/dl-runtime.c:170: undefined reference to `fixup'
/builds/glibc/gcc-3.4/elf/librtld.os(.text+0xbde0): In function `_dl_runtime_profile':
/usr/src/cvs/libc/elf/dl-runtime.c:170: undefined reference to `profile_fixup'
collect2: ld returned 1 exit status
make[2]: *** [/builds/glibc/gcc-3.4/elf/ld.so] Error 1
$ nm elf/dl-runtime.os
00000000 r .LC0
0000000d r .LC1
U _GLOBAL_OFFSET_TABLE_
U __GI___assert_fail
00000000 r __PRETTY_FUNCTION__.2
00000006 r __PRETTY_FUNCTION__.3
00000014 r __PRETTY_FUNCTION__.4
00000000 T __i686.get_pc_thunk.bx
U _dl_lookup_symbol_internal
U _dl_lookup_versioned_symbol_internal
U _dl_mcount_internal
000002f0 T _dl_runtime_profile
000002d0 T _dl_runtime_resolve
U _rtld_local
U fixup
00000000 t fixup.0
U profile_fixup
00000150 t profile_fixup.1
Is this working for others? Any ideas?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20030725/21e8a877/attachment.sig>
More information about the Libc-hacker
mailing list