[head tinderbox] failure on i386/i386

Bruce Evans brde at optusnet.com.au
Tue May 22 11:02:13 UTC 2012


On Tue, 22 May 2012, FreeBSD Tinderbox wrote:

> [...]
>                 from /obj/i386.i386/src/tmp/usr/include/sys/_types.h:33,
>                 from /obj/i386.i386/src/tmp/usr/include/stdio.h:41,
>                 from /src/sbin/devd/parse.y:33:
> /obj/i386.i386/src/tmp/usr/include/x86/_types.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
> /obj/i386.i386/src/tmp/usr/include/x86/_types.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__int_least8_t'
> cc1: warnings being treated as errors
> /src/sbin/devd/parse.y: In function 'yyparse':
> /src/sbin/devd/parse.y:103: warning: implicit declaration of function 'add_attach'

Another bug in the new yacc is that it uses hard-coded GNUisms
like __attribute__(()) (maybe firm-coded by autoconfig) instead of
hard-coded FreeBSDisms like __printflike().

But this is not the bug here.  devd.h is just included in a wrong order
(before its prerequisites) in parse.y.  This worked accidentally because
old yacc includes sufficient namespace pollution earlier.

Bruce


More information about the freebsd-tinderbox mailing list