[parisc-linux] Re: Bug#200619: gcc: parisc: compiling dietlibc-dev with -Os caus

Gerrit Pape pape@smarden.org
Sat, 9 Aug 2003 11:00:32 +0200


reassign 200619 dietlibc
retitle 200619 dietlibc: parisc: bad stat struct mapping
thanks

On Fri, Jul 25, 2003 at 10:21:26PM -0400, John David Anglin wrote:
> > At the fstat call we have the following values:
> > 
> > Breakpoint 11, 0x00010b10 in __stdio_init_file_nothreads ()
> 
> Carlos O'Donell and myself looked at this problem this afternoon.  This
> is a dietlib problem.  Dietlib is not using the correct kernel_stat
> mapping for parisc.  They appear to be using the i386 mapping.  They
> need to look at /libc/sysdeps/unix/sysv/linux/xstatconv.c and the
> hppa/kernel_stat.h header in glibc.

Yes, this seems to be the cause of the problems, and needs to be fixed
in the dietlibc.  Thanks a lot for your time looking into this, and your
valuable support.

Regards, Gerrit.