This is the mail archive of the
mailing list for the glibc project.
Re: libgcc-compat for linux-mips
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Guido Guenther <agx at sigxcpu dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 20 Oct 2002 14:08:24 -0700
- Subject: Re: libgcc-compat for linux-mips
- References: <20021020203552.GC3597@bogon.ms20.nix>
On Sun, Oct 20, 2002 at 10:35:52PM +0200, Guido Guenther wrote:
> I'm currently trying to find out if mips needs a libgcc-compat as
> powerpc32. When I use Jack's script to find now .hidden symbols from
> libgcc_s.so I find several of them, e.g. __udivdi3 in mke2fs. Now when I
> use 'LD_DEBUG=bindings /sbin/mke2fs 2>&1 | grep __udivdi3' I see:
> binding file /lib/libuuid.so.1 to /lib/libuuid.so.1: normal symbol `__udivdi3'
> (both mke2fs and linuuid were built with Debians gcc 2.94 and glibc 2.2.5).
> I then recompile libuuid with gcc-3.2 and glibc 2.3.1, libuuid then no
> longer exports __udivdi3 and when using the *old* mke2fs with the new
> lib I see:
> binding file mke2fs to mke2fs: normal symbol `__udivdi3'
> which puzzles me since: 'readelf -a ./mke2fs | grep __udivdi'
> 112: 00401960 0 FUNC GLOBAL DEFAULT UND __udivdi3
> So why am I not seeing __udivdi3 as undefined symbol here? Any ideas?
__udivdi3 is defined in /lib/libuuid.so.1:
binding file /lib/libuuid.so.1 to /lib/libuuid.so.1: normal symbol `__udivdi3'