Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2012 21:01:57 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        FreeBSD Tinderbox <tinderbox@FreeBSD.org>
Cc:        current@FreeBSD.org, i386@FreeBSD.org
Subject:   Re: [head tinderbox] failure on i386/i386
Message-ID:  <20120522205302.G1845@besplex.bde.org>
In-Reply-To: <201205220806.q4M86VeP090083@freebsd-current.sentex.ca>
References:  <201205220806.q4M86VeP090083@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120522205302.G1845>