Hi!
I think I found the reason, why rpm segfaults for me:
# gdb rpm
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
(gdb) r
Starting program: /usr/src/RPM/BUILD/rpm-3.0.5/rpm
Program received signal SIGSEGV, Segmentation fault.
0x80b8c7f in set_progname (argc=1, argv=0xbffff6a1, envp=0x0)
at ../sysdeps/i386/i486/bits/string.h:1332
1332 ../sysdeps/i386/i486/bits/string.h: Datei oder Verzeichnis nicht gefunden.
(gdb)
So I looked at /usr/include/bits/string.h at that very line:
__STRING_INLINE char *
__strrchr_c (__const char *__s, int __c)
{
register unsigned long int __d0, __d1;
register char *__res;
__asm__ __volatile__
("cld\n"
"1:\n\t"
"lodsb\n\t"
"cmpb %%ah,%%al\n\t"
"jne 2f\n\t"
"leal -1(%%esi),%0\n"
"2:\n\t"
"testb %%al,%%al\n\t"
"jne 1b"
: "=d" (__res), "=&S" (__d0), "=&a" (__d1)
: "0" (0), "1" (__s), "2" (__c)
: "cc");
return __res;
}
(I started citing from line 1327!)
It seems there is an assembler problem (I know nothing about this...)
I have an K6-2-450 processor as an addon information as well as and
# rpm -qf /usr/include/bits/string.h
glibc-devel-2.1.3-5mdk
I'd like to avoid switching to a newer version of glibc if it does
not only contain bugfixes. Still any help is much appreciated.
Best regards,
Reinhard Katzmann
--
E-Mail: [EMAIL PROTECTED]
Current Projects: Linux-Installation Mandrake 7.1 (95% finished)
Java-DB and -Interface for Pincity (93 % finished)
GnuPG Public Key available on request.
PGP signature