TODO 7.5 KB

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