TODO 6.9 KB

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