source:
patches/gcc-4.2.2-posix-1.patch@
28e6dc4
Last change on this file since 28e6dc4 was 5a90148, checked in by , 17 years ago | |
---|---|
|
|
File size: 14.0 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 Upstream Status: On Hold Description: Makes GCC Posix Compliant diff -Naur gcc-4.2.0.orig/contrib/test_summary gcc-4.2.0/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.ac
diff -Naur gcc-4.2.0.orig/gcc/configure.ac gcc-4.2.0/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/configure
diff -Naur gcc-4.2.0.orig/gcc/configure gcc-4.2.0/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/testsuite/ada/acats/run_all.sh
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
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.0.orig/libgomp/acinclude.m4 gcc-4.2.0/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.0.orig/libgomp/configure gcc-4.2.0/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/m4/ax_create_stdint_h.m4
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
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/classpath/configure
diff -Naur gcc-4.2.0.orig/libjava/classpath/configure gcc-4.2.0/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.0.orig/libjava/classpath/ltcf-c.sh gcc-4.2.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.2.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.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/mingwld.m4
diff -Naur gcc-4.2.0.orig/libjava/mingwld.m4 gcc-4.2.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 -
libjava/configure
diff -Naur gcc-4.2.0.orig/libjava/configure gcc-4.2.0/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 -
libstdc++-v3/acinclude.m4
diff -Naur gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 gcc-4.2.0/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.0.orig/libstdc++-v3/configure gcc-4.2.0/libstdc++-v3/configure
old new 8377 8377 echo "$as_me:$LINENO: checking for ld version" >&5 8378 8378 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 8379 8379 8380 ldver=`$LD --version 2>/dev/null | head - 1 | \8380 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 8381 8381 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 8382 8382 8383 8383 glibcxx_gnu_ld_version=`echo $ldver | \ … … 54289 54289 echo "$as_me:$LINENO: checking for ld version" >&5 54290 54290 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 54291 54291 54292 ldver=`$LD --version 2>/dev/null | head - 1 | \54292 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 54293 54293 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 54294 54294 54295 54295 glibcxx_gnu_ld_version=`echo $ldver | \ … … 75651 75651 echo "$as_me:$LINENO: checking for ld version" >&5 75652 75652 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 75653 75653 75654 ldver=`$LD --version 2>/dev/null | head - 1 | \75654 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 75655 75655 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 75656 75656 75657 75657 glibcxx_gnu_ld_version=`echo $ldver | \ … … 77176 77176 echo "$as_me:$LINENO: checking for ld version" >&5 77177 77177 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 77178 77178 77179 ldver=`$LD --version 2>/dev/null | head - 1 | \77179 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 77180 77180 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 77181 77181 77182 77182 glibcxx_gnu_ld_version=`echo $ldver | \ … … 78669 78669 echo "$as_me:$LINENO: checking for ld version" >&5 78670 78670 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 78671 78671 78672 ldver=`$LD --version 2>/dev/null | head - 1 | \78672 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 78673 78673 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 78674 78674 78675 78675 glibcxx_gnu_ld_version=`echo $ldver | \ … … 100561 100561 echo "$as_me:$LINENO: checking for ld version" >&5 100562 100562 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 100563 100563 100564 ldver=`$LD --version 2>/dev/null | head - 1 | \100564 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 100565 100565 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 100566 100566 100567 100567 glibcxx_gnu_ld_version=`echo $ldver | \ … … 101408 101408 echo "$as_me:$LINENO: checking for ld version" >&5 101409 101409 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 101410 101410 101411 ldver=`$LD --version 2>/dev/null | head - 1 | \101411 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 101412 101412 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 101413 101413 101414 101414 glibcxx_gnu_ld_version=`echo $ldver | \ … … 102811 102811 echo "$as_me:$LINENO: checking for ld version" >&5 102812 102812 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 102813 102813 102814 ldver=`$LD --version 2>/dev/null | head - 1 | \102814 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 102815 102815 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 102816 102816 102817 102817 glibcxx_gnu_ld_version=`echo $ldver | \ … … 104606 104606 echo "$as_me:$LINENO: checking for ld version" >&5 104607 104607 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 104608 104608 104609 ldver=`$LD --version 2>/dev/null | head - 1 | \104609 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 104610 104610 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 104611 104611 104612 104612 glibcxx_gnu_ld_version=`echo $ldver | \ … … 105851 105851 echo "$as_me:$LINENO: checking for ld version" >&5 105852 105852 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 105853 105853 105854 ldver=`$LD --version 2>/dev/null | head - 1 | \105854 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 105855 105855 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 105856 105856 105857 105857 glibcxx_gnu_ld_version=`echo $ldver | \ … … 106880 106880 echo "$as_me:$LINENO: checking for ld version" >&5 106881 106881 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 106882 106882 106883 ldver=`$LD --version 2>/dev/null | head - 1 | \106883 ldver=`$LD --version 2>/dev/null | head -n 1 | \ 106884 106884 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 106885 106885 106886 106886 glibcxx_gnu_ld_version=`echo $ldver | \ -
ltcf-c.sh
diff -Naur gcc-4.2.0.orig/ltcf-c.sh gcc-4.2.0/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.0.orig/ltcf-gcj.sh gcc-4.2.0/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.