patches/glibc/2.3.6/290-gcc-4.3-include.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 06 22:22:02 2009 +0000 (2009-01-06)
changeset 1130 78681fe5cdd1
permissions -rw-r--r--
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)
yann@1004
     1
GCC trunk now has multiple internal headers directories, one
yann@1004
     2
containing the self-contained GCC-provided headers and one containing
yann@1004
     3
the <limits.h> (not self-contained but including libc's <limits.h> or
yann@1004
     4
a fixed version thereof) and the fixed headers; more such directories
yann@1004
     5
may be added in future.
yann@1004
     6
yann@1004
     7
When glibc uses -nostdinc, it needs to use -isystem options for all
yann@1004
     8
these internal directories.  This patch teaches it about the
yann@1004
     9
include-fixed directory (and is harmless with old GCC versions without
yann@1004
    10
that directory).
yann@1004
    11
yann@1004
    12
2007-03-18  Joseph Myers  <joseph@codesourcery.com>
yann@1004
    13
yann@1004
    14
	* configure.in: Also pass -isystem option for GCC's include-fixed
yann@1004
    15
	directory.
yann@1004
    16
	* configure: Regenerate.
yann@1004
    17
yann@1004
    18
yann@1004
    19
--- glibc-2.3.6.ori/configure.in	2008-10-22 14:55:58.000000000 +0200
yann@1004
    20
+++ glibc-2.3.6/configure.in	2008-10-22 14:56:15.000000000 +0200
yann@1004
    21
@@ -804,7 +804,7 @@
yann@1004
    22
 # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
yann@1004
    23
 if test -n "$sysheaders"; then
yann@1004
    24
   ccheaders=`$CC -print-file-name=include`
yann@1004
    25
-  SYSINCLUDES="-nostdinc -isystem $ccheaders \
yann@1004
    26
+  SYSINCLUDES="-nostdinc -isystem $ccheaders -isystem $ccheaders-fixed \
yann@1004
    27
 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
yann@1004
    28
 fi
yann@1004
    29
 AC_SUBST(SYSINCLUDES)
yann@1004
    30
--- glibc-2.3.6.ori/configure	2008-10-22 15:11:37.000000000 +0200
yann@1004
    31
+++ glibc-2.3.6/configure	2008-10-22 15:11:54.000000000 +0200
yann@1004
    32
@@ -4438,7 +4438,7 @@
yann@1004
    33
 # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
yann@1004
    34
 if test -n "$sysheaders"; then
yann@1004
    35
   ccheaders=`$CC -print-file-name=include`
yann@1004
    36
-  SYSINCLUDES="-nostdinc -isystem $ccheaders \
yann@1004
    37
+  SYSINCLUDES="-nostdinc -isystem $ccheaders -isystem $ccheaders-fixed \
yann@1004
    38
 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
yann@1004
    39
 fi
yann@1004
    40