Post by gator213 on Jan 30, 2008 3:42:31 GMT 7
The version of glibc that is in firmware release 2.00.04 does not support the epoll system calls:
epoll has been a part of Linux since the earliest 2.6 kernels, so I was surprised that thecus does not support it. the reason seems to be that, despite the fact that it runs a 2.6.13 kernel, its glibc was compiled against a 2.4 kernel:
I would appreciate it if other interested parties could verify they have the same glibc and that I did not botch the firmware upgrade somehow.
My application requires epoll, so I cannot port it to the thecus n5200 until epoll support exists. Are there any plans to update the glibc in the thecus n5200 firmware?
root@127.0.0.1:~# strings /lib/libc.so.6 | grep epoll
epoll_wait
epoll_ctl
epoll_create
warning: epoll_create is not implemented and will always fail
warning: epoll_ctl is not implemented and will always fail
warning: epoll_wait is not implemented and will always fail
.gnu.warning.epoll_create
.gnu.warning.epoll_ctl
.gnu.warning.epoll_wait
epoll_wait
epoll_ctl
epoll_create
warning: epoll_create is not implemented and will always fail
warning: epoll_ctl is not implemented and will always fail
warning: epoll_wait is not implemented and will always fail
.gnu.warning.epoll_create
.gnu.warning.epoll_ctl
.gnu.warning.epoll_wait
epoll has been a part of Linux since the earliest 2.6 kernels, so I was surprised that thecus does not support it. the reason seems to be that, despite the fact that it runs a 2.6.13 kernel, its glibc was compiled against a 2.4 kernel:
root@127.0.0.1:~# /lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.6.
Compiled on a Linux 2.4.31 system on 2005-09-10.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.6.
Compiled on a Linux 2.4.31 system on 2005-09-10.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
I would appreciate it if other interested parties could verify they have the same glibc and that I did not botch the firmware upgrade somehow.
My application requires epoll, so I cannot port it to the thecus n5200 until epoll support exists. Are there any plans to update the glibc in the thecus n5200 firmware?