OSDN Git Service

Update todo list
[uclinux-h8/uclibc-ng.git] / TODO
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
14
15 TODO list for the uClibc 1.0.0 release:
16 -------------------------------------------------
17
18     *) Documentation updates:
19             *) Write a uClibc HOWTO document
20             *) Update README document
21             *) Update INSTALL document
22             *) Update docs/Glibc_vs_uClibc_Differences.txt document
23                 and fully document all differences between the feature
24                 set of uClibc and glibc.
25             *) Update docs/uClibc_vs_SuSv3.txt document
26             *) Update docs/threads.txt document
27             *) Write man pages for ldd and ldconfig utility binaries
28     *) Perhaps implement glibc style frame-unwinding, so that gcc need
29         not be built with --enable-sjlj-exceptions for C++ exception handling
30         to work.
31     *) Implement the float and long double versions of math funcs
32         using wrappers on top of the double versions (size / precision
33         trade off where size clearly wins).
34     *) Delete current profiling code (because it is complete crap
35         and only works properly when static + PIC, and because it is
36         quite intrusive, and because there are better ways to profile)
37     *) Fix profiling by adding missing stub functions per
38         http://uclibc.org/lists/uclibc/2004-February/008167.html
39         and used by, i.e. http://www710.univ-lyon1.fr/~yperret/fnccheck/
40     *) Audit header files.  Remove prototypes for all functions that
41         are not supported -- especially needed for the libm headers.
42     *) Audit header files.  When options are disabled, also disable
43         them in the include files as well by checking for the proper
44         define from include/bits/uClibc_config.h (pulled in from features.h)
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     *) From the the ELF spec "...All shared object initializations happen
56         before the executable file gains control.  ...  Before the initialization
57         code for any object A is called, the initialization code for any other
58         objects that object A depends on are called.  For these purposes, an object
59         A depends on another object B, if B appears in Ads list of needed objects
60         (recorded in the DT_NEEDED entries of the dynamic structure). The order of
61         initialization for circular dependencies is undefined."  uClibc's shared
62         lib loader should be fixed to run ctors in the specified order.
63     *) poll emulation using select() for old 2.0.x uClinux kernels
64         in libc/sysdeps/linux/common/poll.c fails some python self-tests.
65         Of course, modern systems using the actuall poll() syscall work fine.
66     *) Rework the build system Makefile to eliminate recursive make.
67     *) Build both pic and non-pic objects where appropriate, so that
68         static libs need not pay the pic size penalty.
69     *) Cleanup/scrub all the Makefile copyright junk
70     *) Debugging pthreads with gdb does not work at all on mips
71     *) Debugging pthreads with gdb initially appears to work, but
72         fails to function correctly on arm
73
74
75 TODO list for AFTER the uClibc 1.0.0 release:
76 -------------------------------------------------
77     *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
78     *) Add support for Linux 2.6.x fast vsyscalls
79     *) Enable pristine source tree builds
80     *) Fix regex so it isn't so stinking big
81     *) Fix glob so it isn't so stinking big
82     *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
83         biggest things (i.e. stuff at the end of the list) to make
84         them smaller.
85     <more wishlist items here>
86
87
88
89
90 -----------------------------------------------------------------------------
91 Manuel's todo:
92
93   1) Little things that need fixing:
94   ----------------------------------
95   a) Fix bug in *printf: outdigit precison bug
96   b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
97      are respected where they should be.
98   c) Implement the obstack printf funcs for glibc compat.
99   d) Implement glibc 'a' flag for scanf string conversions.
100   e) Allow use of the older non-table-based ctype functions when using
101      stub locale support. (smaller)
102
103   2) Additional str{f|p}time issues.
104   ----------------------------------
105   a) Spacing issue wrt strptime.
106   b) Support locale specific alternate digits.  (data is in place)
107   c) Support locale era in year designations.   (data is in place)
108   d) Deal with mb format string issues in strftime.
109   e) Implement wcsftime.
110
111   3) Other locale issues (my implementation):
112   -------------------------------------------
113   a) Do a little more clean up of ctype and wctype.
114   b) Rework of the locale data organization to make using locales reasonable
115      when staticly linking.  (mmap)
116   c) Rewrite the locale data generation tools to process the text specifications
117      rather than relying on glibc.
118   d) Adapt regex lib to use my collation data and add the necessary collating
119      item tables to support SUSv3 required features.
120   e) transliteration of unsupported wchars in 8-bit locales (like glibc).
121   f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
122   g) Implement strfrom.
123   h) Shift-state codeset locale support?
124
125   4) Misc:
126   --------
127   a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
128   b) Write a space-efficient gettext substitute, to avoid storing large amounts
129      of redundant data.
130