public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* glibc does not build on i686-linux-gnu
@ 2003-07-25  8:41 Andreas Jaeger
  2003-07-25  8:51 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jaeger @ 2003-07-25  8:41 UTC (permalink / raw)
  To: GNU libc hacker

[-- Attachment #1: Type: text/plain, Size: 2246 bytes --]


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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glibc does not build on i686-linux-gnu
  2003-07-25  8:41 glibc does not build on i686-linux-gnu Andreas Jaeger
@ 2003-07-25  8:51 ` Jakub Jelinek
  2003-07-25  8:56   ` Andreas Jaeger
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2003-07-25  8:51 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

On Fri, Jul 25, 2003 at 10:39:14AM +0200, Andreas Jaeger wrote:
> /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

This seems to be caused by Geoff's intermodule changes.

	Jakub

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glibc does not build on i686-linux-gnu
  2003-07-25  8:51 ` Jakub Jelinek
@ 2003-07-25  8:56   ` Andreas Jaeger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Jaeger @ 2003-07-25  8:56 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: GNU libc hacker

Jakub Jelinek <jakub@redhat.com> writes:

> On Fri, Jul 25, 2003 at 10:39:14AM +0200, Andreas Jaeger wrote:
>> /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
>
> This seems to be caused by Geoff's intermodule changes.

Argh :-(  Ok, I'll write a bugreport later,

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-25  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25  8:41 glibc does not build on i686-linux-gnu Andreas Jaeger
2003-07-25  8:51 ` Jakub Jelinek
2003-07-25  8:56   ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).