TODO 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. TODO list for every uClibc release:
  2. -------------------------------------------------
  3. *) Audit header files. Remove prototypes for all functions that
  4. are not supported -- especially needed for the libm headers.
  5. *) Audit header files. When options are disabled, also disable
  6. them in the include files as well by checking for the proper
  7. define from include/bits/uClibc_config.h (pulled in from features.h)
  8. *) Test cris, i386, mips, mipsel, sh, x86_64, arm, armeb, and powerpc
  9. with the latest LTP testsuite. Fix any regressions and post LTP
  10. testsuite results for each architecture on uclibc.org.
  11. *) Fix it so valgrind 2.4.0 no longer complains about the memory mmaped
  12. and used by ldso. Currently it whines on basically about virtually
  13. every function call when doing default lazy binding, which makes its
  14. output virtually useless due to the excess noise.
  15. TODO list for the uClibc 0.9.29 release:
  16. -------------------------------------------------
  17. *) misc stdio bugs:
  18. http://bugs.uclibc.org/view.php?id=420
  19. http://bugs.uclibc.org/view.php?id=539
  20. *) bug in getopt handling:
  21. http://bugs.uclibc.org/view.php?id=61
  22. http://www.uclibc.org/lists/uclibc/2006-January/013851.html
  23. *) Change all references to the older "Library GPL" to the "Lesser GPL"
  24. and update COPYING.LIB to LGPL version 2.1.
  25. *) fold NPTL branch back into trunk
  26. *) as many of the arch-specific issues as possible
  27. TODO list for the uClibc 1.0.0 release:
  28. -------------------------------------------------
  29. *) glob / fnmatch tests fail
  30. *) Finish hiding uClibc internal symbols from our exported namespace.
  31. *) Explicity add some sortof CONFIG_LINUX_2_2_ABI, CONFIG_LINUX_2_4_ABI
  32. and CONFIG_LINUX_2_6_ABI type options, rather than having the abi
  33. depend on the selected set of kernel headers. This will likely also
  34. require that we provide a set of kernel headers (probably a derivitive
  35. of Mazur's linux-libc-headers) that can supplies the 2.2, 2.4, and 2.6
  36. kernel abi.
  37. *) Documentation updates:
  38. *) Write a uClibc HOWTO document
  39. *) Update README document
  40. *) Update INSTALL document
  41. *) Update docs/Glibc_vs_uClibc_Differences.txt document
  42. and fully document all differences between the feature
  43. set of uClibc and glibc.
  44. *) Update docs/uClibc_vs_SuSv3.txt document
  45. *) Update docs/threads.txt document
  46. *) Write man pages for ldd and ldconfig utility binaries
  47. *) Implement some mechanism (perhaps encoded in the .so name,
  48. perhaps using an abi tag magically embedded into each object)
  49. for flagging config options that break the ABI. Options
  50. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  51. and perhaps others (finalize list) produce a lib with a differing
  52. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  53. This is most easily done using symbol versioning...
  54. *) Implement the long double versions of math funcs
  55. using wrappers on top of the double versions (size / precision
  56. trade off where size clearly wins).
  57. *) Make all small objects (>~50 bytes) into either inlines or
  58. into a static library
  59. *) Cleanup / rewrite sysconf.c. It should get some information
  60. from ldso (such as HZ). Other stuff it currently just makes
  61. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  62. needs to be updated at the same time to get proper HZ values.
  63. *) poll emulation using select() for old 2.0.x uClinux kernels
  64. in libc/sysdeps/linux/common/poll.c fails some python self-tests.
  65. Of course, modern systems using the actuall poll() syscall work fine.
  66. *) Cleanup/scrub all the Makefile copyright junk
  67. *) Fix dlopen, for both static and dynamic cases, and make it
  68. fully comply with SuSv3
  69. *) From the the ELF spec "...All shared object initializations happen
  70. before the executable file gains control. ... Before the initialization
  71. code for any object A is called, the initialization code for any other
  72. objects that object A depends on are called. For these purposes, an object
  73. A depends on another object B, if B appears in Ads list of needed objects
  74. (recorded in the DT_NEEDED entries of the dynamic structure). The order of
  75. initialization for circular dependencies is undefined." uClibc's shared
  76. lib loader should be fixed to run ctors in the specified order.
  77. TODO list for AFTER the uClibc 1.0.0 release:
  78. -------------------------------------------------
  79. *) Add support for Linux 2.6.x fast vsyscalls
  80. *) Enable pristine source tree builds
  81. *) Fix regex so it isn't so stinking big
  82. *) Fix glob so it isn't so stinking big
  83. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  84. biggest things (i.e. stuff at the end of the list) to make
  85. them smaller.
  86. <more wishlist items here>
  87. Arch specific TODO:
  88. -------------------------------------------------
  89. alpha:
  90. ldso is not implemented
  91. arm:
  92. update crt1 code again for nommu (http://bugs.uclibc.org/view.php?id=538)
  93. recruit jbowler and integrate thumb support
  94. hppa:
  95. errno.c test segfaults causes segfault in clone.S (seems to be in glibc too)
  96. ia64:
  97. ldso is not implemented
  98. m68k:
  99. ldso lazy relocation doesnt work
  100. mips:
  101. brk/pipe fixes: http://bugs.uclibc.org/view.php?id=469
  102. sparc:
  103. need a sigaction.c since common one doesnt work (signal tests)
  104. ldso needs to be updated since it's totally broken atm
  105. vax:
  106. pthread support, linktime warning support (implies GAS patches),
  107. general touchups, testing, ldso.
  108. bfin cris rfv sh64:
  109. need to be updated to new ldso changes and unification of the
  110. two uClibc_main funcs (__uClibc_start_main doesnt exist anymore)
  111. -----------------------------------------------------------------------------
  112. Manuel's todo:
  113. 1) Little things that need fixing:
  114. ----------------------------------
  115. a) Fix bug in *printf: outdigit precison bug
  116. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  117. are respected where they should be.
  118. c) Implement the obstack printf funcs for glibc compat.
  119. d) Implement glibc 'a' flag for scanf string conversions.
  120. e) Allow use of the older non-table-based ctype functions when using
  121. stub locale support. (smaller)
  122. 2) Additional str{f|p}time issues.
  123. ----------------------------------
  124. a) Spacing issue wrt strptime.
  125. b) Support locale specific alternate digits. (data is in place)
  126. c) Support locale era in year designations. (data is in place)
  127. d) Deal with mb format string issues in strftime.
  128. e) Implement wcsftime.
  129. 3) Other locale issues (my implementation):
  130. -------------------------------------------
  131. a) Do a little more clean up of ctype and wctype.
  132. b) Rework of the locale data organization to make using locales reasonable
  133. when staticly linking. (mmap)
  134. c) Rewrite the locale data generation tools to process the text specifications
  135. rather than relying on glibc.
  136. d) Adapt regex lib to use my collation data and add the necessary collating
  137. item tables to support SUSv3 required features.
  138. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  139. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  140. g) Implement strfrom.
  141. h) Shift-state codeset locale support?
  142. 4) Misc:
  143. --------
  144. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  145. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  146. of redundant data.