DescriptionThe newlib code contains quite few functions that cannot be linked into a program because they have in turn unmet dependencies.
Cleaning those up is desirably because this allows us to start experimenting with PNaCl's shared infrastructure while working on the glibc port.
This CL describes the problematic modules in newlib by showing
how to edit various "Makefile.in"s.
This is NOT the right way of doing this, e.g. the real change would have to happen in Makefile.am, etc.
So this CL is also a request for proposals how to go about this.
Below is an overview of the problematic modules:
* libc/signal: should be completely excluded
* libc/posix: exec stuff and globbing should be excluded
* libc/reent: signal, file manipulation, etc should be excluded
* libc/search: hash table code (uses tmp files and page tables manip) should be excluded
* libc/stdio: file manipulation, tmp file stuff should be excluded
* libc/stdlib: system() should be excluded
* libm/math: this is a special case: wf_sqrt.c w_sqrt.c should be excluded as they are redefined/overloaded in libm/machine/pnacl/
BUG= http://code.google.com/p/nativeclient/issues/detail?id=1754
Patch Set 1 #Patch Set 2 : update #Patch Set 3 : update #Patch Set 4 : update #Patch Set 5 : update #
Total comments: 1
Patch Set 6 : cleanup #Patch Set 7 : patch #Patch Set 8 : update #Messages
Total messages: 15 (0 generated)
|