README
author Joachim Nilsson <jocke@vmlinux.org>
Fri Jan 01 12:17:39 2010 +0100 (2010-01-01)
changeset 1671 08a5129e6eb0
parent 1554 3b8df55987ae
child 2091 7975604aacbd
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 the README for crosstool-NG
     2 
     3 TABLE OF CONTENT /
     4 ________________/
     5 
     6   - GETTING STARTED
     7   - CREDITS
     8   - KNOWN ISSUES
     9 
    10 
    11 GETTING STARTED /
    12 _______________/
    13 
    14 To get you started, just enter:
    15   ./configure --help
    16 
    17 You can find a (terse and WIP) documentation in docs/overview.txt.
    18 Here's a summary of what you'll find in there:
    19   Introduction
    20   History
    21   Installing crosstool-NG
    22   Configuring crosstool-NG
    23   Running crosstool-NG
    24   Using the toolchain
    25   Toolchain types
    26   Contributing
    27   Internals
    28 
    29 You can also point your browser at:
    30   http://ymorin.is-a-geek.org/projects/crosstool
    31 
    32 
    33 CREDITS /
    34 _______/
    35 
    36 The people that helped are listed in docs/CREDITS. Many thanks to them! :-)
    37 
    38 
    39 KNOWN ISSUES /
    40 ____________/
    41 
    42 The list of known issues is listed in docs/known-issues.txt.
    43 
    44 Aloha!