TODO 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. TODO list for the uClibc 0.9.27 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. *) Use buildroot to build for x86, powerpc, arm, and mips.
  9. *) Test each architecture with the latest LTP testsuite, and post
  10. LTP testsuite results for each architecture on uclibc.org.
  11. *) Prepare and release a properly versioned buildroot release
  12. to coincide with the uClibc 0.9.27 release.
  13. TODO list for the uClibc 1.0.0 release:
  14. -------------------------------------------------
  15. *) Hide uClibc internal symbols from our exported namespace.
  16. *) Explicity add some sortof CONFIG_LINUX_2_2_ABI, CONFIG_LINUX_2_4_ABI
  17. and CONFIG_LINUX_2_6_ABI type options, rather than having the abi
  18. depend on the selected set of kernel headers. This will likely also
  19. require that we provide a set of kernel headers (probably a derivitive
  20. of Mazur's linux-libc-headers) that can supplies the 2.2, 2.4, and 2.6
  21. kernel abi.
  22. *) Documentation updates:
  23. *) Write a uClibc HOWTO document
  24. *) Update README document
  25. *) Update INSTALL document
  26. *) Update docs/Glibc_vs_uClibc_Differences.txt document
  27. and fully document all differences between the feature
  28. set of uClibc and glibc.
  29. *) Update docs/uClibc_vs_SuSv3.txt document
  30. *) Update docs/threads.txt document
  31. *) Write man pages for ldd and ldconfig utility binaries
  32. *) Implement some mechanism (perhaps encoded in the .so name,
  33. perhaps using an abi tag magically embedded into each object)
  34. for flagging config options that break the ABI. Options
  35. such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
  36. and perhaps others (finalize list) produce a lib with a differing
  37. ABI. Make it so apps cannot use an ABI mis-matched uClibc.
  38. This is most easily done using symbol versioning...
  39. *) Perhaps implement glibc style frame-unwinding, so that gcc need
  40. not be built with --enable-sjlj-exceptions for C++ exception handling
  41. to work.
  42. *) Implement the float and long double versions of math funcs
  43. using wrappers on top of the double versions (size / precision
  44. trade off where size clearly wins).
  45. *) Make all small objects (>~50 bytes) into either inlines or
  46. into a static library
  47. *) Cleanup / rewrite sysconf.c. It should get some information
  48. from ldso (such as HZ). Other stuff it currently just makes
  49. up, which is obviously wrong. Also bits/uClibc_clk_tck.h
  50. needs to be updated at the same time to get proper HZ values.
  51. *) It would nice if valgrind wouldn't complain about the atexit() malloc'd
  52. memory for destructors, which happens since the dynamic linker calls
  53. atexit(), which calls malloc() prior to valgrind starting, so valgrind
  54. complains because it didn't see that memory allocated.
  55. *) poll emulation using select() for old 2.0.x uClinux kernels
  56. in libc/sysdeps/linux/common/poll.c fails some python self-tests.
  57. Of course, modern systems using the actuall poll() syscall work fine.
  58. *) Rework the build system Makefile to eliminate recursive make.
  59. *) Build both pic and non-pic objects where appropriate, so that
  60. static libs need not pay the pic size penalty.
  61. *) Cleanup/scrub all the Makefile copyright junk
  62. *) Debugging pthreads with gdb does not work at all on mips unless
  63. the application is staticly linked.
  64. *) Fix dlopen, for both static and dynamic cases, and make it
  65. fully comply with SuSv3
  66. *) From the the ELF spec "...All shared object initializations happen
  67. before the executable file gains control. ... Before the initialization
  68. code for any object A is called, the initialization code for any other
  69. objects that object A depends on are called. For these purposes, an object
  70. A depends on another object B, if B appears in Ads list of needed objects
  71. (recorded in the DT_NEEDED entries of the dynamic structure). The order of
  72. initialization for circular dependencies is undefined." uClibc's shared
  73. lib loader should be fixed to run ctors in the specified order.
  74. TODO list for AFTER the uClibc 1.0.0 release:
  75. -------------------------------------------------
  76. *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
  77. *) Add support for Linux 2.6.x fast vsyscalls
  78. *) Enable pristine source tree builds
  79. *) Fix regex so it isn't so stinking big
  80. *) Fix glob so it isn't so stinking big
  81. *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
  82. biggest things (i.e. stuff at the end of the list) to make
  83. them smaller.
  84. <more wishlist items here>
  85. -----------------------------------------------------------------------------
  86. Manuel's todo:
  87. 1) Little things that need fixing:
  88. ----------------------------------
  89. a) Fix bug in *printf: outdigit precison bug
  90. b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
  91. are respected where they should be.
  92. c) Implement the obstack printf funcs for glibc compat.
  93. d) Implement glibc 'a' flag for scanf string conversions.
  94. e) Allow use of the older non-table-based ctype functions when using
  95. stub locale support. (smaller)
  96. 2) Additional str{f|p}time issues.
  97. ----------------------------------
  98. a) Spacing issue wrt strptime.
  99. b) Support locale specific alternate digits. (data is in place)
  100. c) Support locale era in year designations. (data is in place)
  101. d) Deal with mb format string issues in strftime.
  102. e) Implement wcsftime.
  103. 3) Other locale issues (my implementation):
  104. -------------------------------------------
  105. a) Do a little more clean up of ctype and wctype.
  106. b) Rework of the locale data organization to make using locales reasonable
  107. when staticly linking. (mmap)
  108. c) Rewrite the locale data generation tools to process the text specifications
  109. rather than relying on glibc.
  110. d) Adapt regex lib to use my collation data and add the necessary collating
  111. item tables to support SUSv3 required features.
  112. e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  113. f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  114. g) Implement strfrom.
  115. h) Shift-state codeset locale support?
  116. 4) Misc:
  117. --------
  118. a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  119. b) Write a space-efficient gettext substitute, to avoid storing large amounts
  120. of redundant data.