This is the mail archive of the libc-alpha@sourceware.cygnus.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]

Re: glibc-2.1.91: segfault problem overcome via kludge


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.

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