OSDN Git Service

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