This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Mar 2005 16:26:45 -0000
- Subject: [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Anton Blanchard writes:
FYI I found what looked like some issues with the ppc32/64 glibc feature
selection code.
Anton
--
/* Starting with version 2.6.9, the waitid system call is available. */
#if __LINUX_KERNEL_VERSION >= 0x020609
# define __ASSUME_WAITID_SYSCALL 1
#endif
We havent turned waitid on for ppc64 (32 or 64bit userspace). We expect
to do it shortly. I guess it should be disabled on ppc for the moment.
/* The tgkill syscall was instroduced for i386 in 2.5.75. For Alpha
it was introduced in 2.6.0-test1 which unfortunately cannot be
distinguished from 2.6.0. On x86-64 it was introduced in
2.6.0-test3. */
#if (__LINUX_KERNEL_VERSION >= 132427 && defined __i386__) \
|| (__LINUX_KERNEL_VERSION >= 132609 && defined __alpha__) \
|| (__LINUX_KERNEL_VERSION >= 132609 && defined __x86_64__) \
|| (__LINUX_KERNEL_VERSION >= 132609 && defined __sh__)
# define __ASSUME_TGKILL 1
#endif
tgkill was introduced into ppc32 and ppc64 on 2.6.0-test* too.
/* The utimes syscall has been available for some architectures
forever. For x86 it was introduced after 2.5.75, for x86-64 in
2.6.0-test3. */
#if defined __alpha__ || defined __ia64__ || defined __hppa__ \
|| defined __sparc__ \
|| (__LINUX_KERNEL_VERSION > 132427 && defined __i386__) \
|| (__LINUX_KERNEL_VERSION > 132609 && defined __x86_64__) \
|| (__LINUX_KERNEL_VERSION >= 132609 && defined __sh__)
# define __ASSUME_UTIMES 1
#endif
utimes was introduced into ppc32 and ppc64 on 2.6.0-test*.
/* The fixed version of the posix_fadvise64 syscall appeared in
2.6.0-test3. At least for x86. */
#if __LINUX_KERNEL_VERSION >= 132609 && defined __i386__
# define __ASSUME_FADVISE64_64_SYSCALL 1
#endif
Its in 2.6.2 on both ppc32 and ppc64 kernels but its a 32bit userspace
call only.
--
Summary: Kernel Feature is missing 2.6 features for
powerpc32/powerpc64
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: sjmunroe at us dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc64--linux
GCC host triplet: powerpc64--linux
GCC target triplet: powerpc64--linux
http://sources.redhat.com/bugzilla/show_bug.cgi?id=781
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.