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