This is the mail archive of the mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc does not build on i686-linux-gnu

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/
/opt/gcc/3.4-devel/bin/gcc   -nostdlib -nostartfiles -shared -o /builds/glibc/gcc-3.4/elf/                 \
          -Wl,-z,combreloc -Wl,-z,defs                          \
          /builds/glibc/gcc-3.4/elf/librtld.os -Wl,--version-script=/builds/glibc/gcc-3.4/                \
          -Wl, -T /builds/glibc/gcc-3.4/elf/
/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/] Error 1

$ nm elf/dl-runtime.os
00000000 r .LC0
0000000d r .LC1
         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 Jaeger,,
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]