source:
patches/gcc-4.2.1-posix-1.patch@
095ad7c
Last change on this file since 095ad7c was 01dba47, checked in by , 17 years ago | |
---|---|
|
|
File size: 14.1 KB |
-
contrib/test_summary
Submitted By: Jim Gifford (patches at jg555 dot com) Date: 2007-02-14 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.2.1 by Joe Ciccone Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.2.1.orig/contrib/test_summary gcc-4.2.1/contrib/test_summary
old new 106 106 srcdir = configflags; 107 107 sub(/\/configure .*/, "", srcdir); 108 108 printf "LAST_UPDATED: "; 109 system("tail - 1 " srcdir "/LAST_UPDATED");109 system("tail -n 1 " srcdir "/LAST_UPDATED"); 110 110 print ""; 111 111 112 112 sub(/^[^ ]*\/configure */, " ", configflags); -
gcc/configure
diff -Naur gcc-4.2.1.orig/gcc/configure gcc-4.2.1/gcc/configure
old new 14120 14120 # Therefore, use diff -b for the comparisons. 14121 14121 if test x$gcc_cv_objdump != x \ 14122 14122 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 14123 | tail - 3 > conftest.got \14123 | tail -n 3 > conftest.got \ 14124 14124 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 14125 14125 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 14126 14126 then -
gcc/configure.ac
diff -Naur gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac
old new 2227 2227 # Therefore, use diff -b for the comparisons. 2228 2228 if test x$gcc_cv_objdump != x \ 2229 2229 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 2230 | tail - 3 > conftest.got \2230 | tail -n 3 > conftest.got \ 2231 2231 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 2232 2232 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 2233 2233 then -
gcc/testsuite/ada/acats/run_all.sh
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
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.2.1.orig/libgomp/acinclude.m4 gcc-4.2.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.2.1.orig/libgomp/configure gcc-4.2.1/libgomp/configure
old new 9314 9314 # Start by getting the version number. I think the libtool test already 9315 9315 # does some of this, but throws away the result. 9316 9316 9317 ldver=`$LD --version 2>/dev/null | head - 1 | \9317 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 9318 9318 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 9319 9319 9320 9320 libgomp_gnu_ld_version=`echo $ldver | \ -
libjava/classpath/configure
diff -Naur gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/libjava/classpath/configure
old new 18514 18514 fi # shortcircut to system "stdint.h" 18515 18515 # ------------------ PREPARE VARIABLES ------------------------------ 18516 18516 if test "$GCC" = "yes" ; then 18517 ac_cv_stdint_message="using gnu compiler "`$CC --version | head - 1`18517 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 18518 18518 else 18519 18519 ac_cv_stdint_message="using $CC" 18520 18520 fi -
libjava/classpath/ltcf-c.sh
diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.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.2.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.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.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.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.2.1.orig/libjava/configure gcc-4.2.1/libjava/configure
old new 7025 7025 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 7026 7026 LD_PROG=`$CC --print-prog-name=ld` 7027 7027 LD_VERSION=`$LD_PROG --version` 7028 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`7029 LD_VERSION_MINOR=`echo "$LD_VERSION" | head - 1 | cut -d '.' -f 2`7028 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 7029 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 7030 7030 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 7031 7031 LD_OK="ok" 7032 7032 else -
libjava/mingwld.m4
diff -Naur gcc-4.2.1.orig/libjava/mingwld.m4 gcc-4.2.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.2.1.orig/libstdc++-v3/acinclude.m4 gcc-4.2.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.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
old new 8541 8541 echo "$as_me:$LINENO: checking for ld version" >&5 8542 8542 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 8543 8543 8544 ldver=`$LD --version 2>/dev/null | head - 1 | \8544 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 8545 8545 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 8546 8546 8547 8547 glibcxx_gnu_ld_version=`echo $ldver | \ … … 54451 54451 echo "$as_me:$LINENO: checking for ld version" >&5 54452 54452 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 54453 54453 54454 ldver=`$LD --version 2>/dev/null | head - 1 | \54454 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 54455 54455 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 54456 54456 54457 54457 glibcxx_gnu_ld_version=`echo $ldver | \ … … 75811 75811 echo "$as_me:$LINENO: checking for ld version" >&5 75812 75812 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 75813 75813 75814 ldver=`$LD --version 2>/dev/null | head - 1 | \75814 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 75815 75815 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 75816 75816 75817 75817 glibcxx_gnu_ld_version=`echo $ldver | \ … … 77334 77334 echo "$as_me:$LINENO: checking for ld version" >&5 77335 77335 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 77336 77336 77337 ldver=`$LD --version 2>/dev/null | head - 1 | \77337 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 77338 77338 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 77339 77339 77340 77340 glibcxx_gnu_ld_version=`echo $ldver | \ … … 78825 78825 echo "$as_me:$LINENO: checking for ld version" >&5 78826 78826 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 78827 78827 78828 ldver=`$LD --version 2>/dev/null | head - 1 | \78828 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 78829 78829 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 78830 78830 78831 78831 glibcxx_gnu_ld_version=`echo $ldver | \ … … 100715 100715 echo "$as_me:$LINENO: checking for ld version" >&5 100716 100716 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 100717 100717 100718 ldver=`$LD --version 2>/dev/null | head - 1 | \100718 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 100719 100719 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 100720 100720 100721 100721 glibcxx_gnu_ld_version=`echo $ldver | \ … … 101560 101560 echo "$as_me:$LINENO: checking for ld version" >&5 101561 101561 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 101562 101562 101563 ldver=`$LD --version 2>/dev/null | head - 1 | \101563 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 101564 101564 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 101565 101565 101566 101566 glibcxx_gnu_ld_version=`echo $ldver | \ … … 102961 102961 echo "$as_me:$LINENO: checking for ld version" >&5 102962 102962 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 102963 102963 102964 ldver=`$LD --version 2>/dev/null | head - 1 | \102964 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 102965 102965 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 102966 102966 102967 102967 glibcxx_gnu_ld_version=`echo $ldver | \ … … 104754 104754 echo "$as_me:$LINENO: checking for ld version" >&5 104755 104755 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 104756 104756 104757 ldver=`$LD --version 2>/dev/null | head - 1 | \104757 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 104758 104758 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 104759 104759 104760 104760 glibcxx_gnu_ld_version=`echo $ldver | \ … … 105997 105997 echo "$as_me:$LINENO: checking for ld version" >&5 105998 105998 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 105999 105999 106000 ldver=`$LD --version 2>/dev/null | head - 1 | \106000 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 106001 106001 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 106002 106002 106003 106003 glibcxx_gnu_ld_version=`echo $ldver | \ … … 107024 107024 echo "$as_me:$LINENO: checking for ld version" >&5 107025 107025 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 107026 107026 107027 ldver=`$LD --version 2>/dev/null | head - 1 | \107027 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 107028 107028 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 107029 107029 107030 107030 glibcxx_gnu_ld_version=`echo $ldver | \ -
ltcf-c.sh
diff -Naur gcc-4.2.1.orig/ltcf-c.sh gcc-4.2.1/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; -
ltcf-gcj.sh
diff -Naur gcc-4.2.1.orig/ltcf-gcj.sh gcc-4.2.1/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;
Note:
See TracBrowser
for help on using the repository browser.