OSDN Git Service

Update the todo list for 0.9.28
[uclinux-h8/uClibc.git] / TODO
1 TODO list for the uClibc 0.9.28 release:
2 -------------------------------------------------
3     *) Audit header files.  Remove prototypes for all functions that
4         are not supported -- especially needed for the libm headers.
5     *) Audit header files.  When options are disabled, also disable
6         them in the include files as well by checking for the proper
7         define from include/bits/uClibc_config.h (pulled in from features.h)
8     *) Test cris, i386, mips, mipsel, sh, x86_64, arm, armeb, and powerpc
9         with the latest LTP testsuite.  Fix any regressions and post LTP
10         testsuite results for each architecture on uclibc.org.
11     *)  Fix it so valgrind 2.4.0 no longer complains about the memory mmaped
12         and used by ldso.  Currently it whines on basically about virtually
13         every function call when doing default lazy binding, which makes its
14         output virtually useless due to the excess noise.
15     *)  Change all references to the older "Library GPL" to the "Lesser GPL"
16         and update COPYING.LIB to LGPL version 2.1.
17
18
19
20
21 TODO list for the uClibc 1.0.0 release:
22 -------------------------------------------------
23
24     *) Hide uClibc internal symbols from our exported namespace.
25     *) Explicity add some sortof CONFIG_LINUX_2_2_ABI, CONFIG_LINUX_2_4_ABI
26         and CONFIG_LINUX_2_6_ABI type options, rather than having the abi
27         depend on the selected set of kernel headers.  This will likely also
28         require that we provide a set of kernel headers (probably a derivitive
29         of Mazur's linux-libc-headers) that can supplies the 2.2, 2.4, and 2.6
30         kernel abi.
31     *) Documentation updates:
32             *) Write a uClibc HOWTO document
33             *) Update README document
34             *) Update INSTALL document
35             *) Update docs/Glibc_vs_uClibc_Differences.txt document
36                 and fully document all differences between the feature
37                 set of uClibc and glibc.
38             *) Update docs/uClibc_vs_SuSv3.txt document
39             *) Update docs/threads.txt document
40             *) Write man pages for ldd and ldconfig utility binaries
41     *) Implement some mechanism (perhaps encoded in the .so name,
42         perhaps using an abi tag magically embedded into each object)
43         for flagging config options that break the ABI.  Options
44         such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
45         and perhaps others (finalize list) produce a lib with a differing
46         ABI.  Make it so apps cannot use an ABI mis-matched uClibc.
47         This is most easily done using symbol versioning...
48     *) Implement the long double versions of math funcs
49         using wrappers on top of the double versions (size / precision
50         trade off where size clearly wins).
51     *) Make all small objects (>~50 bytes) into either inlines or
52         into a static library
53     *) Cleanup / rewrite sysconf.c.  It should get some information
54         from ldso (such as HZ).  Other stuff it currently just makes
55         up, which is obviously wrong.  Also bits/uClibc_clk_tck.h
56         needs to be updated at the same time to get proper HZ values.
57     *) poll emulation using select() for old 2.0.x uClinux kernels
58         in libc/sysdeps/linux/common/poll.c fails some python self-tests.
59         Of course, modern systems using the actuall poll() syscall work fine.
60     *) Rework the build system Makefile to eliminate recursive make.
61     *) Build both pic and non-pic objects where appropriate, so that
62         static libs need not pay the pic size penalty.
63     *) Cleanup/scrub all the Makefile copyright junk
64     *) Fix dlopen, for both static and dynamic cases, and make it
65         fully comply with SuSv3
66     *) From the the ELF spec "...All shared object initializations happen
67         before the executable file gains control.  ...  Before the initialization
68         code for any object A is called, the initialization code for any other
69         objects that object A depends on are called.  For these purposes, an object
70         A depends on another object B, if B appears in Ads list of needed objects
71         (recorded in the DT_NEEDED entries of the dynamic structure). The order of
72         initialization for circular dependencies is undefined."  uClibc's shared
73         lib loader should be fixed to run ctors in the specified order.
74
75
76 TODO list for AFTER the uClibc 1.0.0 release:
77 -------------------------------------------------
78     *) Add support for Linux 2.6.x NPTL pthreads, futexes, etc
79     *) Add support for Linux 2.6.x fast vsyscalls
80     *) Enable pristine source tree builds
81     *) Fix regex so it isn't so stinking big
82     *) Fix glob so it isn't so stinking big
83     *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
84         biggest things (i.e. stuff at the end of the list) to make
85         them smaller.
86     <more wishlist items here>
87
88
89 Arch specific TODO:
90 -------------------------------------------------
91   alpha:
92     _init/_fini hangs signal-ed (assert test)
93     output from cloned children seems funky (unistd/clone test)
94   m68k:
95     need to verify libc again
96     ldso needs to be updated since it's totally broken atm
97   sparc:
98     need a sigaction.c since common one doesnt work (signal tests)
99     ldso needs to be updated since it's totally broken atm
100   x86_64:
101     ldso needs to be finished off (elfinterp/resolve)
102
103
104
105
106 -----------------------------------------------------------------------------
107 Manuel's todo:
108
109   1) Little things that need fixing:
110   ----------------------------------
111   a) Fix bug in *printf: outdigit precison bug
112   b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
113      are respected where they should be.
114   c) Implement the obstack printf funcs for glibc compat.
115   d) Implement glibc 'a' flag for scanf string conversions.
116   e) Allow use of the older non-table-based ctype functions when using
117      stub locale support. (smaller)
118
119   2) Additional str{f|p}time issues.
120   ----------------------------------
121   a) Spacing issue wrt strptime.
122   b) Support locale specific alternate digits.  (data is in place)
123   c) Support locale era in year designations.   (data is in place)
124   d) Deal with mb format string issues in strftime.
125   e) Implement wcsftime.
126
127   3) Other locale issues (my implementation):
128   -------------------------------------------
129   a) Do a little more clean up of ctype and wctype.
130   b) Rework of the locale data organization to make using locales reasonable
131      when staticly linking.  (mmap)
132   c) Rewrite the locale data generation tools to process the text specifications
133      rather than relying on glibc.
134   d) Adapt regex lib to use my collation data and add the necessary collating
135      item tables to support SUSv3 required features.
136   e) transliteration of unsupported wchars in 8-bit locales (like glibc).
137   f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
138   g) Implement strfrom.
139   h) Shift-state codeset locale support?
140
141   4) Misc:
142   --------
143   a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
144   b) Write a space-efficient gettext substitute, to avoid storing large amounts
145      of redundant data.
146