This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling 4.3.3 on Tru64 V5.1b


Hello all,

I'm trying to compile gcc 4.3.3 on Tru64 Unix V5.1b.
I haven't been able to compile any earlier version before, I always get many
errors.
I found quite some time ago a binary install of gcc 4.0.2 and I'm using that
to bootstrap building 4.3.3.
Before showing the errors I get, I need to mention that it took about 2
weeks of compilation to reach this point, which I think should be fairly
close to the end of it. A large part of the compilation happens extremely
slowly. The obj directory has reached a size of about 1.6gb now. The first
roughly 600mb of obj is compiled in a few hours, but then when the obj/gcc
directory is reached, the compilation process slows to a crawl, such as
taking well over 30mins for some source files to be processed. Then after
being done with the obj/gcc directory, the compilation then speeds up again.

Now I get those errors:

Making all in include
gmake[4]: Entering directory
`/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include'
mkdir -p ./alphaev56-dec-osf5.1b/bits/stdtr1c++.h.gch
/srv/build/obj/./gcc/xgcc -shared-libgcc -B/srv/build/obj/./gcc -nostdinc++
-L/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/src
-L/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/src/.libs
-B/usr/local/gcc/alphaev56-dec-osf5.1b/bin/
-B/usr/local/gcc/alphaev56-dec-osf5.1b/lib/ -isystem
/usr/local/gcc/alphaev56-dec-osf5.1b/include -isystem
/usr/local/gcc/alphaev56-dec-osf5.1b/sys-include -Winvalid-pch -x c++-header
-O2 -g -g -O2   -mieee
-I/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/alphaev56-dec-os
f5.1b -I/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include
-I/srv/build/src/libstdc++-v3/libsupc++ -O2 -g
/srv/build/src/libstdc++-v3/include/precompiled/stdtr1c++.h -o
alphaev56-dec-osf5.1b/bits/stdtr1c++.h.gch/O2g.gch
/srv/build/src/libstdc++-v3/include/precompiled/stdtr1c++.h:34:25: warning:
/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/alphaev56-dec-osf5
.1b/bits/stdc++.h.gch/O0g.gch: not used because `__NO_INLINE__' not defined
In file included from
/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/tr1/cctype:47,
                 from
/srv/build/src/libstdc++-v3/include/precompiled/stdtr1c++.h:37:
/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include/tr1_impl/cctype:43
: error: '::isblank' has not been declared
gmake[4]: *** [alphaev56-dec-osf5.1b/bits/stdtr1c++.h.gch/O2g.gch] Error 1
gmake[4]: Leaving directory
`/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3/include'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/srv/build/obj/alphaev56-dec-osf5.1b/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/srv/build/obj'
gmake: *** [bootstrap] Error 2


I am building in a separate directory from the source, gcc-4.3.3 is:

/srv/build/src

And the obj directory in:

/srv/build/obj

I'm building with the configure flags as follows:

../src/configure \
--prefix=/usr/local/gcc \
--with-libiconv-prefix=/usr/local/iconv \
--with-system-zlib=/usr/local/zlib \
--enable-stage1-languages=all \
--enable-languages=c,c++,fortran \
--with-gmp=/usr/local/gmp \
--with-mpfr=/usr/local/mpfr \
--with-included-gettext \
--disable-nls \
--enable-tls \
--enable-bootstrap \
--enable-stage1-checking=all \
--disable-demangle


And I have those environment variables:

LD_LIBRARY_PATH=/usr/local/iconv/lib:/usr/local/gmp/lib:/usr/local/mpfr/lib
CFLAGS="-I/usr/local/zlib/include"

Since it took such a very long time to get it built this far, I obviously
would prefer not having to do this again, so I would try to fix whatever is
causing this error and continue the build from this point.

Can I get some help with this issue please?


-- 
Didier Godefroy
mailto:dg@ulysium.net
Support anti-Spam legislation.
Join the fight http://www.cauce.org/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]