<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/disas/libvixl, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/disas/libvixl?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/disas/libvixl?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-07-05T08:15:49+00:00</updated>
<entry>
<title>disas: Remove libvixl disassembler</title>
<updated>2022-07-05T08:15:49+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-06-03T16:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2116650254117a873ab316038803cef657ae2820'/>
<id>urn:sha1:2116650254117a873ab316038803cef657ae2820</id>
<content type='text'>
The disassembly via capstone should be superiour to our old vixl
sources nowadays, so let's finally cut this old disassembler out
of the QEMU source tree.

Message-Id: &lt;20220603164249.112459-1-thuth@redhat.com&gt;
Tested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>disas/libvixl: Protect C system header for C++ compiler</title>
<updated>2021-05-25T15:01:43+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-05-16T17:10:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2fed21d25b3a95628698825d682d7386c5a08ae2'/>
<id>urn:sha1:2fed21d25b3a95628698825d682d7386c5a08ae2</id>
<content type='text'>
When selecting an ARM target on Debian unstable, we get:

  Compiling C++ object libcommon.fa.p/disas_libvixl_vixl_utils.cc.o
  FAILED: libcommon.fa.p/disas_libvixl_vixl_utils.cc.o
  c++ -Ilibcommon.fa.p -I. -I.. [...] -o libcommon.fa.p/disas_libvixl_vixl_utils.cc.o -c ../disas/libvixl/vixl/utils.cc
  In file included from /home/philmd/qemu/disas/libvixl/vixl/utils.h:30,
                   from ../disas/libvixl/vixl/utils.cc:27:
  /usr/include/string.h:36:43: error: missing binary operator before token "("
     36 | #if defined __cplusplus &amp;&amp; (__GNUC_PREREQ (4, 4) \
        |                                           ^
  /usr/include/string.h:53:62: error: missing binary operator before token "("
     53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X)
        |                                                              ^
  /usr/include/string.h:165:21: error: missing binary operator before token "("
    165 |      || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X))
        |                     ^
  /usr/include/string.h:174:43: error: missing binary operator before token "("
    174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)
        |                                           ^
  /usr/include/string.h:492:19: error: missing binary operator before token "("
    492 | #if __GNUC_PREREQ (3,4)
        |                   ^

Relevant information from the host:

  $ lsb_release -d
  Description:    Debian GNU/Linux 11 (bullseye)
  $ gcc --version
  gcc (Debian 10.2.1-6) 10.2.1 20210110
  $ dpkg -S /usr/include/string.h
  libc6-dev: /usr/include/string.h
  $ apt-cache show libc6-dev
  Package: libc6-dev
  Version: 2.31-11

Partially cherry-pick vixl commit 78973f258039f6e96 [*]:

  Refactor VIXL to use `extern` block when including C header
  that do not have a C++ counterpart.

