summaryrefslogtreecommitdiff
path: root/TODO
blob: 562e0ac4f63d90cefb0394645de7f048dd9c0a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
TODO list for the uClibc 1.0.0 release:

    *) mjn3's mysterious python select/poll self-test failure that he
	still needs to tell me about
    *) Perhaps implement glibc style frame-unwinding, so that gcc need
	not be built with --enable-sjlj-exceptions for exception handling to work.
    *) Implement some mechanism (perhaps encoded in the .so name)
	for flagging config options that break the ABI.  Options
	such as UCLIBC_HAS_SOFT_FLOAT, UCLIBC_HAS_THREADS, UCLIBC_HAS_LOCALE,
	and perhaps others (finalize list) produce a lib with a differing
	ABI.  Make it so apps cannot use an ABI mis-matched uClibc.
    *) Implement the float and long double versions of math funcs,
	using wrappers on top of the double versions (size / precision
	trade off).
    *) Delete current profiling code (because it is crap
	and only works when static + PIC)
    *) Fix profiling by adding missing stub functions per
	http://uclibc.org/lists/uclibc/2004-February/008167.html
	and used by, i.e. http://www710.univ-lyon1.fr/~yperret/fnccheck/
    *) Audit header files.  Remove prototypes for all functions that
	are not supported.  Especially needed for the libm headers.
    *) Audit header files.  When options are disabled, also disable
	them in the include files as well.
    *) Make all small objects (>~50 bytes) into either inlines or
	into a static library
    *) Add support for Linux 2.6.x NGPL pthreads, futexes, etc
    *) Documentation updates:
	    *) Update README document
	    *) Update INSTALL document
	    *) Update docs/Glibc_vs_uClibc_Differences.txt document
		and fully document all differences between the feature
		set of uClibc and glibc.
	    *) Update docs/uClibc_vs_SuSv3.txt document
	    *) Update docs/threads.txt document
	    *) Write a HOWTO document
	    *) Write man pages for ldd and ldconfig utility binaries
    *) Fix regex so it isn't so stinking big
    *) Fix glob so it isn't so stinking big
    *) run 'nm -D --size-sort -t d libuClibc-0.9.26.so' and work on the
	biggest things (i.e. stuff at the end of the list) to make
	them smaller.
    *) Cleanup / rewrite sysconf.c.  It should get some information
	from ldso (such as HZ).  Other stuff it currently just makes
	up, which is obviously wrong.  Also bits/uClibc_clk_tck.h
	needs to be updated at the same time to get proper HZ values.
    *) __data_start needs to be added to any crt0.S files that don't
	currently have it.  It is used by the boehm gc.  mjn3 has added
	it to i386 and mips, but some archs are still missing it.
    *)  It would nice if valgrind wouldn't complain about the atexit() malloc'd
	memory for destructors, which happens since the dynamic linker calls
	atexit(), which calls malloc() prior to valgrind starting, so valgrind
	complains because it didn't see that memory allocated.


-----------------------------------------------------------------------------
Manuel's todo:

  1) Little things that need fixing:
  ----------------------------------
  a) Fix bug in *printf: outdigit precison bug
  b) Check that gnu/bsd extension members tm_gmtoff and tm_zone in struct tm
     are respected where they should be.
  c) Implement the obstack printf funcs for glibc compat.
  d) Implement glibc 'a' flag for scanf string conversions.
  e) Allow use of the older non-table-based ctype functions when using
     stub locale support. (smaller)

  2) Additional str{f|p}time issues.
  ----------------------------------
  a) Spacing issue wrt strptime.
  b) Support locale specific alternate digits.  (data is in place)
  c) Support locale era in year designations.   (data is in place)
  d) Deal with mb format string issues in strftime.
  e) Implement wcsftime.

  3) Other locale issues (my implementation):
  -------------------------------------------
  a) Do a little more clean up of ctype and wctype.
  b) Rework of the locale data organization to make using locales reasonable
     when staticly linking.  (mmap)
  c) Rewrite the locale data generation tools to process the text specifications
     rather than relying on glibc.
  d) Adapt regex lib to use my collation data and add the necessary collating
     item tables to support SUSv3 required features.
  e) transliteration of unsupported wchars in 8-bit locales (like glibc).
  f) Support ISO/IEC 14652 draft locale extensions (LC_PAPER, etc).
  g) Implement strfrom.
  h) Shift-state codeset locale support?

  4) Misc:
  --------
  a) Port uClibc to other OSs (including elks), or even bare metal (libgloss).
  b) Write a space-efficient gettext substitute, to avoid storing large amounts
     of redundant data.