This is the mail archive of the gcc-bugs@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]

Re: gnat: build problems


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


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