public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64
@ 2005-03-08 16:26 sjmunroe at us dot ibm dot com
  2005-03-08 16:38 ` [Bug libc/781] " sjmunroe at us dot ibm dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-03-08 16:26 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
@ 2005-03-08 16:38 ` sjmunroe at us dot ibm dot com
  2005-03-08 16:42 ` sjmunroe at us dot ibm dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-03-08 16:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sjmunroe at us dot ibm dot com  2005-03-08 16:38 -------
Created an attachment (id=431)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=431&action=view)
[PATCH] update kernel-features.h for powerpc


-- 


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
  2005-03-08 16:38 ` [Bug libc/781] " sjmunroe at us dot ibm dot com
@ 2005-03-08 16:42 ` sjmunroe at us dot ibm dot com
  2005-03-10 10:48 ` gotom at debian dot or dot jp
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-03-08 16:42 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sjmunroe at us dot ibm dot com  2005-03-08 16:42 -------
The patch attached about adds the appropirate changes to kernel-features.h to
reflect the powerpc kernels as of 2.6.9.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
  2005-03-08 16:38 ` [Bug libc/781] " sjmunroe at us dot ibm dot com
  2005-03-08 16:42 ` sjmunroe at us dot ibm dot com
@ 2005-03-10 10:48 ` gotom at debian dot or dot jp
  2005-03-10 14:22 ` sjmunroe at us dot ibm dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: gotom at debian dot or dot jp @ 2005-03-10 10:48 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2005-03-10 10:47 -------
Is this bug "resolved and fixed"?

-- 


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
                   ` (2 preceding siblings ...)
  2005-03-10 10:48 ` gotom at debian dot or dot jp
@ 2005-03-10 14:22 ` sjmunroe at us dot ibm dot com
  2005-03-17 21:32 ` sjmunroe at us dot ibm dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-03-10 14:22 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sjmunroe at us dot ibm dot com  2005-03-10 14:22 -------
Yes this is fixed, just waiting for patch review and hopefully commitment to cvs.

-- 


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
                   ` (3 preceding siblings ...)
  2005-03-10 14:22 ` sjmunroe at us dot ibm dot com
@ 2005-03-17 21:32 ` sjmunroe at us dot ibm dot com
  2005-04-28 16:02 ` sjmunroe at us dot ibm dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-03-17 21:32 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sjmunroe at us dot ibm dot com  2005-03-17 21:32 -------
Oops I should not marked this fixed before it was committed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
                   ` (4 preceding siblings ...)
  2005-03-17 21:32 ` sjmunroe at us dot ibm dot com
@ 2005-04-28 16:02 ` sjmunroe at us dot ibm dot com
  2005-04-28 22:21 ` cvs-commit at gcc dot gnu dot org
  2005-04-28 22:33 ` roland at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2005-04-28 16:02 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From sjmunroe at us dot ibm dot com  2005-04-28 16:02 -------
Can someone look at a apply this patch? Its tested and ready to go!

-- 


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
                   ` (5 preceding siblings ...)
  2005-04-28 16:02 ` sjmunroe at us dot ibm dot com
@ 2005-04-28 22:21 ` cvs-commit at gcc dot gnu dot org
  2005-04-28 22:33 ` roland at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-28 22:21 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-28 22:20 -------
Subject: Bug 781

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-04-28 22:20:52

Modified files:
	sysdeps/unix/sysv/linux: kernel-features.h 

Log message:
	2005-03-07  Steven Munroe  <sjmunroe@us.ibm.com>
	
	[BZ #781]
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
	(__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
	(__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
	with 2.6.1.
	(__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/kernel-features.h.diff?cvsroot=glibc&r1=1.83&r2=1.84



-- 


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug libc/781] Kernel Feature is missing 2.6 features for powerpc32/powerpc64
  2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
                   ` (6 preceding siblings ...)
  2005-04-28 22:21 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-28 22:33 ` roland at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: roland at gnu dot org @ 2005-04-28 22:33 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2005-04-28 22:33 -------
Fixed in trunk.  If you think it should go into 2.3.x, get your vendors to test
it in their production builds.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-28 22:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-08 16:26 [Bug libc/781] New: Kernel Feature is missing 2.6 features for powerpc32/powerpc64 sjmunroe at us dot ibm dot com
2005-03-08 16:38 ` [Bug libc/781] " sjmunroe at us dot ibm dot com
2005-03-08 16:42 ` sjmunroe at us dot ibm dot com
2005-03-10 10:48 ` gotom at debian dot or dot jp
2005-03-10 14:22 ` sjmunroe at us dot ibm dot com
2005-03-17 21:32 ` sjmunroe at us dot ibm dot com
2005-04-28 16:02 ` sjmunroe at us dot ibm dot com
2005-04-28 22:21 ` cvs-commit at gcc dot gnu dot org
2005-04-28 22:33 ` roland at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).