This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: glibc-2.1.91: segfault problem overcome via kludge
- To: "Adam J. Richter" <adam at yggdrasil dot com>
- Subject: Re: glibc-2.1.91: segfault problem overcome via kludge
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 3 Jul 2000 09:29:23 -0700
- Cc: aj at suse dot de, libc-alpha at sourceware dot cygnus dot com
- References: <200007030928.CAA10620@adam.yggdrasil.com>
On Mon, Jul 03, 2000 at 02:28:37AM -0700, Adam J. Richter wrote:
>
> The symptom is that some of the commands invoked by "make
> install" get a segmentation fault after ld-2.1.91.so and libc-2.1.91.so
> (but no other .so files) have been installed. After that, many other
> programs also fail. The two or three programs that I ran under
> gdb (by starting gdb with the old ld-linux.so.2) claimed to experience
> their problems at line 255 of nssswitch.c, which, oddly, is a blank
> line between the bodies of two subroutines.
>
That is strange. I have made sure no DSO will be used until the end
of "make install". Something must be changed. The last 3 commands of
"make install" should be
...../src/libc/elf/sln ..../obj/libc/elf/symlink.list
rm -f ..../obj/libc/elf/symlink.list
..../obj/libc/elf/ldconfig -d /lib -d /usr/lib
Only "sln symlink.list" should make the necessay symlinks so that you
those ld-2.1.91.so and libc-2.1.91.so will be used. However, it assumes
you don't have ld-2.1.91.so and libc-2.1.91.so in /lib before. If you
do, it is a known problem. One possible fix is to have a new version
everyday, like 2.1.20000701, 2.1.20000702, ....
H.J.