TODO 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. TODO list for the uClibc 0.9.27 release:
  2. -------------------------------------------------
  3. *) Fix syscall() on mips
  4. *) Fix use of __secure in __uClibc_init() for so that we prevent
  5. starting staticly linked SUID binaries where the standard file
  6. descriptors are not opened. For dynamically linked binaries,
  7. ldso does this for us.
  8. *) Audit header files. Remove prototypes for all functions that
  9. are not supported -- especially needed for the libm headers.
  10. *) Audit header files. When options are disabled, also disable
  11. them in the include files as well by checking for the proper
  12. define from include/bits/uClibc_config.h (pulled in from features.h)
  13. TODO list for the uClibc 1.0.0 release:
  14. -------------------------------------------------
  15. *) Documentation updates:
  16. *) Write a uClibc HOWTO document
  17. *) Update README document
  18. *) Update INSTALL document
  19. *) Update docs/Glibc_vs_uClibc_Differences.txt document
  20. and fully document all differences between the feature
  21. set of uClibc and glibc.
  22. *) Update docs/uClibc_vs_SuSv3.txt document
  23. *) Update docs/threads.txt document
  24. *) Write man pages for ldd and ldconfig utility binaries
  25. *) Implement some mechanism (perhaps encoded in the .so name,
  26. perhaps using an abi tag magically embedded into each object)
  27. for flagging config options that break the ABI. Options
  28. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  29. and perhaps others (finalize list) produce a lib with a differing
  30. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  31. This is most easily done using symbol versioning...
  32. *) Perhaps implement glibc style frame-unwinding, so that gcc need
  33. not be built with --enable-sjlj-exceptions for C++ exception handling
  34. to work.
  35. *) Implement the float and long double versions of math funcs
  36. using wrappers on top of the double versions (size / precision
  37. trade off where size clearly wins).
  38. *) Make all small objects (>~50 bytes) into either inlines or
  39. into a static library
  40. *) Cleanup / rewrite sysconf.c. It should get some information
  41. from ldso (such as HZ). Other stuff it currently just makes
  42. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  43. needs to be updated at the same time to get proper HZ values.
  44. *) It would nice if valgrind wouldn't complain about the atexit() malloc'd
  45. memory for destructors, which happens since the dynamic linker calls
  46. atexit(), which calls malloc() prior to valgrind starting, so valgrind
  47. complains because it didn't see that memory allocated.
  48. *) poll emulation using select() for old 2.0.x uClinux kernels
  49. in libc/sysdeps/linux/common/poll.c fails some python self-tests.
  50. Of course, modern systems using the actuall poll() syscall work fine.
  51. *) Rework the build system Makefile to eliminate recursive make.
  52. *) Build both pic and non-pic objects where appropriate, so that
  53. static libs need not pay the pic size penalty.
  54. *) Cleanup/scrub all the Makefile copyright junk
  55. *) Debugging pthreads with gdb does not work at all on mips unless
  56. the application is staticly linked.
  57. *) Fix dlopen, for both static and dynamic cases, and make it
  58. fully comply with SuSv3
  59. TODO list for AFTER the uClibc 1.0.0 release:
  60. -------------------------------------------------
  61. *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
  62. *) Add support for Linux 2.6.x fast vsyscalls
  63. *) Enable pristine source tree builds
  64. *) Fix regex so it isn't so stinking big
  65. *) Fix glob so it isn't so stinking big
  66. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  67. biggest things (i.e. stuff at the end of the list) to make
  68. them smaller.
  69. <more wishlist items here>
  70. -----------------------------------------------------------------------------
  71. Manuel's todo:
  72. 1) Little things that need fixing:
  73. ----------------------------------
  74. a) Fix bug in *printf: outdigit precison bug
  75. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  76. are respected where they should be.
  77. c) Implement the obstack printf funcs for glibc compat.
  78. d) Implement glibc 'a' flag for scanf string conversions.
  79. e) Allow use of the older non-table-based ctype functions when using
  80. stub locale support. (smaller)
  81. 2) Additional str{f|p}time issues.
  82. ----------------------------------
  83. a) Spacing issue wrt strptime.
  84. b) Support locale specific alternate digits. (data is in place)
  85. c) Support locale era in year designations. (data is in place)
  86. d) Deal with mb format string issues in strftime.
  87. e) Implement wcsftime.
  88. 3) Other locale issues (my implementation):
  89. -------------------------------------------
  90. a) Do a little more clean up of ctype and wctype.
  91. b) Rework of the locale data organization to make using locales reasonable
  92. when staticly linking. (mmap)
  93. c) Rewrite the locale data generation tools to process the text specifications
  94. rather than relying on glibc.
  95. d) Adapt regex lib to use my collation data and add the necessary collating
  96. item tables to support SUSv3 required features.
  97. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  98. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  99. g) Implement strfrom.
  100. h) Shift-state codeset locale support?
  101. 4) Misc:
  102. --------
  103. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  104. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  105. of redundant data.