]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/10663 ([Solaris] New configure check aborts with Sun tools.)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 5 Jun 2003 07:50:42 +0000 (09:50 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 5 Jun 2003 07:50:42 +0000 (07:50 +0000)
PR target/10663
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
assembler and linker output to /dev/null.
Use a 'sed' construct instead of 'grep -A1'.
* configure: Regenerate.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r67479

gcc/ChangeLog
gcc/configure
gcc/configure.in

index a057fc2b7118c545d10bec589e818b0c37e864e8..8697fa683db0e6549470ffd201f1e52720861bc1 100644 (file)
@@ -1,3 +1,12 @@
+2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/10663
+       * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
+       assembler and linker output to /dev/null.
+       Use a 'sed' construct instead of 'grep -A1'.
+       * configure: Regenerate.
+
 2003-06-04  Richard Henderson  <rth@redhat.com>
 
        * config/i386/i386.c (struct ix86_address): Add seg.
index 16613e7b45308166d703a5469554ef48a3d35f51..1c61e562fdfd25aeb560bd7ee64215f5f3896cb6 100755 (executable)
@@ -8467,9 +8467,9 @@ elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; then
      && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
      && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
-       conftest2.o conftest3.o; then
+       conftest2.o conftest3.o > /dev/null 2>&1; then
     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
-                        | grep -A1 myfoosect`
+                        | sed -e '/myfoosect/!d' -e N`
     if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
       if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
        gcc_cv_ld_ro_rw_mix=read-only
index e087d3225da0df106406d33f69bd4fcceb874d31..0db3687e3d572b180a27317ed117a8f7742c378d 100644 (file)
@@ -2603,9 +2603,9 @@ elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x ; then
      && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \
      && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1 \
      && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
-       conftest2.o conftest3.o; then
+       conftest2.o conftest3.o > /dev/null 2>&1; then
     gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
-                        | grep -A1 myfoosect`
+                        | sed -e '/myfoosect/!d' -e N`
     if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
       if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
        gcc_cv_ld_ro_rw_mix=read-only
This page took 4.088054 seconds and 5 git commands to generate.