Changeset 01dba47
- Timestamp:
- Jul 23, 2007, 12:05:59 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 81a04c4
- Parents:
- b79cc86
- Location:
- patches
- Files:
-
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.2.1-posix-1.patch
rb79cc86 r01dba47 5 5 Rediffed against 4.1.0 by Chris Staub 6 6 Rediffed against 4.1.2 by Jim Gifford 7 Rediffed and additions against 4.2.0 by Joe Ciccone 7 Rediffed and additions against 4.2.0 by Joe Ciccone 8 Rediffed against 4.2.1 by Joe Ciccone 8 9 Upstream Status: On Hold 9 10 Description: Makes GCC Posix Compliant 10 11 11 diff -Naur gcc-4.2. 0.orig/contrib/test_summary gcc-4.2.0/contrib/test_summary12 --- gcc-4.2. 0.orig/contrib/test_summary 2007-05-16 19:21:35.000000000 -040013 +++ gcc-4.2. 0/contrib/test_summary 2007-05-18 16:38:48.000000000 -040012 diff -Naur gcc-4.2.1.orig/contrib/test_summary gcc-4.2.1/contrib/test_summary 13 --- gcc-4.2.1.orig/contrib/test_summary 2004-08-26 01:51:22.000000000 -0400 14 +++ gcc-4.2.1/contrib/test_summary 2007-07-22 19:31:03.000000000 -0400 14 15 @@ -106,7 +106,7 @@ 15 16 srcdir = configflags; … … 21 22 22 23 sub(/^[^ ]*\/configure */, " ", configflags); 23 diff -Naur gcc-4.2.0.orig/gcc/configure.ac gcc-4.2.0/gcc/configure.ac 24 --- gcc-4.2.0.orig/gcc/configure.ac 2007-05-16 19:21:23.000000000 -0400 25 +++ gcc-4.2.0/gcc/configure.ac 2007-05-18 16:39:21.000000000 -0400 24 diff -Naur gcc-4.2.1.orig/gcc/configure gcc-4.2.1/gcc/configure 25 --- gcc-4.2.1.orig/gcc/configure 2007-01-01 22:44:31.000000000 -0500 26 +++ gcc-4.2.1/gcc/configure 2007-07-22 19:31:03.000000000 -0400 27 @@ -14120,7 +14120,7 @@ 28 # Therefore, use diff -b for the comparisons. 29 if test x$gcc_cv_objdump != x \ 30 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 31 - | tail -3 > conftest.got \ 32 + | tail -n 3 > conftest.got \ 33 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 34 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 35 then 36 diff -Naur gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac 37 --- gcc-4.2.1.orig/gcc/configure.ac 2007-01-01 22:44:31.000000000 -0500 38 +++ gcc-4.2.1/gcc/configure.ac 2007-07-22 19:31:03.000000000 -0400 26 39 @@ -2227,7 +2227,7 @@ 27 40 # Therefore, use diff -b for the comparisons. … … 33 46 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 34 47 then 35 diff -Naur gcc-4.2.0.orig/gcc/configure gcc-4.2.0/gcc/configure 36 --- gcc-4.2.0.orig/gcc/configure 2007-05-16 19:21:26.000000000 -0400 37 +++ gcc-4.2.0/gcc/configure 2007-05-18 16:39:10.000000000 -0400 38 @@ -14120,7 +14120,7 @@ 39 # Therefore, use diff -b for the comparisons. 40 if test x$gcc_cv_objdump != x \ 41 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 42 - | tail -3 > conftest.got \ 43 + | tail -n 3 > conftest.got \ 44 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 45 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 46 then 47 diff -Naur gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh 48 --- gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh 2007-05-16 19:21:20.000000000 -0400 49 +++ gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh 2007-05-18 16:44:02.000000000 -0400 48 diff -Naur gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh 49 --- gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh 2006-09-14 06:12:03.000000000 -0400 50 +++ gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh 2007-07-22 19:31:03.000000000 -0400 50 51 @@ -68,7 +68,7 @@ 51 52 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 57 58 58 59 EXTERNAL_OBJECTS="" 59 diff -Naur gcc-4.2. 0.orig/libgomp/acinclude.m4 gcc-4.2.0/libgomp/acinclude.m460 --- gcc-4.2. 0.orig/libgomp/acinclude.m4 2007-05-16 19:21:18.000000000 -040061 +++ gcc-4.2. 0/libgomp/acinclude.m4 2007-05-18 16:42:11.000000000 -040060 diff -Naur gcc-4.2.1.orig/libgomp/acinclude.m4 gcc-4.2.1/libgomp/acinclude.m4 61 --- gcc-4.2.1.orig/libgomp/acinclude.m4 2007-03-18 09:45:56.000000000 -0400 62 +++ gcc-4.2.1/libgomp/acinclude.m4 2007-07-22 19:31:03.000000000 -0400 62 63 @@ -147,7 +147,7 @@ 63 64 # Start by getting the version number. I think the libtool test already … … 69 70 changequote([,]) 70 71 libgomp_gnu_ld_version=`echo $ldver | \ 71 diff -Naur gcc-4.2. 0.orig/libgomp/configure gcc-4.2.0/libgomp/configure72 --- gcc-4.2. 0.orig/libgomp/configure 2007-05-16 19:21:19.000000000 -040073 +++ gcc-4.2. 0/libgomp/configure 2007-05-18 16:42:19.000000000 -040072 diff -Naur gcc-4.2.1.orig/libgomp/configure gcc-4.2.1/libgomp/configure 73 --- gcc-4.2.1.orig/libgomp/configure 2007-07-19 10:33:56.000000000 -0400 74 +++ gcc-4.2.1/libgomp/configure 2007-07-22 19:31:03.000000000 -0400 74 75 @@ -9314,7 +9314,7 @@ 75 76 # Start by getting the version number. I think the libtool test already … … 81 82 82 83 libgomp_gnu_ld_version=`echo $ldver | \ 83 diff -Naur gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4 84 --- gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-16 19:21:35.000000000 -0400 85 +++ gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-18 16:43:26.000000000 -0400 84 diff -Naur gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/libjava/classpath/configure 85 --- gcc-4.2.1.orig/libjava/classpath/configure 2007-01-17 13:10:26.000000000 -0500 86 +++ gcc-4.2.1/libjava/classpath/configure 2007-07-22 19:31:03.000000000 -0400 87 @@ -18514,7 +18514,7 @@ 88 fi # shortcircut to system "stdint.h" 89 # ------------------ PREPARE VARIABLES ------------------------------ 90 if test "$GCC" = "yes" ; then 91 -ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 92 +ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 93 else 94 ac_cv_stdint_message="using $CC" 95 fi 96 diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.1/libjava/classpath/ltcf-c.sh 97 --- gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh 2006-01-17 13:09:40.000000000 -0500 98 +++ gcc-4.2.1/libjava/classpath/ltcf-c.sh 2007-07-22 19:31:03.000000000 -0400 99 @@ -153,7 +153,7 @@ 100 # If the export-symbols file already is a .def file (1st line 101 # is EXPORTS), use it as is. 102 # If DATA tags from a recent dlltool are present, honour them! 103 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then 104 + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 105 cp $export_symbols $output_objdir/$soname-def; 106 else 107 echo EXPORTS > $output_objdir/$soname-def; 108 diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.1/libjava/classpath/ltcf-gcj.sh 109 --- gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh 2005-09-23 17:31:04.000000000 -0400 110 +++ gcc-4.2.1/libjava/classpath/ltcf-gcj.sh 2007-07-22 19:31:03.000000000 -0400 111 @@ -156,7 +156,7 @@ 112 # If the export-symbols file already is a .def file (1st line 113 # is EXPORTS), use it as is. 114 # If DATA tags from a recent dlltool are present, honour them! 115 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then 116 + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 117 cp $export_symbols $output_objdir/$soname-def; 118 else 119 echo EXPORTS > $output_objdir/$soname-def; 120 diff -Naur gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4 121 --- gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2006-01-17 13:09:40.000000000 -0500 122 +++ gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4 2007-07-22 19:31:03.000000000 -0400 86 123 @@ -217,7 +217,7 @@ 87 124 fi # shortcircut to system "stdint.h" … … 93 130 ac_cv_stdint_message="using $CC" 94 131 fi 95 diff -Naur gcc-4.2.0.orig/libjava/classpath/configure gcc-4.2.0/libjava/classpath/configure 96 --- gcc-4.2.0.orig/libjava/classpath/configure 2007-05-16 19:21:35.000000000 -0400 97 +++ gcc-4.2.0/libjava/classpath/configure 2007-05-18 16:43:09.000000000 -0400 98 @@ -18514,7 +18514,7 @@ 99 fi # shortcircut to system "stdint.h" 100 # ------------------ PREPARE VARIABLES ------------------------------ 101 if test "$GCC" = "yes" ; then 102 -ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 103 +ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 104 else 105 ac_cv_stdint_message="using $CC" 106 fi 107 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh gcc-4.2.0/libjava/classpath/ltcf-c.sh 108 --- gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh 2007-05-16 19:21:31.000000000 -0400 109 +++ gcc-4.2.0/libjava/classpath/ltcf-c.sh 2007-05-18 16:42:36.000000000 -0400 110 @@ -153,7 +153,7 @@ 111 # If the export-symbols file already is a .def file (1st line 112 # is EXPORTS), use it as is. 113 # If DATA tags from a recent dlltool are present, honour them! 114 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then 115 + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 116 cp $export_symbols $output_objdir/$soname-def; 117 else 118 echo EXPORTS > $output_objdir/$soname-def; 119 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.0/libjava/classpath/ltcf-gcj.sh 120 --- gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh 2007-05-16 19:21:34.000000000 -0400 121 +++ gcc-4.2.0/libjava/classpath/ltcf-gcj.sh 2007-05-18 16:42:45.000000000 -0400 122 @@ -156,7 +156,7 @@ 123 # If the export-symbols file already is a .def file (1st line 124 # is EXPORTS), use it as is. 125 # If DATA tags from a recent dlltool are present, honour them! 126 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then 127 + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 128 cp $export_symbols $output_objdir/$soname-def; 129 else 130 echo EXPORTS > $output_objdir/$soname-def; 131 diff -Naur gcc-4.2.0.orig/libjava/mingwld.m4 gcc-4.2.0/libjava/mingwld.m4 132 --- gcc-4.2.0.orig/libjava/mingwld.m4 2007-05-16 19:21:29.000000000 -0400 133 +++ gcc-4.2.0/libjava/mingwld.m4 2007-05-18 16:40:06.000000000 -0400 132 diff -Naur gcc-4.2.1.orig/libjava/configure gcc-4.2.1/libjava/configure 133 --- gcc-4.2.1.orig/libjava/configure 2007-07-19 10:33:56.000000000 -0400 134 +++ gcc-4.2.1/libjava/configure 2007-07-22 19:31:03.000000000 -0400 135 @@ -7025,8 +7025,8 @@ 136 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 137 LD_PROG=`$CC --print-prog-name=ld` 138 LD_VERSION=`$LD_PROG --version` 139 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 140 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 141 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 142 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 143 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 144 LD_OK="ok" 145 else 146 diff -Naur gcc-4.2.1.orig/libjava/mingwld.m4 gcc-4.2.1/libjava/mingwld.m4 147 --- gcc-4.2.1.orig/libjava/mingwld.m4 2005-08-22 18:36:35.000000000 -0400 148 +++ gcc-4.2.1/libjava/mingwld.m4 2007-07-22 19:31:03.000000000 -0400 134 149 @@ -3,8 +3,8 @@ 135 150 AC_MSG_CHECKING(whether 'ld' is at least 2.13) … … 143 158 LD_OK="ok" 144 159 else 145 diff -Naur gcc-4.2.0.orig/libjava/configure gcc-4.2.0/libjava/configure 146 --- gcc-4.2.0.orig/libjava/configure 2007-05-16 19:21:29.000000000 -0400 147 +++ gcc-4.2.0/libjava/configure 2007-05-18 16:39:43.000000000 -0400 148 @@ -7025,8 +7025,8 @@ 149 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 150 LD_PROG=`$CC --print-prog-name=ld` 151 LD_VERSION=`$LD_PROG --version` 152 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 153 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 154 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 155 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 156 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 157 LD_OK="ok" 158 else 159 diff -Naur gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 gcc-4.2.0/libstdc++-v3/acinclude.m4 160 --- gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 2007-05-16 19:21:35.000000000 -0400 161 +++ gcc-4.2.0/libstdc++-v3/acinclude.m4 2007-05-18 16:40:37.000000000 -0400 160 diff -Naur gcc-4.2.1.orig/libstdc++-v3/acinclude.m4 gcc-4.2.1/libstdc++-v3/acinclude.m4 161 --- gcc-4.2.1.orig/libstdc++-v3/acinclude.m4 2007-06-28 19:02:05.000000000 -0400 162 +++ gcc-4.2.1/libstdc++-v3/acinclude.m4 2007-07-22 19:31:03.000000000 -0400 162 163 @@ -234,7 +234,7 @@ 163 164 if test x"$with_gnu_ld" = x"yes"; then … … 169 170 changequote([,]) 170 171 glibcxx_gnu_ld_version=`echo $ldver | \ 171 diff -Naur gcc-4.2. 0.orig/libstdc++-v3/configure gcc-4.2.0/libstdc++-v3/configure172 --- gcc-4.2. 0.orig/libstdc++-v3/configure 2007-05-16 19:21:36.000000000 -0400173 +++ gcc-4.2. 0/libstdc++-v3/configure 2007-05-18 16:41:04.000000000 -0400174 @@ -8 377,7 +8377,7 @@175 echo "$as_me:$LINENO: checking for ld version" >&5 176 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 177 178 - ldver=`$LD --version 2>/dev/null | head -1 | \ 179 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 180 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 181 182 glibcxx_gnu_ld_version=`echo $ldver | \ 183 @@ -54 289,7 +54289,7 @@184 echo "$as_me:$LINENO: checking for ld version" >&5 185 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 186 187 - ldver=`$LD --version 2>/dev/null | head -1 | \ 188 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 189 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 190 191 glibcxx_gnu_ld_version=`echo $ldver | \ 192 @@ -75 651,7 +75651,7 @@193 echo "$as_me:$LINENO: checking for ld version" >&5 194 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 195 196 - ldver=`$LD --version 2>/dev/null | head -1 | \ 197 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 198 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 199 200 glibcxx_gnu_ld_version=`echo $ldver | \ 201 @@ -77 176,7 +77176,7 @@202 echo "$as_me:$LINENO: checking for ld version" >&5 203 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 204 205 - ldver=`$LD --version 2>/dev/null | head -1 | \ 206 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 207 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 208 209 glibcxx_gnu_ld_version=`echo $ldver | \ 210 @@ -78 669,7 +78669,7 @@211 echo "$as_me:$LINENO: checking for ld version" >&5 212 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 213 214 - ldver=`$LD --version 2>/dev/null | head -1 | \ 215 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 216 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 217 218 glibcxx_gnu_ld_version=`echo $ldver | \ 219 @@ -100 561,7 +100561,7 @@220 echo "$as_me:$LINENO: checking for ld version" >&5 221 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 222 223 - ldver=`$LD --version 2>/dev/null | head -1 | \ 224 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 225 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 226 227 glibcxx_gnu_ld_version=`echo $ldver | \ 228 @@ -101 408,7 +101408,7 @@229 echo "$as_me:$LINENO: checking for ld version" >&5 230 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 231 232 - ldver=`$LD --version 2>/dev/null | head -1 | \ 233 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 234 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 235 236 glibcxx_gnu_ld_version=`echo $ldver | \ 237 @@ -102 811,7 +102811,7 @@238 echo "$as_me:$LINENO: checking for ld version" >&5 239 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 240 241 - ldver=`$LD --version 2>/dev/null | head -1 | \ 242 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 243 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 244 245 glibcxx_gnu_ld_version=`echo $ldver | \ 246 @@ -104 606,7 +104606,7 @@247 echo "$as_me:$LINENO: checking for ld version" >&5 248 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 249 250 - ldver=`$LD --version 2>/dev/null | head -1 | \ 251 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 252 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 253 254 glibcxx_gnu_ld_version=`echo $ldver | \ 255 @@ -105 851,7 +105851,7 @@256 echo "$as_me:$LINENO: checking for ld version" >&5 257 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 258 259 - ldver=`$LD --version 2>/dev/null | head -1 | \ 260 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 261 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 262 263 glibcxx_gnu_ld_version=`echo $ldver | \ 264 @@ -10 6880,7 +106880,7 @@265 echo "$as_me:$LINENO: checking for ld version" >&5 266 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 267 268 - ldver=`$LD --version 2>/dev/null | head -1 | \ 269 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 270 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 271 272 glibcxx_gnu_ld_version=`echo $ldver | \ 273 diff -Naur gcc-4.2. 0.orig/ltcf-c.sh gcc-4.2.0/ltcf-c.sh274 --- gcc-4.2. 0.orig/ltcf-c.sh 2007-05-16 19:21:19.000000000 -0400275 +++ gcc-4.2. 0/ltcf-c.sh 2007-05-18 16:41:18.000000000 -0400172 diff -Naur gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure 173 --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-06-28 19:02:05.000000000 -0400 174 +++ gcc-4.2.1/libstdc++-v3/configure 2007-07-22 19:31:03.000000000 -0400 175 @@ -8541,7 +8541,7 @@ 176 echo "$as_me:$LINENO: checking for ld version" >&5 177 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 178 179 - ldver=`$LD --version 2>/dev/null | head -1 | \ 180 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 181 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 182 183 glibcxx_gnu_ld_version=`echo $ldver | \ 184 @@ -54451,7 +54451,7 @@ 185 echo "$as_me:$LINENO: checking for ld version" >&5 186 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 187 188 - ldver=`$LD --version 2>/dev/null | head -1 | \ 189 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 190 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 191 192 glibcxx_gnu_ld_version=`echo $ldver | \ 193 @@ -75811,7 +75811,7 @@ 194 echo "$as_me:$LINENO: checking for ld version" >&5 195 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 196 197 - ldver=`$LD --version 2>/dev/null | head -1 | \ 198 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 199 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 200 201 glibcxx_gnu_ld_version=`echo $ldver | \ 202 @@ -77334,7 +77334,7 @@ 203 echo "$as_me:$LINENO: checking for ld version" >&5 204 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 205 206 - ldver=`$LD --version 2>/dev/null | head -1 | \ 207 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 208 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 209 210 glibcxx_gnu_ld_version=`echo $ldver | \ 211 @@ -78825,7 +78825,7 @@ 212 echo "$as_me:$LINENO: checking for ld version" >&5 213 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 214 215 - ldver=`$LD --version 2>/dev/null | head -1 | \ 216 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 217 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 218 219 glibcxx_gnu_ld_version=`echo $ldver | \ 220 @@ -100715,7 +100715,7 @@ 221 echo "$as_me:$LINENO: checking for ld version" >&5 222 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 223 224 - ldver=`$LD --version 2>/dev/null | head -1 | \ 225 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 226 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 227 228 glibcxx_gnu_ld_version=`echo $ldver | \ 229 @@ -101560,7 +101560,7 @@ 230 echo "$as_me:$LINENO: checking for ld version" >&5 231 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 232 233 - ldver=`$LD --version 2>/dev/null | head -1 | \ 234 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 235 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 236 237 glibcxx_gnu_ld_version=`echo $ldver | \ 238 @@ -102961,7 +102961,7 @@ 239 echo "$as_me:$LINENO: checking for ld version" >&5 240 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 241 242 - ldver=`$LD --version 2>/dev/null | head -1 | \ 243 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 244 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 245 246 glibcxx_gnu_ld_version=`echo $ldver | \ 247 @@ -104754,7 +104754,7 @@ 248 echo "$as_me:$LINENO: checking for ld version" >&5 249 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 250 251 - ldver=`$LD --version 2>/dev/null | head -1 | \ 252 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 253 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 254 255 glibcxx_gnu_ld_version=`echo $ldver | \ 256 @@ -105997,7 +105997,7 @@ 257 echo "$as_me:$LINENO: checking for ld version" >&5 258 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 259 260 - ldver=`$LD --version 2>/dev/null | head -1 | \ 261 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 262 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 263 264 glibcxx_gnu_ld_version=`echo $ldver | \ 265 @@ -107024,7 +107024,7 @@ 266 echo "$as_me:$LINENO: checking for ld version" >&5 267 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 268 269 - ldver=`$LD --version 2>/dev/null | head -1 | \ 270 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 271 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 272 273 glibcxx_gnu_ld_version=`echo $ldver | \ 274 diff -Naur gcc-4.2.1.orig/ltcf-c.sh gcc-4.2.1/ltcf-c.sh 275 --- gcc-4.2.1.orig/ltcf-c.sh 2005-11-18 17:53:08.000000000 -0500 276 +++ gcc-4.2.1/ltcf-c.sh 2007-07-22 19:31:03.000000000 -0400 276 277 @@ -153,7 +153,7 @@ 277 278 # If the export-symbols file already is a .def file (1st line … … 283 284 else 284 285 echo EXPORTS > $output_objdir/$soname-def; 285 diff -Naur gcc-4.2. 0.orig/ltcf-gcj.sh gcc-4.2.0/ltcf-gcj.sh286 --- gcc-4.2. 0.orig/ltcf-gcj.sh 2007-05-16 19:21:35.000000000 -0400287 +++ gcc-4.2. 0/ltcf-gcj.sh 2007-05-18 16:41:29.000000000 -0400286 diff -Naur gcc-4.2.1.orig/ltcf-gcj.sh gcc-4.2.1/ltcf-gcj.sh 287 --- gcc-4.2.1.orig/ltcf-gcj.sh 2005-07-15 22:30:53.000000000 -0400 288 +++ gcc-4.2.1/ltcf-gcj.sh 2007-07-22 19:31:03.000000000 -0400 288 289 @@ -156,7 +156,7 @@ 289 290 # If the export-symbols file already is a .def file (1st line
Note:
See TracChangeset
for help on using the changeset viewer.