Irix6 bootstrap failure, intl dir depends on insn-codes.h now

Joern Rennecke amylaar@redhat.com
Fri Nov 24 11:34:00 GMT 2000


> 
> 
> Hi J"orn,
> 
> When I bootstrap on Irix6, I get:
> 
>  > make[3]: Entering directory `/caip/u99/ghazi/gcc-testing/build/gcc/intl'
>  > cc -n32 -c -DIN_GCC -DLOCALEDIR=\"/usr/local/share/locale\"
>  >   -DGNULOCALEDIR=\"/usr/local/share/locale\"
>  >   -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H
>  >   -I.. -I. -I../../../egcs-CVS20001124/gcc/intl
>  >   -I../../../egcs-CVS20001124/gcc/lib
>  >   -I../../../egcs-CVS20001124/gcc/intl/..
>  >   -I../../../egcs-CVS20001124/gcc/intl/../config
>  >   -I../../../egcs-CVS20001124/gcc/intl/../../include  -g
>  >   ../../../egcs-CVS20001124/gcc/intl/intl-compat.c
>  > "../tm.h", line 3: error(1005): could not open source file "insn-codes.h"
>  >   #include "insn-codes.h"
>  >                          ^
>  > 1 catastrophic error detected in the compilation of
>  > "../../../egcs-CVS20001124/gcc/intl/intl-compat.c".
>  > Compilation terminated.
>  > make[3]: *** [intl-compat.o] Error 2
> 
> The intl stuff uses gcc's config.h, so we have to add a dependency for
> insn-codes.h before we decend into the intl directory.  I tried and
> for some reason couldn't get it to work.

It should depend on $(CONFIG_H) from the toplevel Makefile.
It works like a charm for the Make-lang.in files in the language directories.
OTOH, this intl stuff seems to be a case of recursive make.  Is that 
the root of the problem?

> Anyway, would you please take a look?  I think your recent patch
> triggered this.

This stuff is not built on i386-linux.
And when I build crosses, Since about a year I've been configuring with
--disable-nls, since otherwise I get link errors.

So how can I test it?
Is there a particular target that I can 'make'?


More information about the Gcc-bugs mailing list