TODO 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. TODO list for the uClibc 1.0.0 release:
  2. *) mjn3's mysterious python select/poll self-test failure that he
  3. still needs to tell me about
  4. *) Perhaps implement glibc style frame-unwinding, so that gcc need
  5. not be built with --enable-sjlj-exceptions for exception handling to work.
  6. *) Implement some mechanism (perhaps encoded in the .so name)
  7. for flagging config options that break the ABI. Options
  8. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  9. and perhaps others (finalize list) produce a lib with a differing
  10. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  11. *) Implement the float and long double versions of math funcs,
  12. using wrappers on top of the double versions (size / precision
  13. trade off).
  14. *) Delete current profiling code (because it is crap
  15. and only works when static + PIC)
  16. *) Fix profiling by adding missing stub functions per
  17. http://uclibc.org/lists/uclibc/2004-February/008167.html
  18. and used by, i.e. http://www710.univ-lyon1.fr/~yperret/fnccheck/
  19. *) Audit header files. Remove prototypes for all functions that
  20. are not supported. Especially needed for the libm headers.
  21. *) Audit header files. When options are disabled, also disable
  22. them in the include files as well.
  23. *) Make all small objects (>~50 bytes) into either inlines or
  24. into a static library
  25. *) Add support for Linux 2.6.x NGPL pthreads, futexes, etc
  26. *) Documentation updates:
  27. *) Update README document
  28. *) Update INSTALL document
  29. *) Update docs/Glibc_vs_uClibc_Differences.txt document
  30. and fully document all differences between the feature
  31. set of uClibc and glibc.
  32. *) Update docs/uClibc_vs_SuSv3.txt document
  33. *) Update docs/threads.txt document
  34. *) Write a HOWTO document
  35. *) Write man pages for ldd and ldconfig utility binaries
  36. *) Fix regex so it isn't so stinking big
  37. *) Fix glob so it isn't so stinking big
  38. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  39. biggest things (i.e. stuff at the end of the list) to make
  40. them smaller.
  41. *) Cleanup / rewrite sysconf.c. It should get some information
  42. from ldso (such as HZ). Other stuff it currently just makes
  43. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  44. needs to be updated at the same time to get proper HZ values.
  45. *) __data_start needs to be added to any crt0.S files that don't
  46. currently have it. It is used by the boehm gc. mjn3 has added
  47. it to i386 and mips, but some archs are still missing it.
  48. *) It would nice if valgrind wouldn't complain about the atexit() malloc'd
  49. memory for destructors, which happens since the dynamic linker calls
  50. atexit(), which calls malloc() prior to valgrind starting, so valgrind
  51. complains because it didn't see that memory allocated.
  52. *) From the the ELF spec "...All shared object initializations happen
  53. before the executable file gains control. ... Before the initialization
  54. code for any object A is called, the initialization code for any other
  55. objects that object A depends on are called. For these purposes, an object
  56. A depends on another object B, if B appears in Ads list of needed objects
  57. (recorded in the DT_NEEDED entries of the dynamic structure). The order of
  58. initialization for circular dependencies is undefined." uClibc's shared
  59. lib loader should be fixed to run ctors in the specified order.
  60. -----------------------------------------------------------------------------
  61. Manuel's todo:
  62. 1) Little things that need fixing:
  63. ----------------------------------
  64. a) Fix bug in *printf: outdigit precison bug
  65. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  66. are respected where they should be.
  67. c) Implement the obstack printf funcs for glibc compat.
  68. d) Implement glibc 'a' flag for scanf string conversions.
  69. e) Allow use of the older non-table-based ctype functions when using
  70. stub locale support. (smaller)
  71. 2) Additional str{f|p}time issues.
  72. ----------------------------------
  73. a) Spacing issue wrt strptime.
  74. b) Support locale specific alternate digits. (data is in place)
  75. c) Support locale era in year designations. (data is in place)
  76. d) Deal with mb format string issues in strftime.
  77. e) Implement wcsftime.
  78. 3) Other locale issues (my implementation):
  79. -------------------------------------------
  80. a) Do a little more clean up of ctype and wctype.
  81. b) Rework of the locale data organization to make using locales reasonable
  82. when staticly linking. (mmap)
  83. c) Rewrite the locale data generation tools to process the text specifications
  84. rather than relying on glibc.
  85. d) Adapt regex lib to use my collation data and add the necessary collating
  86. item tables to support SUSv3 required features.
  87. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  88. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  89. g) Implement strfrom.
  90. h) Shift-state codeset locale support?
  91. 4) Misc:
  92. --------
  93. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  94. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  95. of redundant data.