Re: fstat seems broken on sparc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Mon, 14 Dec 2009 15:22:16 +0100 (CET)

> I added some dump_stack() to all the cp_* functions, leading
> to this result:
> 
> Call Trace:
>  [0000000000522990] cp_new_stat+0xdc/0x134
>  [0000000000522d9c] SyS_newfstat+0x24/0x38
>  [0000000000406294] linux_sparc_syscall+0x34/0x44
> 
> Is glibc doing the right thing here? Calling sys_newfstat (instead of 
> sys_newfstat64) for fstat64()?

That's completely bogus.

And I can't reproduce your problem on debian unstable.  What
are you using, Fedora?  Maybe something is fubared in their
glibc build or the checkout they are using.

davem@sunset:~/src/GIT/linux-2.6$ /lib/libc.so.6 --version
GNU C Library (EGLIBC) stable release version 2.10.2, by Roland McGrath et al.
 ...
davem@sunset:~/src/GIT/linux-2.6$ gcc -m64 -o x x.c
davem@sunset:~/src/GIT/linux-2.6$ ./x
1260862562.0
1260862562.0
1260862562.0
davem@sunset:~/src/GIT/linux-2.6$

I even checked current glibc GIT and everything looks kosher there
too.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux