[Top] [All Lists]

GLIBC 2.2 should work on MIPS-Linux

Subject: GLIBC 2.2 should work on MIPS-Linux
From: Andreas Jaeger <>
Date: 21 Apr 2000 10:30:21 -0700
Cc: Ulf Carlsson <>, Ralf Baechle <>
User-agent: Gnus/5.0804 (Gnus v5.8.4) XEmacs/21.1 (Bryce Canyon)
I've fixed now the dynamic linker in glibc 2.2.  With Ulf's binutils
(I don't know if he made the version available yet - and AFAIK the
version build glibc but not the kernel), I'm now able to build the
whole glibc (the only missing patch is appended - I'll fix this

I would appreciate if you could build glibc and test it really hard.
I do expect problems in the following areas:
- definitions don't match between kernel and glibc.  I've used the
  latest 2.3 release.  The glibc will not run with Linux 2.0.x.
- Bugs in glibc itself.  glibc 2.2 is not released yet.  I strongly
  advise to use a chroot environment for testing.  Don't install the
  CVS version yet, it contains lots of new and untested code in
  comparison with glibc 2.1.
- binutils (use Ulf's version) and compiler (egcs 1.1.2 get internal
  compiler errors in some cases).  I'm trying to get gcc 2.96 CVS
  running but do appreciate your help in testing and fixing.

Btw. you can get access the CVS archive of glibc via

Please report bugs and problems either to libc-alpha or to directly to

To build glibc I advise to use a separate build directory and run
configure with:
/sources/glibc-2.2/configure --prefix=/somewhere --enable-add-ons \
--without-cvs --disable-profile

This work on glibc 2.2 wouldn't be possible without Ulf fixing
binutils and advise from Ralf.  Thanks a lot!


Index: linuxthreads_db/td_thr_getgregs.c
RCS file: /cvs/glibc/libc/linuxthreads_db/td_thr_getgregs.c,v
retrieving revision 1.6
diff -u -r1.6 td_thr_getgregs.c
--- td_thr_getgregs.c   2000/01/21 05:18:25     1.6
+++ td_thr_getgregs.c   2000/04/21 17:18:25
@@ -35,7 +35,7 @@
   /* If the thread already terminated we return all zeroes.  */
   if (pds.p_terminated)
-    memset (gregs, '\0', sizeof (prgregset_t));
+    memset (&gregs, '\0', sizeof (prgregset_t));
   /* Otherwise get the register content through the callback.  */
   else if (ps_lgetregs (th->th_ta_p->ph, pds.p_pid, gregs) != PS_OK)
     return TD_ERR;

 Andreas Jaeger
  SuSE Labs

<Prev in Thread] Current Thread [Next in Thread>