Update all samples to the latest set of options.
Update some samples to use newer features.
Add patches for the uClibc-20080801 snapshot to be able to build with gcc-4.3.
Add a patch against glibc-2.7 to allow building PPC with latest kernel headers.
Add a patch to gcc to use an alternate unwinding when built against uClibc (after a private explanation/request by Daniel Egger <daniel@eggers-club.de>)
/trunk/patches/glibc/2.7/230-powerpc-private_futex.patch | 15 15 0 0 +
/trunk/patches/uClibc/20080801/300-fix-asm.patch | 175 175 0 0 +++++++++
/trunk/patches/uClibc/20080801/100-ifaddrs.patch | 190 190 0 0 +++++++++
/trunk/patches/uClibc/20080801/200-mips-typeof.patch | 112 112 0 0 ++++++
/trunk/patches/gcc/4.3.1/330-unwind-for-uClibc.patch | 25 25 0 0 +
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 17 10 7 0 +
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 7 5 2 0 +
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 7 5 2 0 +
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 14 11 3 0 +
/trunk/samples/x86_64-unknown-linux-uclibc/uClibc-20080801.config | 232 232 0 0 ++++++++++++
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 34 21 13 0 +-
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 10 7 3 0 +
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 12 9 3 0 +
/trunk/samples/mips-unknown-linux-uclibc/uClibc-20080801.config | 249 249 0 0 ++++++++++++
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 38 23 15 0 +-
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 10 4 0 +
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 7 5 2 0 +
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 12 9 3 0 +
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 7 5 2 0 +
/trunk/samples/i586-geode-linux-uclibc/uClibc-20080801.config | 261 261 0 0 +++++++++++++
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 32 20 12 0 ++
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 12 9 3 0 +
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 7 5 2 0 +
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 7 5 2 0 +
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 16 10 6 0 +
25 files changed, 1428 insertions(+), 84 deletions(-)
1 Patch pointed to by Ryan ARNOLD on the libc-help ML.
2 See: http://sourceware.org/ml/libc-help/2008-06/msg00063.html
4 Forwarded to crosstool-NG by Ioannis E. VENETIS:
5 See: http://sourceware.org/ml/libc-help/2008-06/msg00063.html
7 GCC 4.3 changed the location of some of the header files. I don't
8 understand why you'd be getting these errors while building GCC since
11 With regard to GLIBC, Roland checked in some changes so that the GLIBC
12 build system could find the new locations of the GCC provided header
15 diff -durN glibc-2.6.orig/configure.in glibc-2.6/configure.in
16 --- glibc-2.6.orig/configure.in 2007-06-08 05:16:36.000000000 +0200
17 +++ glibc-2.6/configure.in 2008-06-24 18:38:46.000000000 +0200
19 # header directory and add that to the list. NOTE: Only does the right
20 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
21 if test -n "$sysheaders"; then
22 - ccheaders=`$CC -print-file-name=include`
23 - SYSINCLUDES="-nostdinc -isystem $ccheaders \
24 + SYSINCLUDES=-nostdinc
25 + for d in include include-fixed; do
26 + i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
27 + SYSINCLUDES="$SYSINCLUDES -isystem $i"
29 + SYSINCLUDES="$SYSINCLUDES \
30 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
31 if test -n "$CXX"; then
32 cxxversion=`$CXX -dumpversion 2>&AS_MESSAGE_LOG_FD` &&
33 diff -durN glibc-2.6.orig/configure glibc-2.6/configure
34 --- glibc-2.6.orig/configure 2008-06-24 18:35:34.000000000 +0200
35 +++ glibc-2.6/configure 2008-06-24 18:38:46.000000000 +0200
36 @@ -4562,8 +4562,12 @@
37 # header directory and add that to the list. NOTE: Only does the right
38 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
39 if test -n "$sysheaders"; then
40 - ccheaders=`$CC -print-file-name=include`
41 - SYSINCLUDES="-nostdinc -isystem $ccheaders \
42 + SYSINCLUDES=-nostdinc
43 + for d in include include-fixed; do
44 + i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" &&
45 + SYSINCLUDES="$SYSINCLUDES -isystem $i"
47 + SYSINCLUDES="$SYSINCLUDES \
48 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
49 if test -n "$CXX"; then
50 cxxversion=`$CXX -dumpversion 2>&5` &&