TODO 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. TODO list for the uClibc 0.9.27 release:
  2. -------------------------------------------------
  3. *) Implement some mechanism (perhaps encoded in the .so name,
  4. perhaps using an abi tag magically embedded into each object)
  5. for flagging config options that break the ABI. Options
  6. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  7. and perhaps others (finalize list) produce a lib with a differing
  8. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  9. *) Fix syscall() on mips
  10. *) Finish up current ldso cleanups
  11. *) Fix dlopen, for both static and dynamic cases, and make it
  12. actually comply with SuSv3
  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. *) Perhaps implement glibc style frame-unwinding, so that gcc need
  26. not be built with --enable-sjlj-exceptions for C++ exception handling
  27. to work.
  28. *) Implement the float and long double versions of math funcs
  29. using wrappers on top of the double versions (size / precision
  30. trade off where size clearly wins).
  31. *) Delete current profiling code (because it is complete crap
  32. and only works properly when static + PIC, and because it is
  33. quite intrusive, and because there are better ways to profile)
  34. *) Fix profiling by adding missing stub functions per
  35. http://uclibc.org/lists/uclibc/2004-February/008167.html
  36. and used by, i.e. http://www710.univ-lyon1.fr/~yperret/fnccheck/
  37. *) Audit header files. Remove prototypes for all functions that
  38. are not supported -- especially needed for the libm headers.
  39. *) Audit header files. When options are disabled, also disable
  40. them in the include files as well by checking for the proper
  41. define from include/bits/uClibc_config.h (pulled in from features.h)
  42. *) Make all small objects (>~50 bytes) into either inlines or
  43. into a static library
  44. *) Cleanup / rewrite sysconf.c. It should get some information
  45. from ldso (such as HZ). Other stuff it currently just makes
  46. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  47. needs to be updated at the same time to get proper HZ values.
  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. *) poll emulation using select() for old 2.0.x uClinux kernels
  61. in libc/sysdeps/linux/common/poll.c fails some python self-tests.
  62. Of course, modern systems using the actuall poll() syscall work fine.
  63. *) Rework the build system Makefile to eliminate recursive make.
  64. *) Build both pic and non-pic objects where appropriate, so that
  65. static libs need not pay the pic size penalty.
  66. *) Cleanup/scrub all the Makefile copyright junk
  67. *) Debugging pthreads with gdb does not work at all on mips
  68. *) Debugging pthreads with gdb initially appears to work, but
  69. fails to function correctly on arm
  70. TODO list for AFTER the uClibc 1.0.0 release:
  71. -------------------------------------------------
  72. *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
  73. *) Add support for Linux 2.6.x fast vsyscalls
  74. *) Enable pristine source tree builds
  75. *) Fix regex so it isn't so stinking big
  76. *) Fix glob so it isn't so stinking big
  77. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  78. biggest things (i.e. stuff at the end of the list) to make
  79. them smaller.
  80. <more wishlist items here>
  81. -----------------------------------------------------------------------------
  82. Manuel's todo:
  83. 1) Little things that need fixing:
  84. ----------------------------------
  85. a) Fix bug in *printf: outdigit precison bug
  86. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  87. are respected where they should be.
  88. c) Implement the obstack printf funcs for glibc compat.
  89. d) Implement glibc 'a' flag for scanf string conversions.
  90. e) Allow use of the older non-table-based ctype functions when using
  91. stub locale support. (smaller)
  92. 2) Additional str{f|p}time issues.
  93. ----------------------------------
  94. a) Spacing issue wrt strptime.
  95. b) Support locale specific alternate digits. (data is in place)
  96. c) Support locale era in year designations. (data is in place)
  97. d) Deal with mb format string issues in strftime.
  98. e) Implement wcsftime.
  99. 3) Other locale issues (my implementation):
  100. -------------------------------------------
  101. a) Do a little more clean up of ctype and wctype.
  102. b) Rework of the locale data organization to make using locales reasonable
  103. when staticly linking. (mmap)
  104. c) Rewrite the locale data generation tools to process the text specifications
  105. rather than relying on glibc.
  106. d) Adapt regex lib to use my collation data and add the necessary collating
  107. item tables to support SUSv3 required features.
  108. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  109. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  110. g) Implement strfrom.
  111. h) Shift-state codeset locale support?
  112. 4) Misc:
  113. --------
  114. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  115. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  116. of redundant data.