TODO 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. TODO list for every uClibc release:
  2. -------------------------------------------------
  3. *) Test cris, i386, mips, mipsel, sh, x86_64, arm, armeb, and powerpc
  4. with the latest LTP testsuite. Fix any regressions and post LTP
  5. testsuite results for each architecture on uclibc.org.
  6. *) Audit header files. Remove prototypes for all functions that
  7. are not supported -- especially needed for the libm headers.
  8. *) Audit header files. When options are disabled, also disable
  9. them in the include files as well by checking for the proper
  10. define from include/bits/uClibc_config.h (pulled in from features.h)
  11. TODO list for the uClibc 1.0.0 release:
  12. -------------------------------------------------
  13. *) NPTL
  14. support arches: (o todo; + done)
  15. o alpha
  16. + arm
  17. o avr32
  18. o bfin
  19. o cris
  20. o e1
  21. o frv
  22. o h8300
  23. o hppa
  24. + i386
  25. o i960
  26. o ia64
  27. o m68k
  28. o microblaze
  29. + mips
  30. o nios
  31. o nios2
  32. + powerpc
  33. + sh
  34. + sh64
  35. o sparc
  36. o v850
  37. o vax
  38. o x86_64
  39. o xtensa
  40. o ...
  41. *) Go through SUSv4
  42. TOC: http://www.opengroup.org/onlinepubs/9699919799/xrat/contents.html
  43. shell (busybox): http://www.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap01.html#tag_22_01_01
  44. interface:
  45. http://www.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap13.html#tag_21_13_02
  46. http://www.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap01.html#tag_23_01_01
  47. *) glob / fnmatch tests fail
  48. *) regex should pass AT&T conformance tests
  49. *) Finish hiding uClibc internal symbols from our exported namespace
  50. *) Add system for generating minimal system call asm wrappers that abuse
  51. the C ABI to minimize amount of register/stack manipulation
  52. *) Explicity add some sortof CONFIG_LINUX_2_2_ABI, CONFIG_LINUX_2_4_ABI
  53. and CONFIG_LINUX_2_6_ABI type options, rather than having the abi
  54. depend on the selected set of kernel headers. This will likely also
  55. require that we provide a set of kernel headers (probably a derivitive
  56. of Mazur's linux-libc-headers) that can supplies the 2.2, 2.4, and 2.6
  57. kernel abi.
  58. *) Documentation updates:
  59. *) Write a uClibc HOWTO document
  60. *) Update README document
  61. *) Update INSTALL document
  62. *) Update docs/Glibc_vs_uClibc_Differences.txt document
  63. and fully document all differences between the feature
  64. set of uClibc and glibc.
  65. *) Update docs/uClibc_vs_SuSv3.txt document
  66. *) Update docs/threads.txt document
  67. *) Write man pages for ldd and ldconfig utility binaries
  68. *) Implement some mechanism (perhaps encoded in the .so name,
  69. perhaps using an abi tag magically embedded into each object)
  70. for flagging config options that break the ABI. Options
  71. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  72. and perhaps others (finalize list) produce a lib with a differing
  73. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  74. This is most easily done using symbol versioning...
  75. *) Implement the long double versions of math funcs on interrested
  76. arches using wrappers on top of the double versions (size / precision
  77. trade off where size clearly wins).
  78. *) Make all small objects (>~50 bytes) into either inlines or
  79. into a static library
  80. *) Cleanup / rewrite sysconf.c. It should get some information
  81. from ldso (such as HZ). Other stuff it currently just makes
  82. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  83. needs to be updated at the same time to get proper HZ values.
  84. *) poll emulation using select() for old 2.0.x uClinux kernels
  85. in libc/sysdeps/linux/common/poll.c fails some python self-tests.
  86. Of course, modern systems using the actuall poll() syscall work fine.
  87. *) Cleanup/scrub all the Makefile copyright junk
  88. *) Fix dlopen, for both static and dynamic cases, and make it
  89. fully comply with SuSv3
  90. *) check if sched_getcpu is only pulled in where it should be
  91. *) remove HANDLE_OLDER_RLIMIT, NEW_GETRLIMIT (conditionalize on
  92. ugetrlimit, it seems, else use the modern variant)
  93. *) simplify exec*() in the light of execvpe (perhaps single internal
  94. impl); USE_GNU for execvpe (and other GNU extensions, see psm).
  95. TODO list for AFTER the uClibc 1.0.0 release:
  96. -------------------------------------------------
  97. *) Add support for 64bit time (to deal withhttp://2038bug.com/):
  98. date -s 011903142038 sets epoch to roll over in a few seconds (2^31)
  99. *) Add support for Linux 2.6.x fast vsyscalls
  100. *) Enable pristine source tree builds
  101. *) Fix regex so it isn't so stinking big
  102. *) Fix glob so it isn't so stinking big
  103. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  104. biggest things (i.e. stuff at the end of the list) to make
  105. them smaller.
  106. *) Fix dlopen/dlsym/dlclose locking to more fine grained or use RCU
  107. <more wishlist items here>
  108. Arch specific TODO:
  109. -------------------------------------------------
  110. alpha:
  111. ldso is not implemented
  112. arm:
  113. update crt1 code again for nommu (http://bugs.uclibc.org/view.php?id=538)
  114. recruit jbowler and integrate thumb support
  115. frv:
  116. needs to be updated for the new ldso changes and unification of the
  117. uClibc_main funcs (__uClibc_start_main doesnt exist anymore)
  118. hppa:
  119. errno.c test segfaults causes segfault in clone.S (seems to be in glibc too)
  120. i386:
  121. add support for fast system calls
  122. ia64:
  123. ldso is not implemented
  124. m68k:
  125. ldso lazy relocation doesnt work
  126. sh64:
  127. ldso is reasonably broken, presently requiring additional
  128. coaxing/threatening.
  129. sparc:
  130. need a sigaction.c since common one doesnt work (signal tests)
  131. ldso needs to be updated since it's totally broken atm
  132. vax:
  133. pthread support, linktime warning support (implies GAS patches),
  134. general touchups, testing, ldso.
  135. -----------------------------------------------------------------------------
  136. Manuel's todo:
  137. 1) Little things that need fixing:
  138. ----------------------------------
  139. a) Fix bug in *printf: outdigit precison bug
  140. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  141. are respected where they should be.
  142. c) Implement the obstack printf funcs for glibc compat.
  143. d) Implement glibc 'a' flag for scanf string conversions.
  144. e) Allow use of the older non-table-based ctype functions when using
  145. stub locale support. (smaller)
  146. f) __drand48_iterate should be void
  147. g) alphasort vs. versionsort. The former seems to be SVID, the latter GNU
  148. i.e. reverse to what we currently do. The latter is unimplemented.
  149. h) ponder removal/configs to turn off: __xpg_*, bsd_signal, dysize,
  150. getw/putw, utimes,
  151. 2) Additional str{f|p}time issues.
  152. ----------------------------------
  153. a) Spacing issue wrt strptime.
  154. b) Support locale specific alternate digits. (data is in place)
  155. c) Support locale era in year designations. (data is in place)
  156. d) Deal with mb format string issues in strftime.
  157. e) Implement wcsftime.
  158. 3) Other locale issues (my implementation):
  159. -------------------------------------------
  160. a) Do a little more clean up of ctype and wctype.
  161. b) Rework of the locale data organization to make using locales reasonable
  162. when staticly linking. (mmap)
  163. c) Rewrite the locale data generation tools to process the text specifications
  164. rather than relying on glibc.
  165. d) Adapt regex lib to use my collation data and add the necessary collating
  166. item tables to support SUSv3 required features.
  167. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  168. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  169. g) Implement strfrom.
  170. h) Shift-state codeset locale support?
  171. 4) Misc:
  172. --------
  173. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  174. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  175. of redundant data.