This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] build failure, gcc 3.0, native hppa2.0w-hp-hpux11.00, ltconfig
- To: aoliva at redhat dot com, chastain at cygnus dot com
- Subject: Re: [PATCH] build failure, gcc 3.0, native hppa2.0w-hp-hpux11.00, ltconfig
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Wed, 11 Jul 2001 07:44:27 -0700
- Cc: gcc-patches at gcc dot gnu dot org
Sounds good to me.
I don't have resources to test my patches until the weekend,
but can you review them for style? Thanks.
Michael C
=== gcc-3_0-branch
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/ChangeLog,v
retrieving revision 1.331.2.46
diff -c -3 -p -r1.331.2.46 ChangeLog
*** ChangeLog 2001/06/17 19:39:02 1.331.2.46
--- ChangeLog 2001/07/11 14:29:33
***************
*** 1,3 ****
--- 1,9 ----
+ 2001-07-11 Michael Chastain <chastain@redhat.com>
+
+ * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
+ HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local.
+ * ltmain.sh: Mark as gcc-local.
+
20010617 Release Manager
* GCC 3.0 Released.
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.15.4.6
diff -c -3 -p -r1.15.4.6 ltconfig
*** ltconfig 2001/05/28 20:46:49 1.15.4.6
--- ltconfig 2001/07/11 14:29:33
*************** progname=`$echo "X$0" | $Xsed -e 's%^.*/
*** 181,188 ****
# Constants:
PROGRAM=ltconfig
PACKAGE=libtool
! VERSION=1.4a
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07)"
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
rm="rm -f"
--- 181,188 ----
# Constants:
PROGRAM=ltconfig
PACKAGE=libtool
! VERSION=1.4a-GCC3.0
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)"
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
rm="rm -f"
*************** else
*** 791,797 ****
= "XX$testring" &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
! test $i != 18 # 1 MB should be enough
do
i=`expr $i + 1`
testring=$testring$testring
--- 791,797 ----
= "XX$testring" &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
! test $i != 17 # 1/2 MB should be enough
do
i=`expr $i + 1`
testring=$testring$testring
Index: ltmain.sh
===================================================================
RCS file: /cvs/gcc/gcc/ltmain.sh,v
retrieving revision 1.11.4.5
diff -c -3 -p -r1.11.4.5 ltmain.sh
*** ltmain.sh 2001/05/28 20:46:49 1.11.4.5
--- ltmain.sh 2001/07/11 14:29:33
*************** modename="$progname"
*** 55,62 ****
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
! VERSION=1.4a
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07)"
default_mode=
help="Try \`$progname --help' for more information."
--- 55,62 ----
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
! VERSION=1.4a-GCC3.0
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)"
default_mode=
help="Try \`$progname --help' for more information."
=== mainline
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/ChangeLog,v
retrieving revision 1.396
diff -c -3 -p -r1.396 ChangeLog
*** ChangeLog 2001/06/28 04:38:43 1.396
--- ChangeLog 2001/07/11 14:40:49
***************
*** 1,3 ****
--- 1,9 ----
+ 2001-07-11 Michael Chastain <chastain@redhat.com>
+
+ * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
+ HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local.
+ * ltmain.sh: Mark as gcc-local.
+
2001-06-27 H.J. Lu (hjl@gnu.org)
* Makefile (CFLAGS_FOR_BUILD): New.
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.21
diff -c -3 -p -r1.21 ltconfig
*** ltconfig 2001/05/28 20:49:42 1.21
--- ltconfig 2001/07/11 14:40:49
*************** progname=`$echo "X$0" | $Xsed -e 's%^.*/
*** 181,188 ****
# Constants:
PROGRAM=ltconfig
PACKAGE=libtool
! VERSION=1.4a
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07)"
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
rm="rm -f"
--- 181,188 ----
# Constants:
PROGRAM=ltconfig
PACKAGE=libtool
! VERSION=1.4a-GCC3.0
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)"
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
rm="rm -f"
*************** else
*** 791,797 ****
= "XX$testring" &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
! test $i != 18 # 1 MB should be enough
do
i=`expr $i + 1`
testring=$testring$testring
--- 791,797 ----
= "XX$testring" &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
! test $i != 17 # 1/2 MB should be enough
do
i=`expr $i + 1`
testring=$testring$testring
Index: ltmain.sh
===================================================================
RCS file: /cvs/gcc/gcc/ltmain.sh,v
retrieving revision 1.16
diff -c -3 -p -r1.16 ltmain.sh
*** ltmain.sh 2001/05/28 20:49:42 1.16
--- ltmain.sh 2001/07/11 14:40:49
*************** modename="$progname"
*** 55,62 ****
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
! VERSION=1.4a
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07)"
default_mode=
help="Try \`$progname --help' for more information."
--- 55,62 ----
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
! VERSION=1.4a-GCC3.0
! TIMESTAMP=" (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes)"
default_mode=
help="Try \`$progname --help' for more information."