Unable to bootstrap gcc snapshot of 20001211 on Dynix/ptx

Robert Lipe robertlipe@usa.net
Fri Dec 15 10:27:00 GMT 2000


> ../../gcc-20001211/gcc/stmt.c: In function `expand_nl_goto_receiver':
> ../../gcc-20001211/gcc/stmt.c:3510: Internal compiler error in
> dwarfout_file_scope_decl, at dwarfout.c:5250

Unfortunately, this is a longstanding bug (most of this year) in
GCC that affects DWARF-1 targets like yours.  It's testsuite entry
gcc.dg/20000503-1.c.  You can circumvent this by doing a make bootstrap
BOOT_CFLAGS=-O2, but this makes it impossible to debug GCC itself.

> ----------------------------------------------------------------------------
> --- ptx4.h.orig Fri Dec 15 16:56:46 2000
> +++ ptx4.h      Fri Dec 15 16:57:32 2000
> @@ -27,6 +27,14 @@
>  /* Define a symbol indicating that we are using svr4.h.  */
>  #define USING_SVR4_H
> 
> +#ifndef NO_SYS_SIGLIST
> +#define NO_SYS_SIGLIST
> +#endif

This shouldn't be necessary any more, as it's autoconf-detected now.

> +
> +#ifdef HAVE_BCOPY
> +#undef HAVE_BCOPY
> +#endif
> +

Why is this necessary?

RJL


More information about the Gcc mailing list