OSDN Git Service

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