* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
@ 1999-03-06 9:05 Kaveh R. Ghazi
1999-03-31 23:46 ` Kaveh R. Ghazi
0 siblings, 1 reply; 14+ messages in thread
From: Kaveh R. Ghazi @ 1999-03-06 9:05 UTC (permalink / raw)
To: law; +Cc: egcs, oliva
> From: Jeffrey A Law <law@hurl.cygnus.com>
>
> In message <9902289202.AA920257535@cc.pmsc.com>you write:
> >
> > Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> > the build seems to be running and pre1 worked ok.
> This is a bug in the hpux shell. It only effects building of the config.cache
> file.
>
> I believe if you set CONFIG_SHELL and/or SHELL in your environment will work
> around this bug.
>
> See the hpux entries at
>
> http://egcs.cygnus.com/install/specific.html
>
> jeff
This is also fixed by generating configure with autoconf-2.12.1
or later. We've been doing this in the mainline for a long time, I'm
surprised the 1.1.x branch didn't use it. BTW its been enforced since
November via AC_PREREQ() so its pretty safe.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-06 9:05 Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04 Kaveh R. Ghazi
@ 1999-03-31 23:46 ` Kaveh R. Ghazi
0 siblings, 0 replies; 14+ messages in thread
From: Kaveh R. Ghazi @ 1999-03-31 23:46 UTC (permalink / raw)
To: law; +Cc: egcs, oliva
> From: Jeffrey A Law <law@hurl.cygnus.com>
>
> In message <9902289202.AA920257535@cc.pmsc.com>you write:
> >
> > Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> > the build seems to be running and pre1 worked ok.
> This is a bug in the hpux shell. It only effects building of the config.cache
> file.
>
> I believe if you set CONFIG_SHELL and/or SHELL in your environment will work
> around this bug.
>
> See the hpux entries at
>
> http://egcs.cygnus.com/install/specific.html
>
> jeff
This is also fixed by generating configure with autoconf-2.12.1
or later. We've been doing this in the mainline for a long time, I'm
surprised the 1.1.x branch didn't use it. BTW its been enforced since
November via AC_PREREQ() so its pretty safe.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 15:57 Mike Stump
@ 1999-03-31 23:46 ` Mike Stump
0 siblings, 0 replies; 14+ messages in thread
From: Mike Stump @ 1999-03-31 23:46 UTC (permalink / raw)
To: egcs, rodneybrown
Use bash.
See CONFIG_SHELL.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 9:14 ` Franz Sirl
1999-03-01 9:32 ` Alexandre Oliva
@ 1999-03-31 23:46 ` Franz Sirl
1 sibling, 0 replies; 14+ messages in thread
From: Franz Sirl @ 1999-03-31 23:46 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: rodneybrown, egcs
At 18:01 01.03.99 , Alexandre Oliva wrote:
>On Mar 1, 1999, rodneybrown@pmsc.com wrote:
>
>> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
>> the build seems to be running and pre1 worked ok. I tried changing
>> the etc/configure to run using #!/bin/ksh to no avail.
>
>Set CONFIG_SHELL
Hmm, will this still work as expected? In the diff from 1.1.1 to 1.1.2pre2
I noticed some entries like below in the texinfo subdir.
Franz.
Index: texinfo/lib/Makefile.in
--- texinfo/lib/Makefile.in 1998/04/02 03:45:22 1.4
+++ texinfo/lib/Makefile.in 1999/02/24 02:45:41 1.4.2.1
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.2e from Makefile.am
+# Makefile.in generated automatically by automake 1.3 from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@@ -11,7 +11,7 @@
# PARTICULAR PURPOSE.
-SHELL = @SHELL@
+SHELL = /bin/sh
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 9:18 ` Jeffrey A Law
@ 1999-03-31 23:46 ` Jeffrey A Law
0 siblings, 0 replies; 14+ messages in thread
From: Jeffrey A Law @ 1999-03-31 23:46 UTC (permalink / raw)
To: rodneybrown; +Cc: egcs
In message <9902289202.AA920257535@cc.pmsc.com>you write:
>
> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> the build seems to be running and pre1 worked ok.
This is a bug in the hpux shell. It only effects building of the config.cache
file.
I believe if you set CONFIG_SHELL and/or SHELL in your environment will work
around this bug.
See the hpux entries at
http://egcs.cygnus.com/install/specific.html
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 9:32 ` Alexandre Oliva
@ 1999-03-31 23:46 ` Alexandre Oliva
0 siblings, 0 replies; 14+ messages in thread
From: Alexandre Oliva @ 1999-03-31 23:46 UTC (permalink / raw)
To: Franz Sirl; +Cc: rodneybrown, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]
On Mar 1, 1999, Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:
> At 18:01 01.03.99 , Alexandre Oliva wrote:
>> On Mar 1, 1999, rodneybrown@pmsc.com wrote:
>>
>>> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
>>> the build seems to be running and pre1 worked ok. I tried changing
>>> the etc/configure to run using #!/bin/ksh to no avail.
>>
>> Set CONFIG_SHELL
> Hmm, will this still work as expected?
Yep, this is only for configure time.
> --- texinfo/lib/Makefile.in 1998/04/02 03:45:22 1.4
> +++ texinfo/lib/Makefile.in 1999/02/24 02:45:41 1.4.2.1
> -SHELL = @SHELL@
> +SHELL = /bin/sh
I don't think this would be a problem, but it's strange that automake
1.3 does not use @SHELL@ as defined by configure... Well, most
commands it runs are so simple that it shouldn't matter.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 9:05 ` Alexandre Oliva
[not found] ` < orogmdf8jw.fsf@araguaia.dcc.unicamp.br >
@ 1999-03-31 23:46 ` Alexandre Oliva
1 sibling, 0 replies; 14+ messages in thread
From: Alexandre Oliva @ 1999-03-31 23:46 UTC (permalink / raw)
To: rodneybrown; +Cc: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
On Mar 1, 1999, rodneybrown@pmsc.com wrote:
> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> the build seems to be running and pre1 worked ok. I tried changing
> the etc/configure to run using #!/bin/ksh to no avail.
Set CONFIG_SHELL
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
@ 1999-03-01 15:57 Mike Stump
1999-03-31 23:46 ` Mike Stump
0 siblings, 1 reply; 14+ messages in thread
From: Mike Stump @ 1999-03-01 15:57 UTC (permalink / raw)
To: egcs, rodneybrown
Use bash.
See CONFIG_SHELL.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-03-01 9:14 ` Franz Sirl
@ 1999-03-01 9:32 ` Alexandre Oliva
1999-03-31 23:46 ` Alexandre Oliva
1999-03-31 23:46 ` Franz Sirl
1 sibling, 1 reply; 14+ messages in thread
From: Alexandre Oliva @ 1999-03-01 9:32 UTC (permalink / raw)
To: Franz Sirl; +Cc: rodneybrown, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]
On Mar 1, 1999, Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:
> At 18:01 01.03.99 , Alexandre Oliva wrote:
>> On Mar 1, 1999, rodneybrown@pmsc.com wrote:
>>
>>> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
>>> the build seems to be running and pre1 worked ok. I tried changing
>>> the etc/configure to run using #!/bin/ksh to no avail.
>>
>> Set CONFIG_SHELL
> Hmm, will this still work as expected?
Yep, this is only for configure time.
> --- texinfo/lib/Makefile.in 1998/04/02 03:45:22 1.4
> +++ texinfo/lib/Makefile.in 1999/02/24 02:45:41 1.4.2.1
> -SHELL = @SHELL@
> +SHELL = /bin/sh
I don't think this would be a problem, but it's strange that automake
1.3 does not use @SHELL@ as defined by configure... Well, most
commands it runs are so simple that it shouldn't matter.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-02-28 19:05 ` rodneybrown
1999-02-28 22:53 ` rodneybrown
1999-03-01 9:05 ` Alexandre Oliva
@ 1999-03-01 9:18 ` Jeffrey A Law
1999-03-31 23:46 ` Jeffrey A Law
2 siblings, 1 reply; 14+ messages in thread
From: Jeffrey A Law @ 1999-03-01 9:18 UTC (permalink / raw)
To: rodneybrown; +Cc: egcs
In message <9902289202.AA920257535@cc.pmsc.com>you write:
>
> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> the build seems to be running and pre1 worked ok.
This is a bug in the hpux shell. It only effects building of the config.cache
file.
I believe if you set CONFIG_SHELL and/or SHELL in your environment will work
around this bug.
See the hpux entries at
http://egcs.cygnus.com/install/specific.html
jeff
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
[not found] ` < orogmdf8jw.fsf@araguaia.dcc.unicamp.br >
@ 1999-03-01 9:14 ` Franz Sirl
1999-03-01 9:32 ` Alexandre Oliva
1999-03-31 23:46 ` Franz Sirl
0 siblings, 2 replies; 14+ messages in thread
From: Franz Sirl @ 1999-03-01 9:14 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: rodneybrown, egcs
At 18:01 01.03.99 , Alexandre Oliva wrote:
>On Mar 1, 1999, rodneybrown@pmsc.com wrote:
>
>> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
>> the build seems to be running and pre1 worked ok. I tried changing
>> the etc/configure to run using #!/bin/ksh to no avail.
>
>Set CONFIG_SHELL
Hmm, will this still work as expected? In the diff from 1.1.1 to 1.1.2pre2
I noticed some entries like below in the texinfo subdir.
Franz.
Index: texinfo/lib/Makefile.in
--- texinfo/lib/Makefile.in 1998/04/02 03:45:22 1.4
+++ texinfo/lib/Makefile.in 1999/02/24 02:45:41 1.4.2.1
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.2e from Makefile.am
+# Makefile.in generated automatically by automake 1.3 from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@@ -11,7 +11,7 @@
# PARTICULAR PURPOSE.
-SHELL = @SHELL@
+SHELL = /bin/sh
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-02-28 19:05 ` rodneybrown
1999-02-28 22:53 ` rodneybrown
@ 1999-03-01 9:05 ` Alexandre Oliva
[not found] ` < orogmdf8jw.fsf@araguaia.dcc.unicamp.br >
1999-03-31 23:46 ` Alexandre Oliva
1999-03-01 9:18 ` Jeffrey A Law
2 siblings, 2 replies; 14+ messages in thread
From: Alexandre Oliva @ 1999-03-01 9:05 UTC (permalink / raw)
To: rodneybrown; +Cc: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
On Mar 1, 1999, rodneybrown@pmsc.com wrote:
> Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' -
> the build seems to be running and pre1 worked ok. I tried changing
> the etc/configure to run using #!/bin/ksh to no avail.
Set CONFIG_SHELL
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
1999-02-28 19:05 ` rodneybrown
@ 1999-02-28 22:53 ` rodneybrown
1999-03-01 9:05 ` Alexandre Oliva
1999-03-01 9:18 ` Jeffrey A Law
2 siblings, 0 replies; 14+ messages in thread
From: rodneybrown @ 1999-02-28 22:53 UTC (permalink / raw)
To: egcs
Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' - the build
seems to be
running and pre1 worked ok. I tried changing the etc/configure to run using
#!/bin/ksh to
no avail. Nor did reducing the size of the cat <<EOF which seemed to match the
message.
Second output is from a captured run with -x turned on.
configure is stressing older shells & O/Ses - gdb-4.17 and gcc-2.8.1 won't host
on SCO-3.2.4 => COFF because of 4k limits in command line + environment passed
to subprocesses,
but I haven't seen this before on HP-UX.
../egcs-1.1.2-pre2/configure --with-gnu-as
Configuring for a hppa1.1-hp-hpux9.04 host.
Created "Makefile" in /user4/vsb/rdb/egcs-1.1.2-pre2.obj using "mh-frag"
Links are now set up to build a native compiler for hppa1.1-hp-hpux9.04
./../egcs-1.1.2-pre2/etc/configure: sh internal 2K buffer overflow
$ pre2/configure --with-gnu-as
Configuring for a hppa1.1-hp-hpux9.04 host.
..
+ test -f /usr/local/bin/scoinst
+ test -f /usr/local/bin/install
+ test -f /user/p.cocam/bin/ginstall
+ test -f /user/p.cocam/bin/scoinst
+ test -f /user/p.cocam/bin/install
IFS=
+ test = set
INSTALL=../pre2/etc/../install-sh -c
+ echo ../pre2/etc/../install-sh -c
+ test -z
INSTALL_PROGRAM=${INSTALL}
+ test -z
INSTALL_DATA=${INSTALL} -m 644
+ trap 1 2 15
+ cat
./pre2/etc/configure: sh internal 2K buffer overflow
+ cmp -s ../config.cache confcache
+ test -w ../config.cache
+ echo updating cache ../config.cache
+ cat confcache
+ rm -f confcache
+ trap rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1 1 2
15
+ test xNONE = xNONE
prefix=/usr/local
+ test xNONE = xNONE
exec_prefix=${prefix}
+ test x../pre2/etc = x.
+ trap rm -f $CONFIG_STATUS conftest*; exit 1 1 2 15
+ cat
+ + sedtr -f\012 conftest.defs confdefs.h
..
^ permalink raw reply [flat|nested] 14+ messages in thread
* Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04
@ 1999-02-28 19:05 ` rodneybrown
1999-02-28 22:53 ` rodneybrown
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: rodneybrown @ 1999-02-28 19:05 UTC (permalink / raw)
To: egcs
Configuring on HP-UX 9.04 gave a 'sh internal 2K buffer overflow' - the build
seems to be
running and pre1 worked ok. I tried changing the etc/configure to run using
#!/bin/ksh to
no avail. Nor did reducing the size of the cat <<EOF which seemed to match the
message.
Second output is from a captured run with -x turned on.
configure is stressing older shells & O/Ses - gdb-4.17 and gcc-2.8.1 won't host
on SCO-3.2.4 => COFF because of 4k limits in command line + environment passed
to subprocesses,
but I haven't seen this before on HP-UX.
../egcs-1.1.2-pre2/configure --with-gnu-as
Configuring for a hppa1.1-hp-hpux9.04 host.
Created "Makefile" in /user4/vsb/rdb/egcs-1.1.2-pre2.obj using "mh-frag"
Links are now set up to build a native compiler for hppa1.1-hp-hpux9.04
./../egcs-1.1.2-pre2/etc/configure: sh internal 2K buffer overflow
$ pre2/configure --with-gnu-as
Configuring for a hppa1.1-hp-hpux9.04 host.
..
+ test -f /usr/local/bin/scoinst
+ test -f /usr/local/bin/install
+ test -f /user/p.cocam/bin/ginstall
+ test -f /user/p.cocam/bin/scoinst
+ test -f /user/p.cocam/bin/install
IFS=
+ test = set
INSTALL=../pre2/etc/../install-sh -c
+ echo ../pre2/etc/../install-sh -c
+ test -z
INSTALL_PROGRAM=${INSTALL}
+ test -z
INSTALL_DATA=${INSTALL} -m 644
+ trap 1 2 15
+ cat
./pre2/etc/configure: sh internal 2K buffer overflow
+ cmp -s ../config.cache confcache
+ test -w ../config.cache
+ echo updating cache ../config.cache
+ cat confcache
+ rm -f confcache
+ trap rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1 1 2
15
+ test xNONE = xNONE
prefix=/usr/local
+ test xNONE = xNONE
exec_prefix=${prefix}
+ test x../pre2/etc = x.
+ trap rm -f $CONFIG_STATUS conftest*; exit 1 1 2 15
+ cat
+ + sedtr -f\012 conftest.defs confdefs.h
..
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~1999-03-31 23:46 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-06 9:05 Possible egcs-1.1.2-pre2 configure problem on HP-UX 9.04 Kaveh R. Ghazi
1999-03-31 23:46 ` Kaveh R. Ghazi
-- strict thread matches above, loose matches on Subject: below --
1999-03-01 15:57 Mike Stump
1999-03-31 23:46 ` Mike Stump
[not found] <rodneybrown@pmsc.com's>
[not found] ` <message>
[not found] ` <of>
[not found] ` <"Mon,>
[not found] ` <01>
[not found] ` <Mar>
[not found] ` <99>
[not found] ` <13:54:17>
[not found] ` <-0500>
1999-02-28 19:05 ` rodneybrown
1999-02-28 22:53 ` rodneybrown
1999-03-01 9:05 ` Alexandre Oliva
[not found] ` < orogmdf8jw.fsf@araguaia.dcc.unicamp.br >
1999-03-01 9:14 ` Franz Sirl
1999-03-01 9:32 ` Alexandre Oliva
1999-03-31 23:46 ` Alexandre Oliva
1999-03-31 23:46 ` Franz Sirl
1999-03-31 23:46 ` Alexandre Oliva
1999-03-01 9:18 ` Jeffrey A Law
1999-03-31 23:46 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).