<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/pc-bios/optionrom, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/pc-bios/optionrom?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/pc-bios/optionrom?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-06T10:53:40+00:00</updated>
<entry>
<title>pc-bios/optionrom: Adopt meson style Make output</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f9236995b38f42a6e0a5c4a9d2c5153e1e6cc0ed'/>
<id>urn:sha1:f9236995b38f42a6e0a5c4a9d2c5153e1e6cc0ed</id>
<content type='text'>
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-30-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>pc-bios/optionrom: detect CC options just once</title>
<updated>2022-10-06T10:53:40+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-09-29T11:41:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=66c9f20f5b63bac2249996e20a16de4dc212251e'/>
<id>urn:sha1:66c9f20f5b63bac2249996e20a16de4dc212251e</id>
<content type='text'>
In preparation for adding Docker container support, detect compiler options
just once rather than once per Make run; container startup overhead is
substantial and doing the detection just once makes things faster.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220929114231.583801-14-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>configure: do not invoke as/ld directly for pc-bios/optionrom</title>
<updated>2022-09-27T09:30:59+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-06-06T09:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7089977a24133b3b1dd0864f4138efe3b906af4b'/>
<id>urn:sha1:7089977a24133b3b1dd0864f4138efe3b906af4b</id>
<content type='text'>
Just use using the compiler binary, with -nostdlib in the case of the
linker; the compiler driver (whether i686-*-gcc, or x86_64-*-gcc with
the -m32 option) will then pick the right magic option to as and ld.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure, pc-bios/optionrom: pass cross CFLAGS correctly</title>
<updated>2022-07-06T07:31:15+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-06-15T09:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=640aabc8ae65f471daf67fdc41fed00d6d795a65'/>
<id>urn:sha1:640aabc8ae65f471daf67fdc41fed00d6d795a65</id>
<content type='text'>
The optionrom build is disregarding the flags passed to the configure
script via --cross-cflags-i386.  Pass it down and add it to the Makefile.

This will make it possible to get the -m32 flag from $target_cflags to
force a 32-bit build on 64-bit hosts, instead of supplying manually the
arcane -Wa,-32 and linker emulation options.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/optionrom: use -m16 unconditionally</title>
<updated>2022-07-06T07:31:15+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-05-27T10:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ebca847d051b7a595494f9ef0f128113ef125c8e'/>
<id>urn:sha1:ebca847d051b7a595494f9ef0f128113ef125c8e</id>
<content type='text'>
Remove support for .code16gcc, all supported platforms have -m16.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure: enable cross-compilation of optionrom</title>
<updated>2022-06-01T14:47:43+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-05-27T15:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=33ab4787422b04a3f4c94bbded6b05021d08b27d'/>
<id>urn:sha1:33ab4787422b04a3f4c94bbded6b05021d08b27d</id>
<content type='text'>
While container-based cross compilers are not supported, this already makes
it possible to build x86 optionroms on any machine that has an installation
of GCC and binutils for 32- or 64-bit x86.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220517092616.1272238-15-pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220527153603.887929-26-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>configure: do not define or use the CPP variable</title>
<updated>2022-06-01T14:47:43+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-05-27T15:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ea857a3b7976010a7fe7b59a89941964028f502a'/>
<id>urn:sha1:ea857a3b7976010a7fe7b59a89941964028f502a</id>
<content type='text'>
Just hardcode $(CC) -E, it should be enough.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220517092616.1272238-2-pbonzini@redhat.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220527153603.887929-13-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>pc-bios/optionrom: compile with -Wno-array-bounds</title>
<updated>2022-05-12T10:07:05+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-04-13T12:22:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=236d15222e06750d6b889030ed04c849b1dc279e'/>
<id>urn:sha1:236d15222e06750d6b889030ed04c849b1dc279e</id>
<content type='text'>
Avoids the following bogus warning:

pvh_main.c: In function ‘pvh_load_kernel’:
pvh_main.c:101:42: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds]
  101 |         uint32_t ebda_paddr = ((uint32_t)*((uint16_t *)EBDA_BASE_ADDR)) &lt;&lt; 4;
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-bios/optionrom: detect -fno-pie</title>
<updated>2022-05-12T10:07:05+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-03-29T11:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=43924d1e53fd77c63b6f995556545e12f9fb11b6'/>
<id>urn:sha1:43924d1e53fd77c63b6f995556545e12f9fb11b6</id>
<content type='text'>
Do not rely on the detection that was done in the configure script,
since in the future we may want to cross-compile this file.

Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>build: disable fcf-protection on -march=486 -m16</title>
<updated>2022-03-24T17:44:07+00:00</updated>
<author>
<name>Christian Ehrhardt</name>
</author>
<published>2022-03-23T09:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9584d3d00a454f47b0341465142bcf0735d734ae'/>
<id>urn:sha1:9584d3d00a454f47b0341465142bcf0735d734ae</id>
<content type='text'>
Some of the roms build with -march=i486 -m16 which is incompatible
with -fcf-protection. That in turn is can be set by default, for
example in Ubuntu [1].
That causes:
 cc1: error: ‘-fcf-protection’ is not compatible with this target

This won't work on -march=i486 -m16 and no matter if set or not we can
override it to "none" if the option is known to the compiler to be
able to build reliably.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889

[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection

Signed-off-by: Christian Ehrhardt &lt;christian.ehrhardt@canonical.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20220323090713.1002588-1-christian.ehrhardt@canonical.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
