source: clfs-sysroot/patches/gcc-4.2.1-posix-1.patch@ f0590dc

Last change on this file since f0590dc was 42d73f3, checked in by Joe Ciccone <jciccone@…>, 17 years ago
  • Property mode set to 100644
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  
    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

    diff -Naur gcc-4.2.1.orig/gcc/configure gcc-4.2.1/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/configure.ac

    diff -Naur gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/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/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  
    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.1.orig/libgomp/acinclude.m4 gcc-4.2.1/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.1.orig/libgomp/configure gcc-4.2.1/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/configure

    diff -Naur gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/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.1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.1/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.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.1/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/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  
    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/configure

    diff -Naur gcc-4.2.1.orig/libjava/configure gcc-4.2.1/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
  • libjava/mingwld.m4

    diff -Naur gcc-4.2.1.orig/libjava/mingwld.m4 gcc-4.2.1/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
  • 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  
    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.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
    old new  
    85418541    echo "$as_me:$LINENO: checking for ld version" >&5
    85428542echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    85438543
    8544     ldver=`$LD --version 2>/dev/null | head -1 | \
     8544    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    85458545           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    85468546
    85478547    glibcxx_gnu_ld_version=`echo $ldver | \
     
    5445154451    echo "$as_me:$LINENO: checking for ld version" >&5
    5445254452echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    5445354453
    54454     ldver=`$LD --version 2>/dev/null | head -1 | \
     54454    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    5445554455           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    5445654456
    5445754457    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7581175811    echo "$as_me:$LINENO: checking for ld version" >&5
    7581275812echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7581375813
    75814     ldver=`$LD --version 2>/dev/null | head -1 | \
     75814    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7581575815           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7581675816
    7581775817    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7733477334    echo "$as_me:$LINENO: checking for ld version" >&5
    7733577335echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7733677336
    77337     ldver=`$LD --version 2>/dev/null | head -1 | \
     77337    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7733877338           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7733977339
    7734077340    glibcxx_gnu_ld_version=`echo $ldver | \
     
    7882578825    echo "$as_me:$LINENO: checking for ld version" >&5
    7882678826echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    7882778827
    78828     ldver=`$LD --version 2>/dev/null | head -1 | \
     78828    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    7882978829           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    7883078830
    7883178831    glibcxx_gnu_ld_version=`echo $ldver | \
     
    100715100715    echo "$as_me:$LINENO: checking for ld version" >&5
    100716100716echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    100717100717
    100718     ldver=`$LD --version 2>/dev/null | head -1 | \
     100718    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    100719100719           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    100720100720
    100721100721    glibcxx_gnu_ld_version=`echo $ldver | \
     
    101560101560    echo "$as_me:$LINENO: checking for ld version" >&5
    101561101561echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    101562101562
    101563     ldver=`$LD --version 2>/dev/null | head -1 | \
     101563    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    101564101564           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    101565101565
    101566101566    glibcxx_gnu_ld_version=`echo $ldver | \
     
    102961102961    echo "$as_me:$LINENO: checking for ld version" >&5
    102962102962echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    102963102963
    102964     ldver=`$LD --version 2>/dev/null | head -1 | \
     102964    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    102965102965           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    102966102966
    102967102967    glibcxx_gnu_ld_version=`echo $ldver | \
     
    104754104754    echo "$as_me:$LINENO: checking for ld version" >&5
    104755104755echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    104756104756
    104757     ldver=`$LD --version 2>/dev/null | head -1 | \
     104757    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    104758104758           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    104759104759
    104760104760    glibcxx_gnu_ld_version=`echo $ldver | \
     
    105997105997    echo "$as_me:$LINENO: checking for ld version" >&5
    105998105998echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    105999105999
    106000     ldver=`$LD --version 2>/dev/null | head -1 | \
     106000    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    106001106001           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    106002106002
    106003106003    glibcxx_gnu_ld_version=`echo $ldver | \
     
    107024107024    echo "$as_me:$LINENO: checking for ld version" >&5
    107025107025echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    107026107026
    107027     ldver=`$LD --version 2>/dev/null | head -1 | \
     107027    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    107028107028           sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    107029107029
    107030107030    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  
    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.1.orig/ltcf-gcj.sh gcc-4.2.1/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.