TODO
author Joachim Nilsson <jocke@vmlinux.org>
Fri Jan 01 12:17:39 2010 +0100 (2010-01-01)
changeset 1671 08a5129e6eb0
parent 1403 978ab821e1f8
child 1731 648fcf1f4568
permissions -rw-r--r--
debug/strace: fix strace 4.5.19 to properly build with latest Linux kernels

Here's a couple of patches to get strace 4.5.19 to configure and build
properly with the latest kernel headers. Not pretty, but hopefully
enough while we wait for 4.5.20 to be released.

With the current strace-4.5.19 patches I failed to get the configure
script running even on my host environment. Also, when cross building
the configure script needs to look for the proper system headers to be
able to properly set HAVE_LINUX_NETLINK_H. Otherwise you get:

[EXTRA] Building strace
[ERROR] /home/jocke/x-tools/targets/src/strace-4.5.19/net.c:976:
error: field 'nl' has incomplete type
[ERROR] make[2]: *** [net.o] Error 1
[ERROR] make[1]: *** [all] Error 2

The fix was simple, backport a change set from the git[1] tree and run
autoreconf to update the configure script.

[1] - http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
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