[OE-core] [PATCH v4 02/12] acpica: work around flex 2.6.2 code generation issue

Denys Dmytriyenko denis at denix.org
Mon Jan 30 19:53:17 UTC 2017


On Sat, Jan 21, 2017 at 08:00:13PM -0800, Khem Raj wrote:
> On Fri, Jan 20, 2017 at 6:54 AM, Patrick Ohly <patrick.ohly at intel.com> wrote:
> > On Fri, 2017-01-20 at 15:12 +0100, Patrick Ohly wrote:
> >> Without this patch, linking fails with a missing implementation of
> >> yy_scan_string. This looks like a regression in flex, because 2.6.0 generated
> >> different code that called PrParser_scan_string
> >> resp. DtParser_scan_string.
> >>
> >> Working around that in acpica until this is better understood or fixed
> >> in flex is the easiest solution for now.
> >
> > It turned out that flex 2.6.3 has a fix for the problem. But the github
> > issue tracker for flex has several people who reported issues with 2.6.3
> > (affecting gdb, binutils, grub) that we probably should wait a bit
> > before trying to update to that release.
> 
> I am seeing issues with qtwebkit as well.
> 
> error: 'yyset_column' was not declared in
>  this scope
> 
> Similar errors for 'yyset_lineno' 'yylex' 'yylex_init_extra'
> 'yyrestart' 'yylex_destroy'
> 
> Haven't really dug into details but it seems to be caused by update to 2.6.2

Having issues with flex 2.6.2 and doxygen as well. Supposed to be fixed in 
2.6.3, but as mentioned above, that one breaks binutils, etc...

Can we temporarily revert back to flex 2.6.0? It seems the update is breaking 
too many things, including numerous other layers, and the fix is not yet 
avaialble.

-- 
Denys



More information about the Openembedded-core mailing list