In file included from ../src/intel/tools/i965_lex.l:6:0:
src/intel/tools/i965_gram.tab.h:202:4: error: expected identifier before numeric constant
OVERFLOW = 412,
Is there a bit more context to this error?
meson builddir -Dplatforms=x11 -Ddri-drivers=i965 -Dgallium-drivers='' -Dvulkan-drivers='' -Dtools=intel
70308a5a8a801a960bb9f45fb597f80b77c51014 is the first bad commit
Author: Sagar Ghuge <firstname.lastname@example.org>
Date: Mon Dec 10 16:12:07 2018 -0800
intel/tools: New i965 instruction assembler tool
Tool is inspired from igt's assembler tool. Thanks to Matt Turner, who
mentored me through out this project.
v2: Fix memory leaks and naming convention (Caio)
v3: Fix meson changes (Dylan Baker)
v4: Fix usage options (Matt Turner)
Signed-off-by: Sagar Ghuge <email@example.com>
Reviewed-by: Dylan Baker <firstname.lastname@example.org>
Reviewed-by: Matt Turner <email@example.com>
:040000 040000 131f7523768fd9131124e7ca87c0efe79030991e 28078bac12cb3f99e3609f8f3057b5ecb2b9c9de M src
bisect run success
For me, it builds successfully without any errors, I deleted my builddir and rebuilt everything again but I am not facing any issue. May be I am missing something here. Flex version will make any difference ? I have flex 2.6.1
Forgot to add bison version : 3.0.5. Not sure if flex and bison version will make any difference.
OVERFLOW is defined in /usr/include/math.h on glibc < 2.27.
We should rename it to TOK_OVERFLOW or OVERFLOW_TOK then (token).
Author: Vinson Lee <firstname.lastname@example.org>
Date: Fri May 10 11:24:18 2019 -0700
intel/tools: Fix build with glibc < 2.27.
glibc < 2.27 defines OVERFLOW in /usr/include/math.h.
This patch fixes this build error.
In file included from ../include/c99_math.h:37:0,
src/intel/tools/i965_gram.tab.c:562:5: error: expected identifier before numeric constant
OVERFLOW = 412,
Fixes: 70308a5a8a80 ("intel/tools: New i965 instruction assembler tool")
Signed-off-by: Vinson Lee <email@example.com>
Acked-by: Eric Engestrom <firstname.lastname@example.org>