* Re: Build issue on AIX 5.2
@ 2008-06-30 16:53 Jim Marshall
0 siblings, 0 replies; 5+ messages in thread
From: Jim Marshall @ 2008-06-30 16:53 UTC (permalink / raw)
To: gdb
Thanks for the input. I got past the first error, by setting the command line to be larger on AIX, but now I get some other weird error:
configure: configuring in doc
configure: running /bin/sh '../.././gdb/doc/configure' --prefix=/net/bosnetapp/vol/vol0/home1/jamarsha/aix/build '--cache-file=./config.cache' '--prefix=/net/bosnetapp/vol/vol0/home1/jamarsha/aix/build' '--program-transform-name=s,y,y,' '--build=powerpc-ibm-aix5.2.0.0' '--host=powerpc-ibm-aix5.2.0.0' '--target=powerpc-ibm-aix5.2.0.0' '--srcdir=.././gdb' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-bbigtoc' 'build_alias=powerpc-ibm-aix5.2.0.0' 'host_alias=powerpc-ibm-aix5.2.0.0' 'target_alias=powerpc-ibm-aix5.2.0.0' --cache-file=.././config.cache --srcdir=../.././gdb/doc
configure: loading cache .././config.cache
checking for a BSD-compatible install... /net/bosnetapp/vol/vol0/home1/jamarsha/aix/gdb-6.8/install-sh -c
checking whether ln -s works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating .gdbinit
config.status: error: cannot find input file: gdbinit.in
configure: error: /bin/sh '../.././gdb/doc/configure' failed for doc
gmake[1]: *** [configure-gdb] Error 1
gmake[1]: Leaving directory `/net/bosnetapp/vol/vol0/home1/jamarsha/aix/gdb-6.8'
gmake: *** [all] Error 2
> find . -name gdbinit.in
./sim/common/gdbinit.in
./gdb/gdbinit.in
I will try moving it to '/tmp' and see if that makes a difference.
Any thoughts on the above error?
--- On Mon, 6/30/08, Joel Brobecker <brobecker@adacore.com> wrote:
> From: Joel Brobecker <brobecker@adacore.com>
> Subject: Re: Build issue on AIX 5.2
> To: "Jim Marshall" <jim_marshall2268@yahoo.com>
> Cc: gdb@sourceware.org
> Date: Monday, June 30, 2008, 11:22 AM
> > Then I run gmake and it runs for a long while but
> eventually fails
> > trying to create a 'doc' directory.
>
> Not sure where the problem might be; perhaps a shell that
> has a very
> low limitation in terms of the argument list size. The
> command line
> from your transcript doesn't look all that long! If you
> have other
> shells such as bash or zsh, try "make
> SHELL=bash", for instance (you
> don't have to reconfigure to try this out). Another
> thing that
> you can try is build GDB from /tmp. That should reduce the
> size of
> some of the arguments used in the command that failed.
>
> --
> Joel
^ permalink raw reply [flat|nested] 5+ messages in thread* Build issue on AIX 5.2
@ 2008-06-30 14:15 Jim Marshall
2008-06-30 15:23 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Jim Marshall @ 2008-06-30 14:15 UTC (permalink / raw)
To: gdb
Hi,
I don't use AIX that often and therefore am a bit out of my league, I guess. I downloaded the GDB 6.8 source tarball, extracted it and ran configure without any problems (./configure --prefix=/<myhomeDIR>/gdb/build)
Then I run gmake and it runs for a long while but eventually fails trying to create a 'doc' directory.
here is the output I get:
> gmake
...
configure: configuring in doc
configure: running /bin/sh '../.././gdb/doc/configure' --prefix=/net/bosnetapp/vol/vol0/home1/jamarsha/aix/build '--cache-file=./config.cache' '--prefix=/net/bosnetapp/vol/vol0/home1/jamarsha/aix/build' '--program-transform-name=s,y,y,' '--build=powerpc-ibm-aix5.2.0.0' '--host=powerpc-ibm-aix5.2.0.0' '--target=powerpc-ibm-aix5.2.0.0' '--srcdir=.././gdb' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-bbigtoc' 'build_alias=powerpc-ibm-aix5.2.0.0' 'host_alias=powerpc-ibm-aix5.2.0.0' 'target_alias=powerpc-ibm-aix5.2.0.0' --cache-file=.././config.cache --srcdir=../.././gdb/doc
/net/bosnetapp/vol/vol0/home1/jamarsha/aix/gdb-6.8/gdb/configure[26859]: /bin/sh: arg list too long
configure: error: /bin/sh '../.././gdb/doc/configure' failed for doc
gmake[1]: *** [configure-gdb] Error 1
gmake[1]: Leaving directory `/net/bosnetapp/vol/vol0/home1/jamarsha/aix/gdb-6.8'
gmake: *** [all] Error 2
I have gmake 3.80, gcc 3.4.3. This is an AIX 5.2 machine. autoconf is 2.59, makeinfo 4.12
Thoughts?
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Build issue on AIX 5.2
2008-06-30 14:15 Jim Marshall
@ 2008-06-30 15:23 ` Joel Brobecker
2008-06-30 15:31 ` Andreas Schwab
2008-06-30 15:32 ` Daniel Jacobowitz
0 siblings, 2 replies; 5+ messages in thread
From: Joel Brobecker @ 2008-06-30 15:23 UTC (permalink / raw)
To: Jim Marshall; +Cc: gdb
> Then I run gmake and it runs for a long while but eventually fails
> trying to create a 'doc' directory.
Not sure where the problem might be; perhaps a shell that has a very
low limitation in terms of the argument list size. The command line
from your transcript doesn't look all that long! If you have other
shells such as bash or zsh, try "make SHELL=bash", for instance (you
don't have to reconfigure to try this out). Another thing that
you can try is build GDB from /tmp. That should reduce the size of
some of the arguments used in the command that failed.
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build issue on AIX 5.2
2008-06-30 15:23 ` Joel Brobecker
@ 2008-06-30 15:31 ` Andreas Schwab
2008-06-30 15:32 ` Daniel Jacobowitz
1 sibling, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2008-06-30 15:31 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Jim Marshall, gdb
Joel Brobecker <brobecker@adacore.com> writes:
>> Then I run gmake and it runs for a long while but eventually fails
>> trying to create a 'doc' directory.
>
> Not sure where the problem might be; perhaps a shell that has a very
> low limitation in terms of the argument list size.
That is usually a system limitation, not a shell limit.
> The command line from your transcript doesn't look all that long!
The limit also includes the size of the environment.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build issue on AIX 5.2
2008-06-30 15:23 ` Joel Brobecker
2008-06-30 15:31 ` Andreas Schwab
@ 2008-06-30 15:32 ` Daniel Jacobowitz
1 sibling, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2008-06-30 15:32 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Jim Marshall, gdb
On Mon, Jun 30, 2008 at 08:22:39AM -0700, Joel Brobecker wrote:
> > Then I run gmake and it runs for a long while but eventually fails
> > trying to create a 'doc' directory.
>
> Not sure where the problem might be; perhaps a shell that has a very
> low limitation in terms of the argument list size. The command line
> from your transcript doesn't look all that long!
IIRC this is a system-wide configurable property on AIX.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-30 16:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-30 16:53 Build issue on AIX 5.2 Jim Marshall
-- strict thread matches above, loose matches on Subject: below --
2008-06-30 14:15 Jim Marshall
2008-06-30 15:23 ` Joel Brobecker
2008-06-30 15:31 ` Andreas Schwab
2008-06-30 15:32 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox