OSDN Git Service

More todo list updates
[uclinux-h8/uClibc.git] / TODO
1 TODO list for the uClibc 1.0.0 release:
2 -------------------------------------------------
3
4     *) Documentation updates:
5             *) Write a uClibc HOWTO document
6             *) Update README document
7             *) Update INSTALL document
8             *) Update docs/Glibc_vs_uClibc_Differences.txt document
9                 and fully document all differences between the feature
10                 set of uClibc and glibc.
11             *) Update docs/uClibc_vs_SuSv3.txt document
12             *) Update docs/threads.txt document
13             *) Write man pages for ldd and ldconfig utility binaries
14     *) Perhaps implement glibc style frame-unwinding, so that gcc need
15         not be built with --enable-sjlj-exceptions for C++ exception handling
16         to work.
17     *) Implement some mechanism (perhaps encoded in the .so name,
18         perhaps using an abi tag magically embedded into each object)
19         for flagging config options that break the ABI.  Options
20         such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
21         and perhaps others (finalize list) produce a lib with a differing
22         ABI.  Make it so apps cannot use an ABI mis-matched uClibc.
23     *) Implement the float and long double versions of math funcs
24         using wrappers on top of the double versions (size / precision
25         trade off where size clearly wins).
26     *) Delete current profiling code (because it is complete crap
27         and only works properly when static + PIC, and because it is
28         quite intrusive, and because there are better ways to profile)
29     *) Fix profiling by adding missing stub functions per
30         http://uclibc.org/lists/uclibc/2004-February/008167.html
31         and used by, i.e. http://www710.univ-lyon1.fr/~yperret/fnccheck/
32     *) Audit header files.  Remove prototypes for all functions that
33         are not supported -- especially needed for the libm headers.
34     *) Audit header files.  When options are disabled, also disable
35         them in the include files as well by checking for the proper
36         define from include/bits/uClibc_config.h (pulled in from features.h)
37     *) Make all small objects (>~50 bytes) into either inlines or
38         into a static library
39     *) Cleanup / rewrite sysconf.c.  It should get some information
40         from ldso (such as HZ).  Other stuff it currently just makes
41         up, which is obviously wrong.  Also bits/uClibc_clk_tck.h
42         needs to be updated at the same time to get proper HZ values.
43     *) __data_start needs to be added to any crt0.S files that don't
44         currently have it.  It is used by the boehm gc, amoung other
45         things.  mjn3 has added it to i386 and mips, but some archs
46         are still missing it.
47     *)  It would nice if valgrind wouldn't complain about the atexit() malloc'd
48         memory for destructors, which happens since the dynamic linker calls
49         atexit(), which calls malloc() prior to valgrind starting, so valgrind
50         complains because it didn't see that memory allocated.
51     *) From the the ELF spec "...All shared object initializations happen
52         before the executable file gains control.  ...  Before the initialization
53         code for any object A is called, the initialization code for any other
54         objects that object A depends on are called.  For these purposes, an object
55         A depends on another object B, if B appears in Ads list of needed objects
56         (recorded in the DT_NEEDED entries of the dynamic structure). The order of
57         initialization for circular dependencies is undefined."  uClibc's shared
58         lib loader should be fixed to run ctors in the specified order.
59     *) poll emulation using select() for old 2.0.x uClinux kernels
60         in libc/sysdeps/linux/common/poll.c fails some python self-tests.
61         Of course, modern systems using the actuall poll() syscall work fine.
62     *) Rework the build system Makefile to eliminate recursive make.
63     *) Build both pic and non-pic objects where appropriate, so that
64         static libs need not pay the pic size penalty.
65
66
67 TODO list for AFTER the uClibc 1.0.0 release:
68 -------------------------------------------------
69     *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
70     *) Add support for Linux 2.6.x fast vsyscalls
71     *) Enable pristine source tree builds
72     *) Fix regex so it isn't so stinking big
73     *) Fix glob so it isn't so stinking big
74     *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
75         biggest things (i.e. stuff at the end of the list) to make
76         them smaller.
77     <more wishlist items here>
78
79
80
81
82 -----------------------------------------------------------------------------
83 Manuel's todo:
84
85   1) Little things that need fixing:
86   ----------------------------------
87   a) Fix bug in *printf: outdigit precison bug
88   b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
89      are respected where they should be.
90   c) Implement the obstack printf funcs for glibc compat.
91   d) Implement glibc 'a' flag for scanf string conversions.
92   e) Allow use of the older non-table-based ctype functions when using
93      stub locale support. (smaller)
94
95   2) Additional str{f|p}time issues.
96   ----------------------------------
97   a) Spacing issue wrt strptime.
98   b) Support locale specific alternate digits.  (data is in place)
99   c) Support locale era in year designations.   (data is in place)
100   d) Deal with mb format string issues in strftime.
101   e) Implement wcsftime.
102
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
117   4) Misc:
118   --------
119   a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
120   b) Write a space-efficient gettext substitute, to avoid storing large amounts
121      of redundant data.
122