source:
patches/gcc-4.3.2-posix-1.patch@
cbf293f
Last change on this file since cbf293f was 7b31c44, checked in by , 16 years ago | |
---|---|
|
|
File size: 15.0 KB |
-
contrib/patch_tester.sh
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 2008-08-24 Initial Package Version: 4.1.2 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 Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.3.1.orig/contrib/patch_tester.sh gcc-4.3.1/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.1.orig/contrib/test_summary gcc-4.3.1/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.1.orig/gcc/configure gcc-4.3.1/gcc/configure
old new 14265 14265 # Therefore, use diff -b for the comparisons. 14266 14266 if test x$gcc_cv_objdump != x \ 14267 14267 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 14268 | tail - 3 > conftest.got \14268 | tail -n 3 > conftest.got \ 14269 14269 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 14270 14270 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 14271 14271 then -
gcc/configure.ac
diff -Naur gcc-4.3.1.orig/gcc/configure.ac gcc-4.3.1/gcc/configure.ac
old new 2226 2226 # Therefore, use diff -b for the comparisons. 2227 2227 if test x$gcc_cv_objdump != x \ 2228 2228 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2229 | tail - 3 > conftest.got \2229 | tail -n 3 > conftest.got \ 2230 2230 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 2231 2231 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 2232 2232 then -
gcc/gccbug.in
diff -Naur gcc-4.3.1.orig/gcc/gccbug.in gcc-4.3.1/gcc/gccbug.in
old new 31 31 32 32 # The default release for this host. 33 33 # We have to guess at what program_transform_name might have done. 34 # "sed 1q" because neither "head - 1" nor "head -n 1" is universal, argh.34 # "sed 1q" because neither "head -n 1" nor "head -n n 1" is universal, argh. 35 35 36 36 DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`" 37 37 DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`" -
gcc/testsuite/ada/acats/run_all.sh
diff -Naur gcc-4.3.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.3.1/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.1.orig/libgomp/acinclude.m4 gcc-4.3.1/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.1.orig/libgomp/configure gcc-4.3.1/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/ChangeLog-2004
diff -Naur gcc-4.3.1.orig/libjava/classpath/ChangeLog-2004 gcc-4.3.1/libjava/classpath/ChangeLog-2004
old new 8256 8256 8257 8257 2004-08-17 Casey Marshall <csm@gnu.org> 8258 8258 8259 * autogen.sh: use `head -n 1' instead of `head -1'.8259 * autogen.sh: use `head -n n 1' instead of `head -n 1'. 8260 8260 8261 8261 2004-08-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 8262 8262 -
libjava/classpath/configure
diff -Naur gcc-4.3.1.orig/libjava/classpath/configure gcc-4.3.1/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.1.orig/libjava/classpath/ltcf-c.sh gcc-4.3.1/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.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.1/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.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.3.1/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.1.orig/libjava/configure gcc-4.3.1/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.1.orig/libjava/mingwld.m4 gcc-4.3.1/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.1.orig/libstdc++-v3/acinclude.m4 gcc-4.3.1/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.1.orig/libstdc++-v3/configure gcc-4.3.1/libstdc++-v3/configure
old new 17488 17488 echo "$as_me:$LINENO: checking for ld version" >&5 17489 17489 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 17490 17490 17491 ldver=`$LD --version 2>/dev/null | head - 1 | \17491 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 17492 17492 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 17493 17493 17494 17494 glibcxx_gnu_ld_version=`echo $ldver | \ … … 42213 42213 echo "$as_me:$LINENO: checking for ld version" >&5 42214 42214 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 42215 42215 42216 ldver=`$LD --version 2>/dev/null | head - 1 | \42216 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 42217 42217 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 42218 42218 42219 42219 glibcxx_gnu_ld_version=`echo $ldver | \ … … 84604 84604 echo "$as_me:$LINENO: checking for ld version" >&5 84605 84605 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 84606 84606 84607 ldver=`$LD --version 2>/dev/null | head - 1 | \84607 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 84608 84608 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 84609 84609 84610 84610 glibcxx_gnu_ld_version=`echo $ldver | \ … … 85620 85620 echo "$as_me:$LINENO: checking for ld version" >&5 85621 85621 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 85622 85622 85623 ldver=`$LD --version 2>/dev/null | head - 1 | \85623 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 85624 85624 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 85625 85625 85626 85626 glibcxx_gnu_ld_version=`echo $ldver | \ … … 86608 86608 echo "$as_me:$LINENO: checking for ld version" >&5 86609 86609 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 86610 86610 86611 ldver=`$LD --version 2>/dev/null | head - 1 | \86611 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 86612 86612 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 86613 86613 86614 86614 glibcxx_gnu_ld_version=`echo $ldver | \ … … 109087 109087 echo "$as_me:$LINENO: checking for ld version" >&5 109088 109088 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 109089 109089 109090 ldver=`$LD --version 2>/dev/null | head - 1 | \109090 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 109091 109091 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 109092 109092 109093 109093 glibcxx_gnu_ld_version=`echo $ldver | \ … … 109932 109932 echo "$as_me:$LINENO: checking for ld version" >&5 109933 109933 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 109934 109934 109935 ldver=`$LD --version 2>/dev/null | head - 1 | \109935 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 109936 109936 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 109937 109937 109938 109938 glibcxx_gnu_ld_version=`echo $ldver | \ … … 110826 110826 echo "$as_me:$LINENO: checking for ld version" >&5 110827 110827 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 110828 110828 110829 ldver=`$LD --version 2>/dev/null | head - 1 | \110829 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 110830 110830 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 110831 110831 110832 110832 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112112 112112 echo "$as_me:$LINENO: checking for ld version" >&5 112113 112113 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 112114 112114 112115 ldver=`$LD --version 2>/dev/null | head - 1 | \112115 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112116 112116 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 112117 112117 112118 112118 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112848 112848 echo "$as_me:$LINENO: checking for ld version" >&5 112849 112849 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 112850 112850 112851 ldver=`$LD --version 2>/dev/null | head - 1 | \112851 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112852 112852 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 112853 112853 112854 112854 glibcxx_gnu_ld_version=`echo $ldver | \ … … 113349 113349 echo "$as_me:$LINENO: checking for ld version" >&5 113350 113350 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 113351 113351 113352 ldver=`$LD --version 2>/dev/null | head - 1 | \113352 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 113353 113353 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 113354 113354 113355 113355 glibcxx_gnu_ld_version=`echo $ldver | \
Note:
See TracBrowser
for help on using the repository browser.