This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: libgcc-compat for linux-mips


On Sun, Oct 20, 2002 at 10:35:52PM +0200, Guido Guenther wrote:
> Hi,
> 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'


H.J.


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