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