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
     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