[wiget@pld.org.pl] libc/3237: symbol __udivdi3, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Fri Apr 12 11:09:00 GMT 2002
On Friday 12 April 2002 18:44, Jakub Jelinek wrote:
> On Fri, Apr 12, 2002 at 06:41:15PM +0200, Franz Sirl wrote:
> > On Monday 08 April 2002 21:41, Jakub Jelinek wrote:
> > > On Mon, Apr 08, 2002 at 08:13:11PM +0200, Andreas Jaeger wrote:
> > > > Hi glibc developers,
> > > >
> > > > can somebody look into this, please?
> > >
> > > I'd assume glibc-2-2-branch >= 2002-02-28 was not used, since this
> > > really shouldn't happen there.
> > > Before sysdeps/wordsize-32/divdi3.c was added, this could happen, e.g.
> > > if gcc wouldn't use __udivdi3 internally at all for the whole libc.so,
> > > then it wouldn't be added to link and thus wouldn't be exported (I
> > > believe).
> >
> > The same just happened to me, I guess this means I have to add divdi3.c
> > to sysdeps/powerpc/Makefile?
>
> powerpc was never exporting __udivdi3 from glibc AFAIK (at least it is not
> in Versions I've checked).
> So you need to give us more details on what exactly happened.
I switched entropy to gcc-3.1pre as the main compiler, recompiled
glibc-2.2.5cvs, installed it and sendmail would no longer start:
[root@entropy:~]# /usr/sbin/sendmail.sendmail
/usr/sbin/sendmail.sendmail: relocation error: /usr/sbin/sendmail.sendmail:
undefined symbol: __umoddi3
[root@entropy:~]# nm /usr/sbin/sendmail.sendmail|grep divdi3
10087b5c T __divdi3
U __udivdi3
[root@entropy:~]# readelf -a /usr/sbin/sendmail.sendmail|grep divdi3
100b7498 00006c15 R_PPC_JMP_SLOT 100b7498 __udivdi3 +
0
108: 100b7498 1016 FUNC GLOBAL DEFAULT UND __udivdi3
970: 10087b5c 1176 FUNC GLOBAL DEFAULT 11 __divdi3
1330: 100b7498 1016 FUNC GLOBAL DEFAULT UND __udivdi3
sendmail was recently recompiled with uptodate binutils/gcc-2.95.4 against a
post 28 Feb glibc-2.2.5cvs.
Anything else you need to know?
Franz.
More information about the Libc-alpha
mailing list