[Bug 93989] build: flex-2.5.39 seems to be failing for glsl_lexer.ll
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 3 19:25:32 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93989
Matt Turner <mattst88 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|idr at freedesktop.org |mattst88 at gmail.com
--- Comment #1 from Matt Turner <mattst88 at gmail.com> ---
Hello, fellow Gentoo user. Gentoo developer here!
I'm using the latest stable flex, =sys-devel/flex-2.5.39-r1, and it worked for
me.
My build log looked like:
bison -o glsl/glsl_parser.cpp ...
flex -o glsl/glsl_lexer.cpp ...
/bin/mkdir -p glsl/glcpp
/bin/mkdir -p glsl/glcpp
/bin/mkdir -p nir
bison -o glsl/glcpp/glcpp-parse.c ...
/bin/mkdir -p nir
flex -o glsl/glcpp/glcpp-lex.c ...
The problem is a race condition between the mkdir commands and flex. Recently
there was a code reorganization. The problem is that the rules for
glsl/glsl_parser.cpp and glsl/glsl_lexer.cpp now need to call mkdir, whereas
they did not before.
Indeed, if I build with make -j1 I can reproduce the problem. I suppose it's
possible that there's a change in flex-2.5.39-r1 -> flex-2.6.0 that makes it
create directories if they don't exist, but I think it's more plausible that
the problem is simply a race condition and that it's not related to the version
of flex. In fact, when I build with make -j1, it's bison (2.7.1) that fails.
I will send a patch, and Cc you. Thanks for the report (and thank you for
filing it upstream)!
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160203/31d6a6a1/attachment-0001.html>
More information about the intel-3d-bugs
mailing list