On Tue, Oct 24, 2006 at 09:30:30AM +0000, Gerrit Pape wrote:
> I can do that of course.  Can you tell me the actual problem you ran
> into?

select fails with ENOSYS.

>        On bruckner.d.o select() with the current dietlibc works fine.

It seems to be not longer available on 64bit powerpc kernels..

> Where can I read about select no longer being implemented on powerpc?

The source.

-- 
There are certain things men must do to remain men.
                -- Kirk, "The Ultimate Computer", stardate 4929.4
diff -u dietlibc-0.30/debian/changelog dietlibc-0.30/debian/changelog
--- dietlibc-0.30/debian/changelog
+++ dietlibc-0.30/debian/changelog
@@ -1,3 +1,10 @@
+dietlibc (0.30-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Always use _newselect instead of select. (closes: #394928) 
+
+ -- Bastian Blank <[EMAIL PROTECTED]>  Tue, 24 Oct 2006 10:59:39 +0200
+
 dietlibc (0.30-2) unstable; urgency=low
 
   * debian/diff/parisc-sem.diff: new; parisc has the semctl, semop,
only in patch2:
unchanged:
--- dietlibc-0.30.orig/debian/diff/select.diff
+++ dietlibc-0.30/debian/diff/select.diff
@@ -0,0 +1,32 @@
+--- arm/select.S       2002-05-05 19:18:44.000000000 +0200
++++ arm/select.S       1970-01-01 01:00:00.000000000 +0100
+@@ -1,3 +0,0 @@
+-#include "syscalls.h"
+-
+-syscall(_newselect,select)
+--- mips/select.S      2002-05-05 19:19:41.000000000 +0200
++++ mips/select.S      1970-01-01 01:00:00.000000000 +0100
+@@ -1,3 +0,0 @@
+-#include "syscalls.h"
+-
+-syscall(_newselect,select)
+--- s390/select.S      2005-05-25 10:40:02.000000000 +0200
++++ s390/select.S      1970-01-01 01:00:00.000000000 +0100
+@@ -1,3 +0,0 @@
+-#include "syscalls.h"
+-
+-syscall(_newselect,select)
+--- s390x/select.S     2005-05-25 10:40:02.000000000 +0200
++++ s390x/select.S     1970-01-01 01:00:00.000000000 +0100
+@@ -1 +0,0 @@
+-#include "s390/select.S"
+--- syscalls.s/select.S        2005-05-25 10:40:02.000000000 +0200
++++ syscalls.s/select.S        2006-10-23 22:13:12.268915192 +0200
+@@ -1,5 +1,5 @@
+ #include "syscalls.h"
+ 
+-#ifdef __NR_select
+-syscall(select,select)
++#ifdef __NR__newselect
++syscall(_newselect,select)
+ #endif

Attachment: signature.asc
Description: Digital signature

Reply via email to