OSDN Git Service

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