On 27.04.2019 11:20, Iain Buclaw wrote:
> Hi,
> 
> Baseline compiler builds fail on all sparc*-netbsd configurations.
> 
> In file included from ./tm_p.h:4,
>                  from /runner/crossbuilds/../gcc/gcc/config/netbsd-d.c:27:
> /runner/crossbuilds/../gcc/gcc/config/sparc/sparc-protos.h:45:47:
> error: use of enum ‘memmodel’ without previous declaration
>    45 | extern void sparc_emit_membar_for_model (enum memmodel, int, int);
>       |                                               ^~~~~~~~
> make[2]: *** [/runner/crossbuilds/../gcc/gcc/config/t-netbsd:24:
> netbsd-d.o] Error 1
> 
> 
> This patch fixes up the includes so compile succeeds.  Tested using
> config-list.mk on all netbsd variants.
> 
> OK?
> 

Looks good!

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to