gcc46: .././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER', rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER];

Dimitry Andric dim at FreeBSD.org
Sun Dec 2 14:02:20 UTC 2012


On 2012-12-01 13:18, O. Hartmann wrote:
> On exactly ONE FreeBSD 10.0-CURRENT box, out of a couple, all the same
> OS version (most recent sources/buildworld with CLANG and ports tree
> always up to date) I get this nasty error shown below.
...
> In file included from .././../gcc-4.6-20121123/gcc/genflags.c:28:
> .././../gcc-4.6-20121123/gcc/rtl.h:1989:13: warning: ISO C forbids
> forward references to 'enum' types [-Wpedantic]
> extern enum reg_class reg_preferred_class (int);
>              ^
> .././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared
> identifier 'FIRST_PSEUDO_REGISTER'
>    rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER];
>                                ^
> .././../gcc-4.6-20121123/gcc/rtl.h:2112:31: error: use of undeclared
> identifier 'FIRST_PSEUDO_REGISTER'
>    rtx x_static_reg_base_value[FIRST_PSEUDO_REGISTER];
>                                ^

Can you post the full build log somewhere?


More information about the freebsd-current mailing list