source: patches/gcc-4.2.4-posix-1.patch@ 32f7ffc

Last change on this file since 32f7ffc was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
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  
    106106    srcdir = configflags;
    107107    sub(/\/configure .*/, "", srcdir);
    108108    printf "LAST_UPDATED: ";
    109     system("tail -1 " srcdir "/LAST_UPDATED");
     109    system("tail -n 1 " srcdir "/LAST_UPDATED");
    110110    print "";
    111111
    112112    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  
    22272227  # Therefore, use diff -b for the comparisons.
    22282228  if test x$gcc_cv_objdump != x \
    22292229  && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
    2230      | tail -3 > conftest.got \
     2230     | tail -n 3 > conftest.got \
    22312231  && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \
    22322232    || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    22332233  then
  • gcc/configure

    diff -Naur gcc-4.2.0.orig/gcc/configure gcc-4.2.0/gcc/configure
    old new  
    1412014120  # Therefore, use diff -b for the comparisons.
    1412114121  if test x$gcc_cv_objdump != x \
    1412214122  && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
    14123      | tail -3 > conftest.got \
     14123     | tail -n 3 > conftest.got \
    1412414124  && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \
    1412514125    || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    1412614126  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  
    6868  ls ${i}?.adb > ${i}.lst 2> /dev/null
    6969  ls ${i}*m.adb >> ${i}.lst 2> /dev/null
    7070  ls ${i}.adb >> ${i}.lst 2> /dev/null
    71   main=`tail -1 ${i}.lst`
     71  main=`tail -n 1 ${i}.lst`
    7272}
    7373
    7474EXTERNAL_OBJECTS=""
  • libgomp/acinclude.m4

    diff -Naur gcc-4.2.0.orig/libgomp/acinclude.m4 gcc-4.2.0/libgomp/acinclude.m4
    old new  
    147147  # Start by getting the version number.  I think the libtool test already
    148148  # does some of this, but throws away the result.
    149149  changequote(,)
    150   ldver=`$LD --version 2>/dev/null | head -1 | \
     150  ldver=`$LD --version 2>/dev/null | head -n 1 | \
    151151         sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    152152  changequote([,])
    153153  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  
    93149314  # Start by getting the version number.  I think the libtool test already
    93159315  # does some of this, but throws away the result.
    93169316
    9317   ldver=`$LD --version 2>/dev/null | head -1 | \
     9317  ldver=`$LD --version 2>/dev/null | head -n 1 | \
    93189318         sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    93199319
    93209320  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  
    217217fi # shortcircut to system "stdint.h"
    218218# ------------------ PREPARE VARIABLES ------------------------------
    219219if test "$GCC" = "yes" ; then
    220 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
     220ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1`
    221221else
    222222ac_cv_stdint_message="using $CC"
    223223fi
  • libjava/classpath/configure

    diff -Naur gcc-4.2.0.orig/libjava/classpath/configure gcc-4.2.0/libjava/classpath/configure
    old new  
    1851418514fi # shortcircut to system "stdint.h"
    1851518515# ------------------ PREPARE VARIABLES ------------------------------
    1851618516if test "$GCC" = "yes" ; then
    18517 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
     18517ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1`
    1851818518else
    1851918519ac_cv_stdint_message="using $CC"
    1852018520fi
  • 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  
    153153    # If the export-symbols file already is a .def file (1st line
    154154    # is EXPORTS), use it as is.
    155155    # If DATA tags from a recent dlltool are present, honour them!
    156     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     156    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    157157        cp $export_symbols $output_objdir/$soname-def;
    158158      else
    159159        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  
    156156    # If the export-symbols file already is a .def file (1st line
    157157    # is EXPORTS), use it as is.
    158158    # If DATA tags from a recent dlltool are present, honour them!
    159     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     159    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    160160        cp $export_symbols $output_objdir/$soname-def;
    161161      else
    162162        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  
    33AC_MSG_CHECKING(whether 'ld' is at least 2.13)
    44LD_PROG=`$CC --print-prog-name=ld`
    55LD_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`
     6LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     7LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
    88if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
    99  LD_OK="ok"
    1010else
  • libjava/configure

    diff -Naur gcc-4.2.0.orig/libjava/configure gcc-4.2.0/libjava/configure
    old new  
    70257025echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
    70267026LD_PROG=`$CC --print-prog-name=ld`
    70277027LD_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`
     7028LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     7029LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
    70307030if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
    70317031  LD_OK="ok"
    70327032else
  • 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  
    234234  if test x"$with_gnu_ld" = x"yes"; then
    235235    AC_MSG_CHECKING([for ld version])
    236236    changequote(,)
    237     ldver=`$LD --version 2>/dev/null | head -1 | \
     237    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    238238           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    239239    changequote([,])
    240240    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  
    83778377    echo "$as_me:$LINENO: checking for ld version" >&5
    83788378echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    83798379
    8380     ldver=`$LD --version 2>/dev/null | head -1 | \
     8380    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    83818381           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    83828382
    83838383    glibcxx_gnu_ld_version=`echo $ldver | \
     
    5428954289    echo "$as_me:$LINENO: checking for ld version" >&5
    5429054290echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    5429154291
    54292     ldver=`$LD --version 2>/dev/null | head -1 | \
     54292    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    5429354293           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    5429454294
    5429554295    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7565175651    echo "$as_me:$LINENO: checking for ld version" >&5
    7565275652echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7565375653
    75654     ldver=`$LD --version 2>/dev/null | head -1 | \
     75654    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7565575655           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7565675656
    7565775657    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7717677176    echo "$as_me:$LINENO: checking for ld version" >&5
    7717777177echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7717877178
    77179     ldver=`$LD --version 2>/dev/null | head -1 | \
     77179    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7718077180           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7718177181
    7718277182    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7866978669    echo "$as_me:$LINENO: checking for ld version" >&5
    7867078670echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7867178671
    78672     ldver=`$LD --version 2>/dev/null | head -1 | \
     78672    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7867378673           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7867478674
    7867578675    glibcxx_gnu_ld_version=`echo $ldver | \
     
    100561100561    echo "$as_me:$LINENO: checking for ld version" >&5
    100562100562echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    100563100563
    100564     ldver=`$LD --version 2>/dev/null | head -1 | \
     100564    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    100565100565           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    100566100566
    100567100567    glibcxx_gnu_ld_version=`echo $ldver | \
     
    101408101408    echo "$as_me:$LINENO: checking for ld version" >&5
    101409101409echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    101410101410
    101411     ldver=`$LD --version 2>/dev/null | head -1 | \
     101411    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    101412101412           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    101413101413
    101414101414    glibcxx_gnu_ld_version=`echo $ldver | \
     
    102811102811    echo "$as_me:$LINENO: checking for ld version" >&5
    102812102812echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    102813102813
    102814     ldver=`$LD --version 2>/dev/null | head -1 | \
     102814    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    102815102815           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    102816102816
    102817102817    glibcxx_gnu_ld_version=`echo $ldver | \
     
    104606104606    echo "$as_me:$LINENO: checking for ld version" >&5
    104607104607echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    104608104608
    104609     ldver=`$LD --version 2>/dev/null | head -1 | \
     104609    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    104610104610           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    104611104611
    104612104612    glibcxx_gnu_ld_version=`echo $ldver | \
     
    105851105851    echo "$as_me:$LINENO: checking for ld version" >&5
    105852105852echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    105853105853
    105854     ldver=`$LD --version 2>/dev/null | head -1 | \
     105854    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    105855105855           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    105856105856
    105857105857    glibcxx_gnu_ld_version=`echo $ldver | \
     
    106880106880    echo "$as_me:$LINENO: checking for ld version" >&5
    106881106881echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    106882106882
    106883     ldver=`$LD --version 2>/dev/null | head -1 | \
     106883    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    106884106884           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    106885106885
    106886106886    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  
    153153    # If the export-symbols file already is a .def file (1st line
    154154    # is EXPORTS), use it as is.
    155155    # If DATA tags from a recent dlltool are present, honour them!
    156     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     156    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    157157        cp $export_symbols $output_objdir/$soname-def;
    158158      else
    159159        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  
    156156    # If the export-symbols file already is a .def file (1st line
    157157    # is EXPORTS), use it as is.
    158158    # If DATA tags from a recent dlltool are present, honour them!
    159     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
     159    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    160160        cp $export_symbols $output_objdir/$soname-def;
    161161      else
    162162        echo EXPORTS > $output_objdir/$soname-def;
Note: See TracBrowser for help on using the repository browser.