objc (current snapshot) doesn't compile
Rod m. Stewart
stewart@nexus.carleton.ca
Fri Apr 30 23:15:00 GMT 1999
On Sat, 10 Apr 1999, Marc Espie wrote:
> > >
> > > The offending line is "typedef const struct objc_selector"
> >Odd. I bootstrapped on both an i686 and i586 tonight in a similar
> >configuration.
>
> I got some very similar error in the past (probably the same one, but I can't
> be 100% sure as this is from memory), when I tried getting the parser source
> thru yacc instead of bison... I haven't got around to investigate this one
> yet, but this looks familiar to me.
>
> I'd suggest checking the generated parser files against the actual snapshot,
> they *might* have been re-generated (occurs when upgrading thru diffs), and
> the problem might be there.
>
> If that's the case, I'd definitely be interested in understanding what's
> going on !
I was this having problem on the NetWinder (armv4l arch) for the longest
time with objc.
I noticed the following files were regenerated during my build:
egcs/gcc/objc/objc-parse.c
egcs/gcc/objc/objc-parse.y
diffing these against those in my clean cvs tree I found that objc-parse.c
was generate with bison version 1.27, whereas the clean one was generated
with version 1.25.
Downgrading bison to version 1.25 has allowed me build egcs (latest cvs)
without further complaint.
This may be relevant to others problems, or it may be a problem on my end
with bison on the NetWinder. Just thought I'd mention it.
-Rms
More information about the Gcc-bugs
mailing list