OSDN Git Service

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