]> git.proxmox.com Git - mirror_qemu.git/commit
Hexagon (meson.build): define min bison version
authorMatheus Tavares Bernardino <quic_mathbern@quicinc.com>
Tue, 7 Feb 2023 14:52:31 +0000 (11:52 -0300)
committerThomas Huth <thuth@redhat.com>
Tue, 7 Mar 2023 13:30:42 +0000 (14:30 +0100)
commit243ec1c284af7676847cedadf42a8d4465a123e9
treecc590e2b168da5974881d1b6486589f0931923b0
parent96dcf1aaca4fcf3c837f8297cf22dfdb6ab2249d
Hexagon (meson.build): define min bison version

Hexagon's idef-parser machinery uses some bison features that are not
available at older versions. The most preeminent example (as it can
be used as a sentinel) is "%define parse.error verbose". This was
introduced in version 3.0 of the tool, which is able to compile
qemu-hexagon just fine. However, compilation fails with the previous
minor bison release, v2.7. So let's assert the minimum version at
meson.build to give a more comprehensive error message for those trying
to compile QEMU.

[1]: https://www.gnu.org/software/bison/manual/html_node/_0025define-Summary.html#index-_0025define-parse_002eerror

Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alessandro Di Federico <ale@rev.ng>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <a6763f9f7b89ea310ab86f9a2b311a05254a1acd.1675779233.git.quic_mathbern@quicinc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/hexagon/meson.build