OSDN Git Service

Update TODO list a bit
[uclinux-h8/uClibc.git] / TODO
1 TODO list for the uClibc 0.9.27 release:
2 -------------------------------------------------
3     *) Fix syscall() on mips
4     *) Fix use of __secure in __uClibc_init() for so that we prevent
5         starting staticly linked SUID binaries where the standard file
6         descriptors are not opened.  For dynamically linked binaries,
7         ldso does this for us.
8     *) Audit header files.  Remove prototypes for all functions that
9         are not supported -- especially needed for the libm headers.
10     *) Audit header files.  When options are disabled, also disable
11         them in the include files as well by checking for the proper
12         define from include/bits/uClibc_config.h (pulled in from features.h)
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     *) Implement some mechanism (perhaps encoded in the .so name,
29         perhaps using an abi tag magically embedded into each object)
30         for flagging config options that break the ABI.  Options
31         such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
32         and perhaps others (finalize list) produce a lib with a differing
33         ABI.  Make it so apps cannot use an ABI mis-matched uClibc.
34         This is most easily done using symbol versioning...
35     *) Perhaps implement glibc style frame-unwinding, so that gcc need
36         not be built with --enable-sjlj-exceptions for C++ exception handling
37         to work.
38     *) Implement the float and long double versions of math funcs
39         using wrappers on top of the double versions (size / precision
40         trade off where size clearly wins).
41     *) Make all small objects (>~50 bytes) into either inlines or
42         into a static library
43     *) Cleanup / rewrite sysconf.c.  It should get some information
44         from ldso (such as HZ).  Other stuff it currently just makes
45         up, which is obviously wrong.  Also bits/uClibc_clk_tck.h
46         needs to be updated at the same time to get proper HZ values.
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     *) poll emulation using select() for old 2.0.x uClinux kernels
52         in libc/sysdeps/linux/common/poll.c fails some python self-tests.
53         Of course, modern systems using the actuall poll() syscall work fine.
54     *) Rework the build system Makefile to eliminate recursive make.
55     *) Build both pic and non-pic objects where appropriate, so that
56         static libs need not pay the pic size penalty.
57     *) Cleanup/scrub all the Makefile copyright junk
58     *) Debugging pthreads with gdb does not work at all on mips unless
59         the application is staticly linked.
60     *) Fix dlopen, for both static and dynamic cases, and make it
61         fully comply with SuSv3
62
63
64 TODO list for AFTER the uClibc 1.0.0 release:
65 -------------------------------------------------
66     *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
67     *) Add support for Linux 2.6.x fast vsyscalls
68     *) Enable pristine source tree builds
69     *) Fix regex so it isn't so stinking big
70     *) Fix glob so it isn't so stinking big
71     *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
72         biggest things (i.e. stuff at the end of the list) to make
73         them smaller.
74     <more wishlist items here>
75
76
77
78
79 -----------------------------------------------------------------------------
80 Manuel's todo:
81
82   1) Little things that need fixing:
83   ----------------------------------
84   a) Fix bug in *printf: outdigit precison bug
85   b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
86      are respected where they should be.
87   c) Implement the obstack printf funcs for glibc compat.
88   d) Implement glibc 'a' flag for scanf string conversions.
89   e) Allow use of the older non-table-based ctype functions when using
90      stub locale support. (smaller)
91
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
100   3) Other locale issues (my implementation):
101   -------------------------------------------
102   a) Do a little more clean up of ctype and wctype.
103   b) Rework of the locale data organization to make using locales reasonable
104      when staticly linking.  (mmap)
105   c) Rewrite the locale data generation tools to process the text specifications
106      rather than relying on glibc.
107   d) Adapt regex lib to use my collation data and add the necessary collating
108      item tables to support SUSv3 required features.
109   e) transliteration of unsupported wchars in 8-bit locales (like glibc).
110   f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
111   g) Implement strfrom.
112   h) Shift-state codeset locale support?
113
114   4) Misc:
115   --------
116   a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
117   b) Write a space-efficient gettext substitute, to avoid storing large amounts
118      of redundant data.
119