source: patches/gcc-4.1.1-posix-1.patch@ 0bb66b1

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0bb66b1 was 89d1048, checked in by Jim Gifford <clfs@…>, 19 years ago

Updated to GCC 4.1.1 patches

  • Property mode set to 100644
File size: 8.9 KB
  • contrib/test_summary

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2005-08-27
    Initial Package Version: 4.0.1
    Origin: Jim Gifford
            Rediffed against 4.1.0 by Chris Staub
    Upstream Status: On Hold
    Description: Makes GCC Posix Compliant
     
    diff -Naur gcc-4.1.0.orig/contrib/test_summary gcc-4.1.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

    diff -Naur gcc-4.1.0.orig/gcc/configure gcc-4.1.0/gcc/configure
    old new  
    1431814318  # and we got the correct data, then succeed.
    1431914319  if test x$gcc_cv_objdump != x \
    1432014320  && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
    14321      | tail -3 > conftest.got \
     14321     | tail -n 3 > conftest.got \
    1432214322  && { cmp conftest.lit conftest.got > /dev/null 2>&1 \
    1432314323    || cmp conftest.big conftest.got > /dev/null 2>&1; }
    1432414324  then
  • gcc/configure.ac

    diff -Naur gcc-4.1.0.orig/gcc/configure.ac gcc-4.1.0/gcc/configure.ac
    old new  
    21242124  # and we got the correct data, then succeed.
    21252125  if test x$gcc_cv_objdump != x \
    21262126  && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
    2127      | tail -3 > conftest.got \
     2127     | tail -n 3 > conftest.got \
    21282128  && { cmp conftest.lit conftest.got > /dev/null 2>&1 \
    21292129    || cmp conftest.big conftest.got > /dev/null 2>&1; }
    21302130  then
  • libjava/configure

    diff -Naur gcc-4.1.0.orig/libjava/configure gcc-4.1.0/libjava/configure
    old new  
    67366736echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
    67376737LD_PROG=`$CC --print-prog-name=ld`
    67386738LD_VERSION=`$LD_PROG --version`
    6739 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
    6740 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
     6739LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
     6740LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
    67416741if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
    67426742  LD_OK="ok"
    67436743else
  • libjava/mingwld.m4

    diff -Naur gcc-4.1.0.orig/libjava/mingwld.m4 gcc-4.1.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
  • libstdc++-v3/acinclude.m4

    diff -Naur gcc-4.1.0.orig/libstdc++-v3/acinclude.m4 gcc-4.1.0/libstdc++-v3/acinclude.m4
    old new  
    223223  # Start by getting the version number.  I think the libtool test already
    224224  # does some of this, but throws away the result.
    225225  changequote(,)
    226   ldver=`$LD --version 2>/dev/null | head -1 | \
     226  ldver=`$LD --version 2>/dev/null | head -n 1 | \
    227227         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    228228  changequote([,])
    229229  glibcxx_gnu_ld_version=`echo $ldver | \
  • libstdc++-v3/configure

    diff -Naur gcc-4.1.0.orig/libstdc++-v3/configure gcc-4.1.0/libstdc++-v3/configure
    old new  
    82018201  # Start by getting the version number.  I think the libtool test already
    82028202  # does some of this, but throws away the result.
    82038203
    8204   ldver=`$LD --version 2>/dev/null | head -1 | \
     8204  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    82058205         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    82068206
    82078207  glibcxx_gnu_ld_version=`echo $ldver | \
     
    5304053040  # Start by getting the version number.  I think the libtool test already
    5304153041  # does some of this, but throws away the result.
    5304253042
    53043   ldver=`$LD --version 2>/dev/null | head -1 | \
     53043  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    5304453044         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    5304553045
    5304653046  glibcxx_gnu_ld_version=`echo $ldver | \
     
    7437274372  # Start by getting the version number.  I think the libtool test already
    7437374373  # does some of this, but throws away the result.
    7437474374
    74375   ldver=`$LD --version 2>/dev/null | head -1 | \
     74375  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    7437674376         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    7437774377
    7437874378  glibcxx_gnu_ld_version=`echo $ldver | \
     
    7586775867  # Start by getting the version number.  I think the libtool test already
    7586875868  # does some of this, but throws away the result.
    7586975869
    75870   ldver=`$LD --version 2>/dev/null | head -1 | \
     75870  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    7587175871         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    7587275872
    7587375873  glibcxx_gnu_ld_version=`echo $ldver | \
     
    7723877238  # Start by getting the version number.  I think the libtool test already
    7723977239  # does some of this, but throws away the result.
    7724077240
    77241   ldver=`$LD --version 2>/dev/null | head -1 | \
     77241  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    7724277242         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    7724377243
    7724477244  glibcxx_gnu_ld_version=`echo $ldver | \
     
    7939679396  # Start by getting the version number.  I think the libtool test already
    7939779397  # does some of this, but throws away the result.
    7939879398
    79399   ldver=`$LD --version 2>/dev/null | head -1 | \
     79399  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    7940079400         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    7940179401
    7940279402  glibcxx_gnu_ld_version=`echo $ldver | \
     
    8072080720  # Start by getting the version number.  I think the libtool test already
    8072180721  # does some of this, but throws away the result.
    8072280722
    80723   ldver=`$LD --version 2>/dev/null | head -1 | \
     80723  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    8072480724         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    8072580725
    8072680726  glibcxx_gnu_ld_version=`echo $ldver | \
     
    8209382093  # Start by getting the version number.  I think the libtool test already
    8209482094  # does some of this, but throws away the result.
    8209582095
    82096   ldver=`$LD --version 2>/dev/null | head -1 | \
     82096  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    8209782097         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    8209882098
    8209982099  glibcxx_gnu_ld_version=`echo $ldver | \
     
    8385883858  # Start by getting the version number.  I think the libtool test already
    8385983859  # does some of this, but throws away the result.
    8386083860
    83861   ldver=`$LD --version 2>/dev/null | head -1 | \
     83861  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    8386283862         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    8386383863
    8386483864  glibcxx_gnu_ld_version=`echo $ldver | \
     
    8594485944  # Start by getting the version number.  I think the libtool test already
    8594585945  # does some of this, but throws away the result.
    8594685946
    85947   ldver=`$LD --version 2>/dev/null | head -1 | \
     85947  ldver=`$LD --version 2>/dev/null | head -n -1 | \
    8594885948         sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
    8594985949
    8595085950  glibcxx_gnu_ld_version=`echo $ldver | \
  • ltcf-c.sh

    diff -Naur gcc-4.1.0.orig/ltcf-c.sh gcc-4.1.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.1.0.orig/ltcf-gcj.sh gcc-4.1.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.