Changeset 92605fa in clfs-sysroot for patches


Ignore:
Timestamp:
Jul 9, 2009, 7:25:30 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
b797f97
Parents:
69b2286
Message:

Updated GCC to 4.4.0.

Location:
patches
Files:
1 added
1 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • patches/gcc-4.4.0-posix-1.patch

    r69b2286 r92605fa  
    11Submitted By: Jim Gifford (jim at cross-lfs dot org)
    2 Date: 01-25-2009
    3 Initial Package Version: 4.3.3
     2Date: 04-21-2009
     3Initial Package Version: 4.4.0
    44Origin: Jim Gifford
    55        Rediffed against 4.1.0 by Chris Staub
     
    88        Rediffed against 4.3.0 by Joe Ciccone
    99        Rediffed against 4.3.3 by Jim Gifford
     10        Rediffed against 4.4.0 by Jim Gifford
    1011Upstream Status: On Hold
    1112Description: Makes GCC Posix Compliant
    1213
    13 diff -Naur gcc-4.3.3.orig/contrib/patch_tester.sh gcc-4.3.3/contrib/patch_tester.sh
    14 --- gcc-4.3.3.orig/contrib/patch_tester.sh      2007-12-26 13:01:38.000000000 -0800
    15 +++ gcc-4.3.3/contrib/patch_tester.sh   2009-01-25 00:53:32.447636261 -0800
    16 @@ -287,7 +287,7 @@
    17  
    18      if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap &> $1/bootstrap ; then
    19         report "bootstrap failed with last lines:"
     14diff -Naur gcc-4.4.0.orig/contrib/patch_tester.sh gcc-4.4.0/contrib/patch_tester.sh
     15--- gcc-4.4.0.orig/contrib/patch_tester.sh      2008-05-08 08:14:47.000000000 -0700
     16+++ gcc-4.4.0/contrib/patch_tester.sh   2009-04-21 09:56:06.009963403 -0700
     17@@ -324,7 +324,7 @@
     18     MAKE_ARGS="$default_make $MAKE_ARGS"
     19     if ! eval make $dashj $MAKE_ARGS &> $1/bootstrap ; then
     20        report "bootstrap with `basename $1` version failed with last lines:"
    2021-       tail -30 $1/bootstrap > $1/last_bootstrap
    2122+       tail -n 30 $1/bootstrap > $1/last_bootstrap
     
    2324        report "grep --context=20 Error bootstrap:"
    2425        grep --context=20 Error $1/bootstrap > $1/bootstrap_error
    25 @@ -420,7 +420,7 @@
     26@@ -464,7 +464,7 @@
    2627 # After selfexec, $TESTING is already set up. 
    2728 if [ -d $TESTING ]; then
     
    3233     if [ -f $PATCH ]; then
    3334        bootntest_patched && bootntest_pristine && compare_passes
    34 @@ -429,7 +429,7 @@
    35  fi
    36  
     35@@ -474,7 +474,7 @@
     36 
     37 firstpatch=true
    3738 while true; do
    3839-    PATCH=`ls -rt -1 $PATCHES | head -1`
    3940+    PATCH=`ls -rt -1 $PATCHES | head -n 1`
    4041     if [ x$PATCH = x ]; then
    41         sleep ${standby}m
    42      else
    43 diff -Naur gcc-4.3.3.orig/contrib/test_summary gcc-4.3.3/contrib/test_summary
    44 --- gcc-4.3.3.orig/contrib/test_summary 2007-02-09 16:30:46.000000000 -0800
    45 +++ gcc-4.3.3/contrib/test_summary      2009-01-25 00:53:32.447636261 -0800
     42        if [ $stop = true ]; then
     43            if [ $firstpatch = true ]; then
     44diff -Naur gcc-4.4.0.orig/contrib/test_summary gcc-4.4.0/contrib/test_summary
     45--- gcc-4.4.0.orig/contrib/test_summary 2007-02-09 16:30:46.000000000 -0800
     46+++ gcc-4.4.0/contrib/test_summary      2009-04-21 09:55:36.820093030 -0700
    4647@@ -107,7 +107,7 @@
    4748     srcdir = configflags;
     
    5354 
    5455     sub(/^[^ ]*\/configure */, " ", configflags);
    55 diff -Naur gcc-4.3.3.orig/gcc/configure gcc-4.3.3/gcc/configure
    56 --- gcc-4.3.3.orig/gcc/configure        2008-08-01 02:51:03.000000000 -0700
    57 +++ gcc-4.3.3/gcc/configure     2009-01-25 00:53:32.455839362 -0800
    58 @@ -20245,7 +20245,7 @@
     56diff -Naur gcc-4.4.0.orig/gcc/configure gcc-4.4.0/gcc/configure
     57--- gcc-4.4.0.orig/gcc/configure        2009-03-24 10:46:03.000000000 -0700
     58+++ gcc-4.4.0/gcc/configure     2009-04-21 09:55:36.828093310 -0700
     59@@ -21750,7 +21750,7 @@
    5960   # Therefore, use diff -b for the comparisons.
    6061   if test x$gcc_cv_objdump != x \
     
    6566     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    6667   then
    67 diff -Naur gcc-4.3.3.orig/gcc/configure.ac gcc-4.3.3/gcc/configure.ac
    68 --- gcc-4.3.3.orig/gcc/configure.ac     2008-08-01 02:51:03.000000000 -0700
    69 +++ gcc-4.3.3/gcc/configure.ac  2009-01-25 00:53:32.455839362 -0800
    70 @@ -2241,7 +2241,7 @@
     68diff -Naur gcc-4.4.0.orig/gcc/configure.ac gcc-4.4.0/gcc/configure.ac
     69--- gcc-4.4.0.orig/gcc/configure.ac     2009-03-24 10:46:03.000000000 -0700
     70+++ gcc-4.4.0/gcc/configure.ac  2009-04-21 09:55:36.840094427 -0700
     71@@ -2351,7 +2351,7 @@
    7172   # Therefore, use diff -b for the comparisons.
    7273   if test x$gcc_cv_objdump != x \
     
    7778     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    7879   then
    79 diff -Naur gcc-4.3.3.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.3.3/gcc/testsuite/ada/acats/run_all.sh
    80 --- gcc-4.3.3.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 03:12:03.000000000 -0700
    81 +++ gcc-4.3.3/gcc/testsuite/ada/acats/run_all.sh        2009-01-25 00:53:32.459940773 -0800
     80diff -Naur gcc-4.4.0.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.4.0/gcc/testsuite/ada/acats/run_all.sh
     81--- gcc-4.4.0.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 03:12:03.000000000 -0700
     82+++ gcc-4.4.0/gcc/testsuite/ada/acats/run_all.sh        2009-04-21 09:55:36.848094706 -0700
    8283@@ -68,7 +68,7 @@
    8384   ls ${i}?.adb > ${i}.lst 2> /dev/null
     
    8990 
    9091 EXTERNAL_OBJECTS=""
    91 diff -Naur gcc-4.3.3.orig/libgomp/acinclude.m4 gcc-4.3.3/libgomp/acinclude.m4
    92 --- gcc-4.3.3.orig/libgomp/acinclude.m4 2007-03-18 04:17:44.000000000 -0700
    93 +++ gcc-4.3.3/libgomp/acinclude.m4      2009-01-25 00:53:32.459940773 -0800
    94 @@ -147,7 +147,7 @@
    95    # Start by getting the version number.  I think the libtool test already
    96    # does some of this, but throws away the result.
     92diff -Naur gcc-4.4.0.orig/libgomp/acinclude.m4 gcc-4.4.0/libgomp/acinclude.m4
     93--- gcc-4.4.0.orig/libgomp/acinclude.m4 2009-01-31 09:09:24.000000000 -0800
     94+++ gcc-4.4.0/libgomp/acinclude.m4      2009-04-21 09:56:53.993037854 -0700
     95@@ -152,7 +152,7 @@
     96     libgomp_ld_is_gold=yes
     97   fi
    9798   changequote(,)
    9899-  ldver=`$LD --version 2>/dev/null | head -1 | \
    99100+  ldver=`$LD --version 2>/dev/null | head -n 1 | \
    100           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     101          sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
    101102   changequote([,])
    102103   libgomp_gnu_ld_version=`echo $ldver | \
    103 diff -Naur gcc-4.3.3.orig/libgomp/configure gcc-4.3.3/libgomp/configure
    104 --- gcc-4.3.3.orig/libgomp/configure    2008-01-24 08:23:13.000000000 -0800
    105 +++ gcc-4.3.3/libgomp/configure 2009-01-25 00:53:32.464042184 -0800
    106 @@ -17600,7 +17600,7 @@
    107    # Start by getting the version number.  I think the libtool test already
    108    # does some of this, but throws away the result.
     104diff -Naur gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure
     105--- gcc-4.4.0.orig/libgomp/configure    2009-04-21 02:08:08.000000000 -0700
     106+++ gcc-4.4.0/libgomp/configure 2009-04-21 09:56:33.615732086 -0700
     107@@ -18486,7 +18486,7 @@
     108     libgomp_ld_is_gold=yes
     109   fi
    109110 
    110111-  ldver=`$LD --version 2>/dev/null | head -1 | \
    111112+  ldver=`$LD --version 2>/dev/null | head -n 1 | \
    112           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     113          sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
    113114 
    114115   libgomp_gnu_ld_version=`echo $ldver | \
    115 diff -Naur gcc-4.3.3.orig/libjava/classpath/configure gcc-4.3.3/libjava/classpath/configure
    116 --- gcc-4.3.3.orig/libjava/classpath/configure  2008-02-29 15:47:54.000000000 -0800
    117 +++ gcc-4.3.3/libjava/classpath/configure       2009-01-25 00:53:32.480448386 -0800
    118 @@ -29126,7 +29126,7 @@
     116diff -Naur gcc-4.4.0.orig/libjava/classpath/configure gcc-4.4.0/libjava/classpath/configure
     117--- gcc-4.4.0.orig/libjava/classpath/configure  2009-03-16 05:08:23.000000000 -0700
     118+++ gcc-4.4.0/libjava/classpath/configure       2009-04-21 09:55:36.872096103 -0700
     119@@ -29072,7 +29072,7 @@
    119120 fi # shortcircut to system "stdint.h"
    120121 # ------------------ PREPARE VARIABLES ------------------------------
     
    125126 ac_cv_stdint_message="using $CC"
    126127 fi
    127 diff -Naur gcc-4.3.3.orig/libjava/classpath/ltcf-c.sh gcc-4.3.3/libjava/classpath/ltcf-c.sh
    128 --- gcc-4.3.3.orig/libjava/classpath/ltcf-c.sh  2006-01-17 10:09:40.000000000 -0800
    129 +++ gcc-4.3.3/libjava/classpath/ltcf-c.sh       2009-01-25 00:53:32.484550356 -0800
     128diff -Naur gcc-4.4.0.orig/libjava/classpath/ltcf-c.sh gcc-4.4.0/libjava/classpath/ltcf-c.sh
     129--- gcc-4.4.0.orig/libjava/classpath/ltcf-c.sh  2006-01-17 10:09:40.000000000 -0800
     130+++ gcc-4.4.0/libjava/classpath/ltcf-c.sh       2009-04-21 09:55:36.872096103 -0700
    130131@@ -153,7 +153,7 @@
    131132     # If the export-symbols file already is a .def file (1st line
     
    137138       else
    138139         echo EXPORTS > $output_objdir/$soname-def;
    139 diff -Naur gcc-4.3.3.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.3/libjava/classpath/ltcf-gcj.sh
    140 --- gcc-4.3.3.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 14:31:04.000000000 -0700
    141 +++ gcc-4.3.3/libjava/classpath/ltcf-gcj.sh     2009-01-25 00:53:32.484550356 -0800
     140diff -Naur gcc-4.4.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.4.0/libjava/classpath/ltcf-gcj.sh
     141--- gcc-4.4.0.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 14:31:04.000000000 -0700
     142+++ gcc-4.4.0/libjava/classpath/ltcf-gcj.sh     2009-04-21 09:55:36.872096103 -0700
    142143@@ -156,7 +156,7 @@
    143144     # If the export-symbols file already is a .def file (1st line
     
    149150       else
    150151         echo EXPORTS > $output_objdir/$soname-def;
    151 diff -Naur gcc-4.3.3.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.3.3/libjava/classpath/m4/ax_create_stdint_h.m4
    152 --- gcc-4.3.3.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2007-05-19 13:44:43.000000000 -0700
    153 +++ gcc-4.3.3/libjava/classpath/m4/ax_create_stdint_h.m4        2009-01-25 00:53:32.484550356 -0800
     152diff -Naur gcc-4.4.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.4.0/libjava/classpath/m4/ax_create_stdint_h.m4
     153--- gcc-4.4.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2007-05-19 13:44:43.000000000 -0700
     154+++ gcc-4.4.0/libjava/classpath/m4/ax_create_stdint_h.m4        2009-04-21 09:55:36.872096103 -0700
    154155@@ -217,7 +217,7 @@
    155156 fi # shortcircut to system "stdint.h"
     
    161162 ac_cv_stdint_message="using $CC"
    162163 fi
    163 diff -Naur gcc-4.3.3.orig/libjava/configure gcc-4.3.3/libjava/configure
    164 --- gcc-4.3.3.orig/libjava/configure    2009-01-24 02:32:29.000000000 -0800
    165 +++ gcc-4.3.3/libjava/configure 2009-01-25 00:53:32.492753177 -0800
    166 @@ -18673,8 +18673,8 @@
     164diff -Naur gcc-4.4.0.orig/libjava/configure gcc-4.4.0/libjava/configure
     165--- gcc-4.4.0.orig/libjava/configure    2009-04-21 02:08:08.000000000 -0700
     166+++ gcc-4.4.0/libjava/configure 2009-04-21 09:55:36.884096662 -0700
     167@@ -18919,8 +18919,8 @@
    167168 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
    168169 LD_PROG=`$CC --print-prog-name=ld`
     
    175176   LD_OK="ok"
    176177 else
    177 diff -Naur gcc-4.3.3.orig/libjava/mingwld.m4 gcc-4.3.3/libjava/mingwld.m4
    178 --- gcc-4.3.3.orig/libjava/mingwld.m4   2005-08-22 15:36:35.000000000 -0700
    179 +++ gcc-4.3.3/libjava/mingwld.m4        2009-01-25 00:53:32.492753177 -0800
     178diff -Naur gcc-4.4.0.orig/libjava/mingwld.m4 gcc-4.4.0/libjava/mingwld.m4
     179--- gcc-4.4.0.orig/libjava/mingwld.m4   2005-08-22 15:36:35.000000000 -0700
     180+++ gcc-4.4.0/libjava/mingwld.m4        2009-04-21 09:55:36.892097500 -0700
    180181@@ -3,8 +3,8 @@
    181182 AC_MSG_CHECKING(whether 'ld' is at least 2.13)
     
    189190   LD_OK="ok"
    190191 else
    191 diff -Naur gcc-4.3.3.orig/libstdc++-v3/acinclude.m4 gcc-4.3.3/libstdc++-v3/acinclude.m4
    192 --- gcc-4.3.3.orig/libstdc++-v3/acinclude.m4    2008-04-25 09:52:57.000000000 -0700
    193 +++ gcc-4.3.3/libstdc++-v3/acinclude.m4 2009-01-25 00:53:32.500956558 -0800
    194 @@ -234,7 +234,7 @@
    195    if test x"$with_gnu_ld" = x"yes"; then
    196      AC_MSG_CHECKING([for ld version])
    197      changequote(,)
    198 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    199 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    200             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     192diff -Naur gcc-4.4.0.orig/libstdc++-v3/acinclude.m4 gcc-4.4.0/libstdc++-v3/acinclude.m4
     193--- gcc-4.4.0.orig/libstdc++-v3/acinclude.m4    2009-02-23 12:42:53.000000000 -0800
     194+++ gcc-4.4.0/libstdc++-v3/acinclude.m4 2009-04-21 09:57:46.768419611 -0700
     195@@ -238,7 +238,7 @@
     196     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     197       glibcxx_ld_is_gold=yes
     198     fi
     199-    ldver=`$LD --version 2>/dev/null | head -1 | \
     200+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     201            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
    201202     changequote([,])
    202203     glibcxx_gnu_ld_version=`echo $ldver | \
    203 diff -Naur gcc-4.3.3.orig/libstdc++-v3/configure gcc-4.3.3/libstdc++-v3/configure
    204 --- gcc-4.3.3.orig/libstdc++-v3/configure       2008-07-07 12:49:54.000000000 -0700
    205 +++ gcc-4.3.3/libstdc++-v3/configure    2009-01-25 00:53:32.582987288 -0800
    206 @@ -17490,7 +17490,7 @@
    207      echo "$as_me:$LINENO: checking for ld version" >&5
    208  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    209  
    210 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    211 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    212             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    213  
    214      glibcxx_gnu_ld_version=`echo $ldver | \
    215 @@ -42215,7 +42215,7 @@
    216      echo "$as_me:$LINENO: checking for ld version" >&5
    217  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    218  
    219 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    220 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    221             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    222  
    223      glibcxx_gnu_ld_version=`echo $ldver | \
    224 @@ -84606,7 +84606,7 @@
    225      echo "$as_me:$LINENO: checking for ld version" >&5
    226  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    227  
    228 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    229 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    230             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    231  
    232      glibcxx_gnu_ld_version=`echo $ldver | \
    233 @@ -85622,7 +85622,7 @@
    234      echo "$as_me:$LINENO: checking for ld version" >&5
    235  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    236  
    237 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    238 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    239             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    240  
    241      glibcxx_gnu_ld_version=`echo $ldver | \
    242 @@ -86610,7 +86610,7 @@
    243      echo "$as_me:$LINENO: checking for ld version" >&5
    244  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    245  
    246 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    247 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    248             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    249  
    250      glibcxx_gnu_ld_version=`echo $ldver | \
    251 @@ -109089,7 +109089,7 @@
    252      echo "$as_me:$LINENO: checking for ld version" >&5
    253  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    254  
    255 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    256 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    257             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    258  
    259      glibcxx_gnu_ld_version=`echo $ldver | \
    260 @@ -109934,7 +109934,7 @@
    261      echo "$as_me:$LINENO: checking for ld version" >&5
    262  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    263  
    264 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    265 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    266             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    267  
    268      glibcxx_gnu_ld_version=`echo $ldver | \
    269 @@ -110828,7 +110828,7 @@
    270      echo "$as_me:$LINENO: checking for ld version" >&5
    271  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    272  
    273 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    274 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    275             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    276  
    277      glibcxx_gnu_ld_version=`echo $ldver | \
    278 @@ -112114,7 +112114,7 @@
    279      echo "$as_me:$LINENO: checking for ld version" >&5
    280  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    281  
    282 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    283 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    284             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    285  
    286      glibcxx_gnu_ld_version=`echo $ldver | \
    287 @@ -112850,7 +112850,7 @@
    288      echo "$as_me:$LINENO: checking for ld version" >&5
    289  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    290  
    291 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    292 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    293             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    294  
    295      glibcxx_gnu_ld_version=`echo $ldver | \
    296 @@ -113351,7 +113351,7 @@
    297      echo "$as_me:$LINENO: checking for ld version" >&5
    298  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    299  
    300 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    301 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    302             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    303  
    304      glibcxx_gnu_ld_version=`echo $ldver | \
     204diff -Naur gcc-4.4.0.orig/libstdc++-v3/configure gcc-4.4.0/libstdc++-v3/configure
     205--- gcc-4.4.0.orig/libstdc++-v3/configure       2009-03-01 09:49:31.000000000 -0800
     206+++ gcc-4.4.0/libstdc++-v3/configure    2009-04-21 09:57:27.527186478 -0700
     207@@ -23489,7 +23489,7 @@
     208     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     209       glibcxx_ld_is_gold=yes
     210     fi
     211-    ldver=`$LD --version 2>/dev/null | head -1 | \
     212+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     213            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     214 
     215     glibcxx_gnu_ld_version=`echo $ldver | \
     216@@ -42055,7 +42055,7 @@
     217     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     218       glibcxx_ld_is_gold=yes
     219     fi
     220-    ldver=`$LD --version 2>/dev/null | head -1 | \
     221+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     222            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     223 
     224     glibcxx_gnu_ld_version=`echo $ldver | \
     225@@ -76333,7 +76333,7 @@
     226     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     227       glibcxx_ld_is_gold=yes
     228     fi
     229-    ldver=`$LD --version 2>/dev/null | head -1 | \
     230+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     231            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     232 
     233     glibcxx_gnu_ld_version=`echo $ldver | \
     234@@ -76645,7 +76645,7 @@
     235     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     236       glibcxx_ld_is_gold=yes
     237     fi
     238-    ldver=`$LD --version 2>/dev/null | head -1 | \
     239+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     240            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     241 
     242     glibcxx_gnu_ld_version=`echo $ldver | \
     243@@ -77328,7 +77328,7 @@
     244     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     245       glibcxx_ld_is_gold=yes
     246     fi
     247-    ldver=`$LD --version 2>/dev/null | head -1 | \
     248+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     249            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     250 
     251     glibcxx_gnu_ld_version=`echo $ldver | \
     252@@ -95080,7 +95080,7 @@
     253     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     254       glibcxx_ld_is_gold=yes
     255     fi
     256-    ldver=`$LD --version 2>/dev/null | head -1 | \
     257+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     258            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     259 
     260     glibcxx_gnu_ld_version=`echo $ldver | \
     261@@ -112274,7 +112274,7 @@
     262     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     263       glibcxx_ld_is_gold=yes
     264     fi
     265-    ldver=`$LD --version 2>/dev/null | head -1 | \
     266+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     267            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     268 
     269     glibcxx_gnu_ld_version=`echo $ldver | \
     270@@ -112493,7 +112493,7 @@
     271     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     272       glibcxx_ld_is_gold=yes
     273     fi
     274-    ldver=`$LD --version 2>/dev/null | head -1 | \
     275+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     276            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     277 
     278     glibcxx_gnu_ld_version=`echo $ldver | \
     279@@ -112678,7 +112678,7 @@
     280     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     281       glibcxx_ld_is_gold=yes
     282     fi
     283-    ldver=`$LD --version 2>/dev/null | head -1 | \
     284+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     285            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     286 
     287     glibcxx_gnu_ld_version=`echo $ldver | \
     288@@ -112899,7 +112899,7 @@
     289     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     290       glibcxx_ld_is_gold=yes
     291     fi
     292-    ldver=`$LD --version 2>/dev/null | head -1 | \
     293+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     294            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     295 
     296     glibcxx_gnu_ld_version=`echo $ldver | \
     297@@ -113121,7 +113121,7 @@
     298     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
     299       glibcxx_ld_is_gold=yes
     300     fi
     301-    ldver=`$LD --version 2>/dev/null | head -1 | \
     302+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     303            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
     304 
     305     glibcxx_gnu_ld_version=`echo $ldver | \
Note: See TracChangeset for help on using the changeset viewer.