stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: Compiling stdcxx using gcc 3.4.6 on Solaris 8
Date Mon, 10 Dec 2007 20:18:21 GMT
Doron Solomon wrote:
> Hi,
> 
> I'm having trouble compiling stdcxx using gcc 3.4.6 on Solaris 8.  It
> seems like the same makefile is being called recursively, with a growing
> argument list, which eventually dies.  I've included the log below.  Has
> anyone experienced such a problem or know of a solution?

I can't create /vobs but I just tried something similar to this
on Solaris 8 with Sun C++ and it work just fine. It also worked
with gcc 3.4.4 on Solaris 10. We don't have gcc installed on
Solaris 8 but the compiler shouldn't make a difference at this
stage.

That said, you might want to make sure your BUILDDIR doesn't
exist or is empty before starting the build. If your BUILDDIR
is the same as your TOPDIR, or if it contains another copy of
it, you will get this error (I can reproduce it -- see the
transcript below).

$ pwd
/build/sebor/stdcxx-4.2.0
$ gmake BUILDTYPE=11s \
         BUILDDIR=/build/sebor/stdcxx-4.2.0_11s \
         CONFIG=sunpro.config
creating BUILDDIR=/build/sebor/stdcxx-4.2.0_11s
generating /build/sebor/stdcxx-4.2.0_11s/makefile.in from 
/build/sebor/stdcxx-4.2.0/etc/config/sunpro.config
gmake[1]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[2]: Entering directory `/build/sebor/stdcxx-4.2.0_11s/include'
gmake config
gmake[3]: Entering directory `/build/sebor/stdcxx-4.2.0_11s/include'

configuring stdcxx 4.2.0 for CC-5.8 on sunos-5.8-sparc
...


$ cp -R /build/sebor/stdcxx-4.2.0/ \
         /build/sebor/stdcxx-4.2.0_11s/
$ cd /build/sebor/stdcxx-4.2.0/
$ gmake BUILDTYPE=11s \
         BUILDDIR=/build/sebor/stdcxx-4.2.0_11s \
         CONFIG=sunpro.config
gmake[1]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[2]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[3]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[4]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[5]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[6]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[7]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[8]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[9]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[10]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[11]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[12]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[13]: Entering directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[13]: execvp: gmake: Arg list too long
gmake[13]: *** [w] Error 127
gmake[13]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[12]: *** [w] Error 2
gmake[12]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[11]: *** [w] Error 2
gmake[11]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[10]: *** [w] Error 2
gmake[10]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[9]: *** [w] Error 2
gmake[9]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[8]: *** [w] Error 2
gmake[8]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[7]: *** [w] Error 2
gmake[7]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[6]: *** [w] Error 2
gmake[6]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[5]: *** [w] Error 2
gmake[5]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[4]: *** [w] Error 2
gmake[4]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[3]: *** [w] Error 2
gmake[3]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[2]: *** [w] Error 2
gmake[2]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake[1]: *** [libstd] Error 2
gmake[1]: Leaving directory `/build/sebor/stdcxx-4.2.0_11s'
gmake: *** [libstd] Error 2

> 
> Thanks,
> Doron
> 
> $ cd /vobs/3pptools/apache/stdcxx-4.2.0
> $ gmake BUILDDIR=/vobs/3pptools/apache/stdcxx-4.2.0_11s BUILDTYPE=11s
> CONFIG=gcc.config
> creating BUILDDIR=/vobs/3pptools/apache/stdcxx-4.2.0_11s
> generating /vobs/3pptools/apache/stdcxx-4.2.0_11s/makefile.in from
> /vobs/3pptools/apache/stdcxx-4.2.0/etc/config/gcc.config
> gmake[1]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[2]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[3]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[4]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[5]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[6]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[7]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[8]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[9]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[10]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[11]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[12]: Entering directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[12]: execvp: gmake: Arg list too long
> gmake[12]: *** [libstd] Error 127
> gmake[12]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[11]: *** [libstd] Error 2
> gmake[11]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[10]: *** [libstd] Error 2
> gmake[10]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[9]: *** [libstd] Error 2
> gmake[9]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[8]: *** [libstd] Error 2
> gmake[8]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[7]: *** [libstd] Error 2
> gmake[7]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[6]: *** [libstd] Error 2
> gmake[6]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[5]: *** [libstd] Error 2
> gmake[5]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[4]: *** [libstd] Error 2
> gmake[4]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[3]: *** [libstd] Error 2
> gmake[3]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[2]: *** [libstd] Error 2
> gmake[2]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake[1]: *** [libstd] Error 2
> gmake[1]: Leaving directory `/vobs/3pptools/apache/stdcxx-4.2.0_11s'
> gmake: *** [libstd] Error 2
> 


Mime
View raw message