source:
patches/gcc-4.4.0-posix-1.patch@
3c67a00
Last change on this file since 3c67a00 was 56a4eb5, checked in by , 16 years ago | |
---|---|
|
|
File size: 14.0 KB |
-
contrib/patch_tester.sh
Submitted By: Jim Gifford (jim at cross-lfs dot org) Date: 04-21-2009 Initial Package Version: 4.4.0 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 Rediffed against 4.4.0 by Jim Gifford Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.4.0.orig/contrib/patch_tester.sh gcc-4.4.0/contrib/patch_tester.sh
old new 324 324 MAKE_ARGS="$default_make $MAKE_ARGS" 325 325 if ! eval make $dashj $MAKE_ARGS &> $1/bootstrap ; then 326 326 report "bootstrap with `basename $1` version failed with last lines:" 327 tail - 30 $1/bootstrap > $1/last_bootstrap327 tail -n 30 $1/bootstrap > $1/last_bootstrap 328 328 freport $1/last_bootstrap 329 329 report "grep --context=20 Error bootstrap:" 330 330 grep --context=20 Error $1/bootstrap > $1/bootstrap_error … … 464 464 # After selfexec, $TESTING is already set up. 465 465 if [ -d $TESTING ]; then 466 466 # The only file in $TESTING is the patch. 467 PATCH=`ls -rt -1 $TESTING | head - 1`467 PATCH=`ls -rt -1 $TESTING | head -n 1` 468 468 PATCH=$TESTING/$PATCH 469 469 if [ -f $PATCH ]; then 470 470 bootntest_patched && bootntest_pristine && compare_passes … … 474 474 475 475 firstpatch=true 476 476 while true; do 477 PATCH=`ls -rt -1 $PATCHES | head - 1`477 PATCH=`ls -rt -1 $PATCHES | head -n 1` 478 478 if [ x$PATCH = x ]; then 479 479 if [ $stop = true ]; then 480 480 if [ $firstpatch = true ]; then -
contrib/test_summary
diff -Naur gcc-4.4.0.orig/contrib/test_summary gcc-4.4.0/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.4.0.orig/gcc/configure gcc-4.4.0/gcc/configure
old new 21750 21750 # Therefore, use diff -b for the comparisons. 21751 21751 if test x$gcc_cv_objdump != x \ 21752 21752 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 21753 | tail - 3 > conftest.got \21753 | tail -n 3 > conftest.got \ 21754 21754 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 21755 21755 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 21756 21756 then -
gcc/configure.ac
diff -Naur gcc-4.4.0.orig/gcc/configure.ac gcc-4.4.0/gcc/configure.ac
old new 2351 2351 # Therefore, use diff -b for the comparisons. 2352 2352 if test x$gcc_cv_objdump != x \ 2353 2353 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2354 | tail - 3 > conftest.got \2354 | tail -n 3 > conftest.got \ 2355 2355 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 2356 2356 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 2357 2357 then -
gcc/testsuite/ada/acats/run_all.sh
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
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.4.0.orig/libgomp/acinclude.m4 gcc-4.4.0/libgomp/acinclude.m4
old new 152 152 libgomp_ld_is_gold=yes 153 153 fi 154 154 changequote(,) 155 ldver=`$LD --version 2>/dev/null | head - 1 | \155 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 156 156 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 157 157 changequote([,]) 158 158 libgomp_gnu_ld_version=`echo $ldver | \ -
libgomp/configure
diff -Naur gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure
old new 18486 18486 libgomp_ld_is_gold=yes 18487 18487 fi 18488 18488 18489 ldver=`$LD --version 2>/dev/null | head - 1 | \18489 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 18490 18490 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 18491 18491 18492 18492 libgomp_gnu_ld_version=`echo $ldver | \ -
libjava/classpath/configure
diff -Naur gcc-4.4.0.orig/libjava/classpath/configure gcc-4.4.0/libjava/classpath/configure
old new 29072 29072 fi # shortcircut to system "stdint.h" 29073 29073 # ------------------ PREPARE VARIABLES ------------------------------ 29074 29074 if test "$GCC" = "yes" ; then 29075 ac_cv_stdint_message="using gnu compiler "`$CC --version | head - 1`29075 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 29076 29076 else 29077 29077 ac_cv_stdint_message="using $CC" 29078 29078 fi -
libjava/classpath/ltcf-c.sh
diff -Naur gcc-4.4.0.orig/libjava/classpath/ltcf-c.sh gcc-4.4.0/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.4.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.4.0/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.4.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.4.0/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.4.0.orig/libjava/configure gcc-4.4.0/libjava/configure
old new 18919 18919 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 18920 18920 LD_PROG=`$CC --print-prog-name=ld` 18921 18921 LD_VERSION=`$LD_PROG --version` 18922 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`18923 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`18922 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 18923 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 18924 18924 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 18925 18925 LD_OK="ok" 18926 18926 else -
libjava/mingwld.m4
diff -Naur gcc-4.4.0.orig/libjava/mingwld.m4 gcc-4.4.0/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.4.0.orig/libstdc++-v3/acinclude.m4 gcc-4.4.0/libstdc++-v3/acinclude.m4
old new 238 238 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 239 239 glibcxx_ld_is_gold=yes 240 240 fi 241 ldver=`$LD --version 2>/dev/null | head - 1 | \241 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 242 242 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 243 243 changequote([,]) 244 244 glibcxx_gnu_ld_version=`echo $ldver | \ -
libstdc++-v3/configure
diff -Naur gcc-4.4.0.orig/libstdc++-v3/configure gcc-4.4.0/libstdc++-v3/configure
old new 23489 23489 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 23490 23490 glibcxx_ld_is_gold=yes 23491 23491 fi 23492 ldver=`$LD --version 2>/dev/null | head - 1 | \23492 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 23493 23493 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 23494 23494 23495 23495 glibcxx_gnu_ld_version=`echo $ldver | \ … … 42055 42055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 42056 42056 glibcxx_ld_is_gold=yes 42057 42057 fi 42058 ldver=`$LD --version 2>/dev/null | head - 1 | \42058 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 42059 42059 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 42060 42060 42061 42061 glibcxx_gnu_ld_version=`echo $ldver | \ … … 76333 76333 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 76334 76334 glibcxx_ld_is_gold=yes 76335 76335 fi 76336 ldver=`$LD --version 2>/dev/null | head - 1 | \76336 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 76337 76337 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 76338 76338 76339 76339 glibcxx_gnu_ld_version=`echo $ldver | \ … … 76645 76645 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 76646 76646 glibcxx_ld_is_gold=yes 76647 76647 fi 76648 ldver=`$LD --version 2>/dev/null | head - 1 | \76648 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 76649 76649 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 76650 76650 76651 76651 glibcxx_gnu_ld_version=`echo $ldver | \ … … 77328 77328 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 77329 77329 glibcxx_ld_is_gold=yes 77330 77330 fi 77331 ldver=`$LD --version 2>/dev/null | head - 1 | \77331 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 77332 77332 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 77333 77333 77334 77334 glibcxx_gnu_ld_version=`echo $ldver | \ … … 95080 95080 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 95081 95081 glibcxx_ld_is_gold=yes 95082 95082 fi 95083 ldver=`$LD --version 2>/dev/null | head - 1 | \95083 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 95084 95084 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 95085 95085 95086 95086 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112274 112274 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 112275 112275 glibcxx_ld_is_gold=yes 112276 112276 fi 112277 ldver=`$LD --version 2>/dev/null | head - 1 | \112277 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112278 112278 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 112279 112279 112280 112280 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112493 112493 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 112494 112494 glibcxx_ld_is_gold=yes 112495 112495 fi 112496 ldver=`$LD --version 2>/dev/null | head - 1 | \112496 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112497 112497 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 112498 112498 112499 112499 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112678 112678 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 112679 112679 glibcxx_ld_is_gold=yes 112680 112680 fi 112681 ldver=`$LD --version 2>/dev/null | head - 1 | \112681 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112682 112682 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 112683 112683 112684 112684 glibcxx_gnu_ld_version=`echo $ldver | \ … … 112899 112899 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 112900 112900 glibcxx_ld_is_gold=yes 112901 112901 fi 112902 ldver=`$LD --version 2>/dev/null | head - 1 | \112902 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 112903 112903 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 112904 112904 112905 112905 glibcxx_gnu_ld_version=`echo $ldver | \ … … 113121 113121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then 113122 113122 glibcxx_ld_is_gold=yes 113123 113123 fi 113124 ldver=`$LD --version 2>/dev/null | head - 1 | \113124 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 113125 113125 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'` 113126 113126 113127 113127 glibcxx_gnu_ld_version=`echo $ldver | \
Note:
See TracBrowser
for help on using the repository browser.