TODO
author Zoltan Devai <zdevai@gmail.com>
Wed Oct 28 12:03:38 2009 +0100 (2009-10-28)
branch1.5
changeset 1645 01d01185eb18
parent 1403 978ab821e1f8
child 1731 648fcf1f4568
permissions -rw-r--r--
libc/uClibc: fix building on system with recent glibc

While trying to build a toolchain with ct-ng 1.5.0,
arm-unknown-linux-uclibcgnueabi target,
I get the following error:

[INFO ] Installing C library headers
[EXTRA] Copying sources to build dir
[EXTRA] Applying configuration
[EXTRA] Building headers
[EXTRA] Installing headers
[ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR] make[2]: *** [extra/scripts/unifdef] Error 1
[ERROR] Build failed in step 'Installing C library headers'

The following patch solves the problem.
(It's a backport of this uClibc commit:
http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
)

[--SNIP from another mail--]
AFAIK this is a problem since glibc 2.10.
(transplanted from 1ba79f2126df8bd89120899a58f2d0bcc2e9c771)
     1 This is a somewhat ordered TODO list:
     2 
     3 Recuring tasks:
     4 
     5 - update versions for every tools...
     6 
     7 
     8 Non-recurring tasks:
     9 
    10 - build our own versions for (minimum versions):
    11     m4          1.4.12
    12     autoconf    2.63
    13     automake    1.10.2
    14     libtool     2.2.4
    15 
    16 - uClinux
    17 
    18 - add newlib (for enhanced bare metal)
    19   - may need heavy tweaks and bends in gcc.sh
    20   - try to make it generic, will help for uClibc++
    21   - check whether it supports running under uClinux
    22 
    23 - uClibc++
    24   - see newlib, above
    25 
    26 - Cygwin target (needs newlib)
    27   - so we can complie for Windows/Cygwin
    28 
    29 - mingw32 target
    30   - so we can compile for Windows/Win32
    31 
    32 - mingw32 host
    33   - so we can run natively under Windows/Win32 (without requiring Cygwin)
    34 
    35 - eglibc config file
    36   - see: http://sourceware.org/ml/crossgcc/2009-05/msg00022.html
    37 
    38 - multilib