bug - newlib 1.16.0 - w/ reent-small

duane ellis duane-newlib@duaneellis.com
Sun Mar 2 09:56:00 GMT 2008


Hello,

There's a small set of problems with newlib - I believe centered around 
"--enable-newlib-reent-small".
{more detail about what I have ./configured is below}.

The following files end up with 'undefined' references to CHECK_STD_INT 
- which is really a macro in local.h

These three, easy - they are missing a '#include "local.h"' statement.
    newlib/libc/stdio/dprintf.c
    newlib/libc/stdio/vdiprintf.c
    newlib/libc/stdio/vdprintf.c

These two are a little tougher situation,
As either their instance of 'local.h' needs fixing, or -
they need access to the local.h over in the above directory.

    newlib/libc/stdlib/mallstatsr.c
    newlib/libc/stdlib/mstats.c

I'm not familiar enough with that portion to go mucking about, and 
creating a patch.

-Duane.

=====
My -full-configure- that I am using is this:

The full conif configured as follows:

configured by ./configure, generated by GNU Autoconf 2.59,
  with options \"'--prefix=/home/duane/lostarm/install' 
'--target=arm-elf' '--disable-newlib-io-pos-args' 
'--disable-newlib-io-c99-formats' '--enable-newlib-io-long-long' 
'--enable-newlib-io-long-double' '--disable-newlib-mb' 
'--disable-newlib-iconv-external-ccs' '--disable-newlib-atexit-alloc' 
'--enable-newlib-reent-small' '--enable-multilib' 
'--enable-target-optspace' '--disable-malloc-debugging' 
'--enable-newlib-multithread' '--disable-newlib-iconv' 
'--enable-newlib-io-float' '--disable-newlib-supplied-syscalls' 
'--disable-dependency-tracking' '--disable-maintainer-mode' 
'--disable-shared' '--enable-static' '--enable-fast-install' 
'--disable-libtool-lock' 'target_alias=arm-elf'\"






More information about the Newlib mailing list