which is similar to commit 875df03b221 ('osdep: protect qemu/osdep.h
with extern "C"').

[*] https://git.linaro.org/arm/vixl.git/commit/?id=78973f258039f6e96

Buglink: https://bugs.launchpad.net/qemu/+bug/1914870
Suggested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-id: 20210516171023.510778-1-f4bug@amsat.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>disas/libvixl: Fix fall-through annotation for GCC &gt;= 7</title>
<updated>2020-12-18T08:14:22+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2020-12-11T15:24:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4f02d49a80fdb3c5898dd32b5879289425ee158f'/>
<id>urn:sha1:4f02d49a80fdb3c5898dd32b5879289425ee158f</id>
<content type='text'>
For compiling with -Wimplicit-fallthrough we need to fix the
fallthrough annotations in the libvixl code. This is based on
the following upstream vixl commit by Martyn Capewell:

 https://git.linaro.org/arm/vixl.git/commit/?id=de326f850f736c3a337

 "GCC 7 enables switch/case fallthrough checking, but this fails in
  VIXL, because the annotation we use is Clang specific.

  Also, fix a missing annotation in the disassembler."

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-Id: &lt;20201211152426.350966-2-thuth@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: convert disas directory to Meson</title>
<updated>2020-08-21T10:30:24+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2019-07-26T08:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c574e161120aa0b8c76ee90d21d43c6e53e7f1ba'/>
<id>urn:sha1:c574e161120aa0b8c76ee90d21d43c6e53e7f1ba</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>libvixl: remove per-target compiler flags</title>
<updated>2019-12-17T18:32:48+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2019-07-29T10:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=534220407696fb2231fb7938d7b28aa1b9cfc676'/>
<id>urn:sha1:534220407696fb2231fb7938d7b28aa1b9cfc676</id>
<content type='text'>
We are already including -D__STDC_LIMIT_MACROS in the global CXXFLAGS,
so it makes sense to do the same for -D__STDC_CONSTANT_MACROS and
-D__STDC_FORMAT_MACROS instead of limiting that to libvixl.

The -Wno-sign-compare option can also be removed since GCC 4.6 is not
supported anymore.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure: split c and cxx extra flags</title>
<updated>2017-06-07T14:29:46+00:00</updated>
<author>
<name>Bruno Dominguez</name>
</author>
<published>2017-06-06T13:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=11cde1c81093a33c46c7a4039bf750bb61551087'/>
<id>urn:sha1:11cde1c81093a33c46c7a4039bf750bb61551087</id>
<content type='text'>
There was no possibility to add specific cxx flags using the configure
file. So A new entrance has been created to support it.

Duplication of information in configure and rules.mak. Taking
QEMU_CFLAGS and add them to QEMU_CXXFLAGS, now the value of
QEMU_CXXFLAGS is stored in config-host.mak, so there is no need for
it.

The makefile for libvixl was adding flags for QEMU_CXXFLAGS in
QEMU_CFLAGS because of the addition in rules.mak. That was removed, so
adding them where it should be.

Signed-off-by: Bruno Dominguez &lt;bru.dominguez@gmail.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-id: 1496754467-20893-1-git-send-email-bru.dominguez@gmail.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>libvixl: Correct build failures on NetBSD</title>
<updated>2017-06-02T10:51:46+00:00</updated>
<author>
<name>Kamil Rytarowski</name>
</author>
<published>2017-06-02T10:51:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=993063fbb531d11f7ede59e5264308eafa6ee4ff'/>
<id>urn:sha1:993063fbb531d11f7ede59e5264308eafa6ee4ff</id>
<content type='text'>
Ensure that C99 macros are defined regardless of the inclusion order of
headers in vixl. This is required at least on NetBSD.

The vixl/globals.h headers defines __STDC_CONSTANT_MACROS and must be
included before other system headers.

This file defines unconditionally the following macros, without altering
the original sources:
 - __STDC_CONSTANT_MACROS
 - __STDC_LIMIT_MACROS
 - __STDC_FORMAT_MACROS

Signed-off-by: Kamil Rytarowski &lt;n54@gmx.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-id: 20170514051820.15985-1-n54@gmx.com
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>libvixl: Avoid std::abs() of 64-bit type</title>
<updated>2016-02-03T13:46:34+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-02-03T13:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0602f420e40769b1d2829dd326bb632cc71aa407'/>
<id>urn:sha1:0602f420e40769b1d2829dd326bb632cc71aa407</id>
<content type='text'>
The std::abs() function did not get a version that works on
'long long' until C++11. Avoid it, so that we can compile on
32-bit platforms (where int64_t is 'long long') with older
compilers (which don't support C++11).

Reported-by: Franz-Josef Haider &lt;Franz-Josef.Haider@student.uibk.ac.at&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-id: 1453739429-31477-1-git-send-email-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>disas/libvixl: Really suppress gcc 4.6.3 sign-compare warnings</title>
<updated>2016-01-14T17:57:51+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-01-14T14:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f02ccf53693758b65843264e077f90cf295e7d98'/>
<id>urn:sha1:f02ccf53693758b65843264e077f90cf295e7d98</id>
<content type='text'>
Commit 8acc216b956 attempted to silence some sign-compare
warnings in libvixl by adding -Wno-sign-compare to the CFLAGS
for the relevant objects. Unfortunately it was ineffective
because it was placed before $(QEMU_CFLAGS), so the -Wall in
the general flags overrode -Wno-sign-compare rather than
vice-versa. Reorder the flags so the warning suppression works.

Thanks to Franz-Josef Haider &lt;Franz-Josef.Haider@student.uibk.ac.at&gt;
for pointing out what was wrong with the original patch.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Tested-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-id: 1452783202-576-1-git-send-email-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings</title>
<updated>2016-01-12T16:45:45+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-01-12T13:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8acc216b956f30c140520c6c3aff5edcfde16ea6'/>
<id>urn:sha1:8acc216b956f30c140520c6c3aff5edcfde16ea6</id>
<content type='text'>
The VIXL code includes some equality comparisons between signed
and unsigned types. Modern gcc and clang do not complain about
these, but older versions of gcc such as gcc 4.6.3 do. Since
libvixl is an upstream library, the simplest approach is to
suppress the warnings by applying -Wno-sign-compare to the
relevant files.

(GCC 4.6 is not quite yet irrelevant for us; it is the gcc
shipped with Ubuntu Precise, for example, which is an LTS
release not yet out of its support period.)

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Message-id: 1452604204-27202-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
</feed>
