Changeset 92605fa in clfs-sysroot for patches/gcc-4.4.0-posix-1.patch
- Timestamp:
- Jul 10, 2009, 2:25:30 AM (15 years ago)
- Branches:
- master
- Children:
- b797f97
- Parents:
- 69b2286
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.4.0-posix-1.patch
r69b2286 r92605fa 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-25-20093 Initial Package Version: 4. 3.32 Date: 04-21-2009 3 Initial Package Version: 4.4.0 4 4 Origin: Jim Gifford 5 5 Rediffed against 4.1.0 by Chris Staub … … 8 8 Rediffed against 4.3.0 by Joe Ciccone 9 9 Rediffed against 4.3.3 by Jim Gifford 10 Rediffed against 4.4.0 by Jim Gifford 10 11 Upstream Status: On Hold 11 12 Description: Makes GCC Posix Compliant 12 13 13 diff -Naur gcc-4. 3.3.orig/contrib/patch_tester.sh gcc-4.3.3/contrib/patch_tester.sh14 --- gcc-4. 3.3.orig/contrib/patch_tester.sh 2007-12-26 13:01:38.000000000 -080015 +++ gcc-4. 3.3/contrib/patch_tester.sh 2009-01-25 00:53:32.447636261 -080016 @@ - 287,7 +287,7 @@17 18 if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap&> $1/bootstrap ; then19 report "bootstrap failed with last lines:"14 diff -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:" 20 21 - tail -30 $1/bootstrap > $1/last_bootstrap 21 22 + tail -n 30 $1/bootstrap > $1/last_bootstrap … … 23 24 report "grep --context=20 Error bootstrap:" 24 25 grep --context=20 Error $1/bootstrap > $1/bootstrap_error 25 @@ -4 20,7 +420,7 @@26 @@ -464,7 +464,7 @@ 26 27 # After selfexec, $TESTING is already set up. 27 28 if [ -d $TESTING ]; then … … 32 33 if [ -f $PATCH ]; then 33 34 bootntest_patched && bootntest_pristine && compare_passes 34 @@ -4 29,7 +429,7 @@35 fi36 35 @@ -474,7 +474,7 @@ 36 37 firstpatch=true 37 38 while true; do 38 39 - PATCH=`ls -rt -1 $PATCHES | head -1` 39 40 + PATCH=`ls -rt -1 $PATCHES | head -n 1` 40 41 if [ x$PATCH = x ]; then 41 sleep ${standby}m42 else43 diff -Naur gcc-4. 3.3.orig/contrib/test_summary gcc-4.3.3/contrib/test_summary44 --- gcc-4. 3.3.orig/contrib/test_summary 2007-02-09 16:30:46.000000000 -080045 +++ gcc-4. 3.3/contrib/test_summary 2009-01-25 00:53:32.447636261 -080042 if [ $stop = true ]; then 43 if [ $firstpatch = true ]; then 44 diff -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 46 47 @@ -107,7 +107,7 @@ 47 48 srcdir = configflags; … … 53 54 54 55 sub(/^[^ ]*\/configure */, " ", configflags); 55 diff -Naur gcc-4. 3.3.orig/gcc/configure gcc-4.3.3/gcc/configure56 --- gcc-4. 3.3.orig/gcc/configure 2008-08-01 02:51:03.000000000 -070057 +++ gcc-4. 3.3/gcc/configure 2009-01-25 00:53:32.455839362 -080058 @@ -2 0245,7 +20245,7 @@56 diff -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 @@ 59 60 # Therefore, use diff -b for the comparisons. 60 61 if test x$gcc_cv_objdump != x \ … … 65 66 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 66 67 then 67 diff -Naur gcc-4. 3.3.orig/gcc/configure.ac gcc-4.3.3/gcc/configure.ac68 --- gcc-4. 3.3.orig/gcc/configure.ac 2008-08-01 02:51:03.000000000 -070069 +++ gcc-4. 3.3/gcc/configure.ac 2009-01-25 00:53:32.455839362 -080070 @@ -2 241,7 +2241,7 @@68 diff -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 @@ 71 72 # Therefore, use diff -b for the comparisons. 72 73 if test x$gcc_cv_objdump != x \ … … 77 78 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 78 79 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.sh80 --- gcc-4. 3.3.orig/gcc/testsuite/ada/acats/run_all.sh 2006-09-14 03:12:03.000000000 -070081 +++ gcc-4. 3.3/gcc/testsuite/ada/acats/run_all.sh 2009-01-25 00:53:32.459940773 -080080 diff -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 82 83 @@ -68,7 +68,7 @@ 83 84 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 89 90 90 91 EXTERNAL_OBJECTS="" 91 diff -Naur gcc-4. 3.3.orig/libgomp/acinclude.m4 gcc-4.3.3/libgomp/acinclude.m492 --- gcc-4. 3.3.orig/libgomp/acinclude.m4 2007-03-18 04:17:44.000000000 -070093 +++ gcc-4. 3.3/libgomp/acinclude.m4 2009-01-25 00:53:32.459940773 -080094 @@ -1 47,7 +147,7 @@95 # Start by getting the version number. I think the libtool test already96 # does some of this, but throws away the result.92 diff -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 97 98 changequote(,) 98 99 - ldver=`$LD --version 2>/dev/null | head -1 | \ 99 100 + 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/'` 101 102 changequote([,]) 102 103 libgomp_gnu_ld_version=`echo $ldver | \ 103 diff -Naur gcc-4. 3.3.orig/libgomp/configure gcc-4.3.3/libgomp/configure104 --- gcc-4. 3.3.orig/libgomp/configure 2008-01-24 08:23:13.000000000 -0800105 +++ gcc-4. 3.3/libgomp/configure 2009-01-25 00:53:32.464042184 -0800106 @@ -1 7600,7 +17600,7 @@107 # Start by getting the version number. I think the libtool test already108 # does some of this, but throws away the result.104 diff -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 109 110 110 111 - ldver=`$LD --version 2>/dev/null | head -1 | \ 111 112 + 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/'` 113 114 114 115 libgomp_gnu_ld_version=`echo $ldver | \ 115 diff -Naur gcc-4. 3.3.orig/libjava/classpath/configure gcc-4.3.3/libjava/classpath/configure116 --- gcc-4. 3.3.orig/libjava/classpath/configure 2008-02-29 15:47:54.000000000 -0800117 +++ gcc-4. 3.3/libjava/classpath/configure 2009-01-25 00:53:32.480448386 -0800118 @@ -29 126,7 +29126,7 @@116 diff -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 @@ 119 120 fi # shortcircut to system "stdint.h" 120 121 # ------------------ PREPARE VARIABLES ------------------------------ … … 125 126 ac_cv_stdint_message="using $CC" 126 127 fi 127 diff -Naur gcc-4. 3.3.orig/libjava/classpath/ltcf-c.sh gcc-4.3.3/libjava/classpath/ltcf-c.sh128 --- gcc-4. 3.3.orig/libjava/classpath/ltcf-c.sh 2006-01-17 10:09:40.000000000 -0800129 +++ gcc-4. 3.3/libjava/classpath/ltcf-c.sh 2009-01-25 00:53:32.484550356 -0800128 diff -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 130 131 @@ -153,7 +153,7 @@ 131 132 # If the export-symbols file already is a .def file (1st line … … 137 138 else 138 139 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.sh140 --- gcc-4. 3.3.orig/libjava/classpath/ltcf-gcj.sh 2005-09-23 14:31:04.000000000 -0700141 +++ gcc-4. 3.3/libjava/classpath/ltcf-gcj.sh 2009-01-25 00:53:32.484550356 -0800140 diff -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 142 143 @@ -156,7 +156,7 @@ 143 144 # If the export-symbols file already is a .def file (1st line … … 149 150 else 150 151 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.m4152 --- gcc-4. 3.3.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-19 13:44:43.000000000 -0700153 +++ gcc-4. 3.3/libjava/classpath/m4/ax_create_stdint_h.m4 2009-01-25 00:53:32.484550356 -0800152 diff -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 154 155 @@ -217,7 +217,7 @@ 155 156 fi # shortcircut to system "stdint.h" … … 161 162 ac_cv_stdint_message="using $CC" 162 163 fi 163 diff -Naur gcc-4. 3.3.orig/libjava/configure gcc-4.3.3/libjava/configure164 --- gcc-4. 3.3.orig/libjava/configure 2009-01-24 02:32:29.000000000 -0800165 +++ gcc-4. 3.3/libjava/configure 2009-01-25 00:53:32.492753177 -0800166 @@ -18 673,8 +18673,8 @@164 diff -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 @@ 167 168 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 168 169 LD_PROG=`$CC --print-prog-name=ld` … … 175 176 LD_OK="ok" 176 177 else 177 diff -Naur gcc-4. 3.3.orig/libjava/mingwld.m4 gcc-4.3.3/libjava/mingwld.m4178 --- gcc-4. 3.3.orig/libjava/mingwld.m4 2005-08-22 15:36:35.000000000 -0700179 +++ gcc-4. 3.3/libjava/mingwld.m4 2009-01-25 00:53:32.492753177 -0800178 diff -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 180 181 @@ -3,8 +3,8 @@ 181 182 AC_MSG_CHECKING(whether 'ld' is at least 2.13) … … 189 190 LD_OK="ok" 190 191 else 191 diff -Naur gcc-4. 3.3.orig/libstdc++-v3/acinclude.m4 gcc-4.3.3/libstdc++-v3/acinclude.m4192 --- gcc-4. 3.3.orig/libstdc++-v3/acinclude.m4 2008-04-25 09:52:57.000000000 -0700193 +++ gcc-4. 3.3/libstdc++-v3/acinclude.m4 2009-01-25 00:53:32.500956558 -0800194 @@ -23 4,7 +234,7 @@195 if test x"$with_gnu_ld" = x"yes"; then196 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/'`192 diff -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/'` 201 202 changequote([,]) 202 203 glibcxx_gnu_ld_version=`echo $ldver | \ 203 diff -Naur gcc-4. 3.3.orig/libstdc++-v3/configure gcc-4.3.3/libstdc++-v3/configure204 --- gcc-4. 3.3.orig/libstdc++-v3/configure 2008-07-07 12:49:54.000000000 -0700205 +++ gcc-4. 3.3/libstdc++-v3/configure 2009-01-25 00:53:32.582987288 -0800206 @@ - 17490,7 +17490,7 @@207 echo "$as_me:$LINENO: checking for ld version" >&5208 echo $ECHO_N "checking for ld version... $ECHO_C" >&6209 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 @@ -42 215,7 +42215,7 @@216 echo "$as_me:$LINENO: checking for ld version" >&5217 echo $ECHO_N "checking for ld version... $ECHO_C" >&6218 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" >&5226 echo $ECHO_N "checking for ld version... $ECHO_C" >&6227 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" >&5235 echo $ECHO_N "checking for ld version... $ECHO_C" >&6236 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" >&5244 echo $ECHO_N "checking for ld version... $ECHO_C" >&6245 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" >&5253 echo $ECHO_N "checking for ld version... $ECHO_C" >&6254 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 @@ -1 09934,7 +109934,7 @@261 echo "$as_me:$LINENO: checking for ld version" >&5262 echo $ECHO_N "checking for ld version... $ECHO_C" >&6263 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 @@ -11 0828,7 +110828,7 @@270 echo "$as_me:$LINENO: checking for ld version" >&5271 echo $ECHO_N "checking for ld version... $ECHO_C" >&6272 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 @@ -112 114,7 +112114,7 @@279 echo "$as_me:$LINENO: checking for ld version" >&5280 echo $ECHO_N "checking for ld version... $ECHO_C" >&6281 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 @@ -1128 50,7 +112850,7 @@288 echo "$as_me:$LINENO: checking for ld version" >&5289 echo $ECHO_N "checking for ld version... $ECHO_C" >&6290 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 @@ -113 351,7 +113351,7 @@297 echo "$as_me:$LINENO: checking for ld version" >&5298 echo $ECHO_N "checking for ld version... $ECHO_C" >&6299 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 | \ 204 diff -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.