source:
patches/gcc-4.3.3-posix-1.patch@
4f743c5
Last change on this file since 4f743c5 was 0804c00, checked in by , 16 years ago | |
---|---|
|
|
File size: 13.9 KB |
-
contrib/patch_tester.sh
Submitted By: Jim Gifford (jim at cross-lfs dot org) Date: 01-25-2009 Initial Package Version: 4.3.3 Origin: Jim Gifford Rediffed against 4.1.0 by Chris Staub Rediffed against 4.1.2 by Jim Gifford Rediffed and additions against 4.2.0 by Joe Ciccone Rediffed against 4.3.0 by Joe Ciccone Rediffed against 4.3.3 by Jim Gifford Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.3.3.orig/contrib/patch_tester.sh gcc-4.3.3/contrib/patch_tester.sh
old new 287 287 288 288 if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap &> $1/bootstrap ; then 289 289 report "bootstrap failed with last lines:" 290 tail - 30 $1/bootstrap > $1/last_bootstrap290 tail -n 30 $1/bootstrap > $1/last_bootstrap 291 291 freport $1/last_bootstrap 292 292 report "grep --context=20 Error bootstrap:" 293 293 grep --context=20 Error $1/bootstrap > $1/bootstrap_error … … 420 420 # After selfexec, $TESTING is already set up. 421 421 if [ -d $TESTING ]; then 422 422 # The only file in $TESTING is the patch. 423 PATCH=`ls -rt -1 $TESTING | head - 1`423 PATCH=`ls -rt -1 $TESTING | head -n 1` 424 424 PATCH=$TESTING/$PATCH 425 425 if [ -f $PATCH ]; then 426 426 bootntest_patched && bootntest_pristine && compare_passes … … 429 429 fi 430 430 431 431 while true; do 432 PATCH=`ls -rt -1 $PATCHES | head - 1`432 PATCH=`ls -rt -1 $PATCHES | head -n 1` 433 433 if [ x$PATCH = x ]; then 434 434 sleep ${standby}m 435 435 else -
contrib/test_summary
diff -Naur gcc-4.3.3.orig/contrib/test_summary gcc-4.3.3/contrib/test_summary
old new 107 107 srcdir = configflags; 108 108 sub(/\/configure .*/, "", srcdir); 109 109 printf "LAST_UPDATED: "; 110 system("tail - 1 " srcdir "/LAST_UPDATED");110 system("tail -n 1 " srcdir "/LAST_UPDATED"); 111 111 print ""; 112 112 113 113 sub(/^[^ ]*\/configure */, " ", configflags); -
gcc/configure
diff -Naur gcc-4.3.3.orig/gcc/configure gcc-4.3.3/gcc/configure
old new 20245 20245 # Therefore, use diff -b for the comparisons. 20246 20246 if test x$gcc_cv_objdump != x \ 20247 20247 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 20248 | tail - 3 > conftest.got \20248 | tail -n 3 > conftest.got \ 20249 20249 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 20250 20250 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 20251 20251 then -
gcc/configure.ac
diff -Naur gcc-4.3.3.orig/gcc/configure.ac gcc-4.3.3/gcc/configure.ac
old new 2241 2241 # Therefore, use diff -b for the comparisons. 2242 2242 if test x$gcc_cv_objdump != x \ 2243 2243 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2244 | tail - 3 > conftest.got \2244 | tail -n 3 > conftest.got \ 2245 2245 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 2246 2246 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 2247 2247 then -
gcc/testsuite/ada/acats/run_all.sh
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
old new 68 68 ls ${i}?.adb > ${i}.lst 2> /dev/null 69 69 ls ${i}*m.adb >> ${i}.lst 2> /dev/null 70 70 ls ${i}.adb >> ${i}.lst 2> /dev/null 71 main=`tail - 1 ${i}.lst`71 main=`tail -n 1 ${i}.lst` 72 72 } 73 73 74 74 EXTERNAL_OBJECTS="" -
libgomp/acinclude.m4
diff -Naur gcc-4.3.3.orig/libgomp/acinclude.m4 gcc-4.3.3/libgomp/acinclude.m4
old new 147 147 # Start by getting the version number. I think the libtool test already 148 148 # does some of this, but throws away the result. 149 149 changequote(,) 150 ldver=`$LD --version 2>/dev/null | head - 1 | \150 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 151 151 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 152 152 changequote([,]) 153 153 libgomp_gnu_ld_version=`echo $ldver | \ -
libgomp/configure
diff -Naur gcc-4.3.3.orig/libgomp/configure gcc-4.3.3/libgomp/configure
old new 17600 17600 # Start by getting the version number. I think the libtool test already 17601 17601 # does some of this, but throws away the result. 17602 17602 17603 ldver=`$LD --version 2>/dev/null | head - 1 | \17603 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 17604 17604 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 17605 17605 17606 17606 libgomp_gnu_ld_version=`echo $ldver | \ -
libjava/classpath/configure
diff -Naur gcc-4.3.3.orig/libjava/classpath/configure gcc-4.3.3/libjava/classpath/configure
old new 29126 29126 fi # shortcircut to system "stdint.h" 29127 29127 # ------------------ PREPARE VARIABLES ------------------------------ 29128 29128 if test "$GCC" = "yes" ; then 29129 ac_cv_stdint_message="using gnu compiler "`$CC --version | head - 1`29129 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 29130 29130 else 29131 29131 ac_cv_stdint_message="using $CC" 29132 29132 fi -
libjava/classpath/ltcf-c.sh
diff -Naur gcc-4.3.3.orig/libjava/classpath/ltcf-c.sh gcc-4.3.3/libjava/classpath/ltcf-c.sh
old new 153 153 # If the export-symbols file already is a .def file (1st line 154 154 # is EXPORTS), use it as is. 155 155 # If DATA tags from a recent dlltool are present, honour them! 156 archive_expsym_cmds='if test "x`head - 1 $export_symbols`" = xEXPORTS; then156 archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 157 157 cp $export_symbols $output_objdir/$soname-def; 158 158 else 159 159 echo EXPORTS > $output_objdir/$soname-def; -
libjava/classpath/ltcf-gcj.sh
diff -Naur gcc-4.3.3.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.3/libjava/classpath/ltcf-gcj.sh
old new 156 156 # If the export-symbols file already is a .def file (1st line 157 157 # is EXPORTS), use it as is. 158 158 # If DATA tags from a recent dlltool are present, honour them! 159 archive_expsym_cmds='if test "x`head - 1 $export_symbols`" = xEXPORTS; then159 archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then 160 160 cp $export_symbols $output_objdir/$soname-def; 161 161 else 162 162 echo EXPORTS > $output_objdir/$soname-def; -
libjava/classpath/m4/ax_create_stdint_h.m4
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
old new 217 217 fi # shortcircut to system "stdint.h" 218 218 # ------------------ PREPARE VARIABLES ------------------------------ 219 219 if test "$GCC" = "yes" ; then 220 ac_cv_stdint_message="using gnu compiler "`$CC --version | head - 1`220 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 221 221 else 222 222 ac_cv_stdint_message="using $CC" 223 223 fi -
libjava/configure
diff -Naur gcc-4.3.3.orig/libjava/configure gcc-4.3.3/libjava/configure
old new 18673 18673 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 18674 18674 LD_PROG=`$CC --print-prog-name=ld` 18675 18675 LD_VERSION=`$LD_PROG --version` 18676 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`18677 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`18676 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 18677 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 18678 18678 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 18679 18679 LD_OK="ok" 18680 18680 else -
libjava/mingwld.m4
diff -Naur gcc-4.3.3.orig/libjava/mingwld.m4 gcc-4.3.3/libjava/mingwld.m4
old new 3 3 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 4 4 LD_PROG=`$CC --print-prog-name=ld` 5 5 LD_VERSION=`$LD_PROG --version` 6 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`7 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`6 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 7 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 8 8 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 9 9 LD_OK="ok" 10 10 else -
libstdc++-v3/acinclude.m4
diff -Naur gcc-4.3.3.orig/libstdc++-v3/acinclude.m4 gcc-4.3.3/libstdc++-v3/acinclude.m4
old new 234 234 if test x"$with_gnu_ld" = x"yes"; then 235 235 AC_MSG_CHECKING([for ld version]) 236 236 changequote(,) 237 ldver=`$LD --version 2>/dev/null | head - 1 | \237 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 238 238 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 239 239 changequote([,]) 240 240 glibcxx_gnu_ld_version=`echo $ldver | \ -
libstdc++-v3/configure
diff -Naur gcc-4.3.3.orig/libstdc++-v3/configure gcc-4.3.3/libstdc++-v3/configure
old new 17490 17490 echo "$as_me:$LINENO: checking for ld version" >&5 17491 17491 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 17492 17492 17493 ldver=`$LD --version 2>/dev/null | head - 1 | \17493 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 17494 17494 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 17495 17495 17496 17496 glibcxx_gnu_ld_version=`echo $ldver | \ … … 42215 42215 echo "$as_me:$LINENO: checking for ld version" >&5 42216 42216 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 42217 42217 42218 ldver=`$LD --version 2>/dev/null | head - 1 | \42218 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 42219 42219 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 42220 42220 42221 42221 glibcxx_gnu_ld_version=`echo $ldver | \ … … 84606 84606 echo "$as_me:$LINENO: checking for ld version" >&5 84607 84607 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 84608 84608 84609 ldver=`$LD --version 2>/dev/null | head - 1 | \84609 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 84610 84610 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 84611 84611 84612 84612 glibcxx_gnu_ld_version=`echo $ldver | \ … … 85622 85622 echo "$as_me:$LINENO: checking for ld version" >&5 85623 85623 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 85624 85624 85625 ldver=`$LD --version 2>/dev/null | head - 1 | \85625 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 85626 85626 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 85627 85627 85628 85628 glibcxx_gnu_ld_version=`echo $ldver | \ … … 86610 86610 echo "$as_me:$LINENO: checking for ld version" >&5 86611 86611 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 86612 86612 86613 ldver=`$LD --version 2>/dev/null | head - 1 | \86613 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 86614 86614 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 86615 86615 86616 86616 glibcxx_gnu_ld_version=`echo $ldver | \ … … 109089 109089 echo "$as_me:$LINENO: checking for ld version" >&5 109090 109090 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 109091 109091 109092 ldver=`$LD --version 2>/dev/null | head - 1 | \109092 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 109093 109093 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 109094 109094 109095 109095 glibcxx_gnu_ld_version=`echo $ldver | \ … … 109934 109934 echo "$as_me:$LINENO: checking for ld version" >&5 109935 109935 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 109936 109936 109937 ldver=`$LD --version 2>/dev/null | head - 1 | \109937 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 109938 109938 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 109939 109939 109940 109940 glibcxx_gnu_ld_version=`echo $ldver | \ … … 110828 110828 echo "$as_me:$LINENO: checking for ld version" >&5 110829 110829 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 110830 110830 110831 ldver=`$LD --version 2>/dev/null | head - 1 | \110831 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 110832 110832 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 110833 110833 110834 110834 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112114 112114 echo "$as_me:$LINENO: checking for ld version" >&5 112115 112115 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 112116 112116 112117 ldver=`$LD --version 2>/dev/null | head - 1 | \112117 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112118 112118 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 112119 112119 112120 112120 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112850 112850 echo "$as_me:$LINENO: checking for ld version" >&5 112851 112851 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 112852 112852 112853 ldver=`$LD --version 2>/dev/null | head - 1 | \112853 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112854 112854 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 112855 112855 112856 112856 glibcxx_gnu_ld_version=`echo $ldver | \ … … 113351 113351 echo "$as_me:$LINENO: checking for ld version" >&5 113352 113352 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 113353 113353 113354 ldver=`$LD --version 2>/dev/null | head - 1 | \113354 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 113355 113355 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 113356 113356 113357 113357 glibcxx_gnu_ld_version=`echo $ldver | \
Note:
See TracBrowser
for help on using the repository browser.