This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gnat: build problems
- To: law at cygnus dot com
- Subject: Re: gnat: build problems
- From: Patrik Hagglund <patha at ida dot liu dot se>
- Date: Wed, 27 May 1998 17:48:05 +0200
- cc: egcs-bugs at cygnus dot com, wilson at cygnus dot com
Jeffrey A Law wrote:
> > Then there seams to be some bug in the constructed xgcc related
> > to the use of cpp.
> >
> > ./configure
> > make bootstrap
> Don't now about this one.
>
> Check for <objdir>/gcc/include/limits.h. If it exists, does it
> define PATH_MAX, or include the system limits.h?
I found the problem. Our old gnat installation was misconfigured by
our sysadmin. Now gcc builds correctly, but the Ada compiler fails in
`make gnatlib':
egcs-19980525, gnat-3.10p, sparc-sun-solaris2.5.1:
mkdir objdir
cd objdir
../configure
make bootstrap
cd gcc
make gnattools
make gnatlib
[...]
../../xgcc -B../../ -c -g -O2 -UIN_GCC -UIN_GCC -gnatpg -I. -I../../../gcc/ada a-stwima.adb
../../gcc/expr.c:5371: Internal compiler error in function expand_expr
make[2]: *** [a-stwima.o] Error 1
make[2]: Leaving directory `/home/patha/tmp/egcs-19980525-gnat/objdir/gcc/ada/rts'
make[1]: *** [gnatlib-common] Error 2
make[1]: Leaving directory `/home/patha/tmp/egcs-19980525-gnat/objdir/gcc/ada'
make: *** [gnatlib] Error 2
Regards,
Patrik Hägglund