* [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4
@ 2018-12-12 9:13 Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 1/8] configure: Add a test for the minimum compiler version Thomas Huth
` (10 more replies)
0 siblings, 11 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Hi Peter,
the following changes since commit bb9bf94b3e8926553290bc9a7cb84315af422086:
Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2018-12-11 19:18:58 +0000)
are available in the git repository at:
https://gitlab.com/huth/qemu.git tags/pull-request-2018-12-12
for you to fetch changes up to 2b4c1125ac3db2734222ff43c25388a16aca4a99:
i2c: Move typedef of bitbang_i2c_interface to i2c.h (2018-12-12 10:01:13 +0100)
----------------------------------------------------------------
Explicitly check for minimum compiler versions.
Remove obsolete code for old compilers that is now not required anymore.
Fix a duplicated typedef for Clang 3.4.
----------------------------------------------------------------
BALATON Zoltan (1):
i2c: Move typedef of bitbang_i2c_interface to i2c.h
Thomas Huth (7):
configure: Add a test for the minimum compiler version
configure: Remove obsolete check for Clang < 3.2
configure: Remove old -fno-gcse workaround for GCC 4.6.x and 4.7.[012]
tcg/tcg.h: Remove GCC check for tcg_debug_assert() macro
audio/alsaaudio: Remove compiler check around pragma
includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)"
Remove QEMU_ARTIFICIAL macro
Makefile.target | 3 ---
audio/alsaaudio.c | 2 --
configure | 47 +++++++++++++++++++++++++--------------------
hw/i2c/bitbang_i2c.h | 2 --
include/hw/i2c/i2c.h | 2 ++
include/hw/i2c/ppc4xx_i2c.h | 3 ---
include/qemu/compiler.h | 8 +-------
include/qemu/host-utils.h | 4 ++--
scripts/checkpatch.pl | 1 -
scripts/cocci-macro-file.h | 1 -
tcg/tcg.h | 4 +---
11 files changed, 32 insertions(+), 45 deletions(-)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 1/8] configure: Add a test for the minimum compiler version
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 2/8] configure: Remove obsolete check for Clang < 3.2 Thomas Huth
` (9 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
So far we only had implicit requirements for the minimum compiler version,
e.g. we require at least GCC 4.1 for the support of atomics. However,
such old compiler versions are not tested anymore by the developers, so
they are not really supported anymore. Since we recently declared explicitly
what platforms we intend to support, we can also get more explicit on the
compiler version now. The supported distributions use the following version
of GCC:
RHEL-7: 4.8.5
Debian (Stretch): 6.3.0
Debian (Jessie): 4.8.4
OpenBSD (ports): 4.9.4
FreeBSD (ports): 8.2.0
OpenSUSE Leap 15: 7.3.1
Ubuntu (Xenial): 5.3.1
macOS (Homebrew): 8.2.0
So we can safely assume GCC 4.8 these days. For Clang, the situation is
a little bit more ambiguous, since it is sometimes not available in the
main distros but rather third party repositories. At least Debian Jessie
uses version 3.5, and EPEL7 for RHEL7 uses 3.4, so let's use 3.4 as
minimum Clang version now - we still can adjust this later if necessary.
Unfortunately Apple uses different version numbers for the Clang that is
included in their Xcode suite, so we need to check the version numbers
for Xcode separately. Xcode 5.1 seems to be the first one that has been
shipped with LLVM 3.4, so use this version as the minimum there.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/configure b/configure
index 0a3c6a7..7621c00 100755
--- a/configure
+++ b/configure
@@ -1840,6 +1840,31 @@ if test "$bogus_os" = "yes"; then
error_exit "Unrecognized host OS (uname -s reports '$(uname -s)')"
fi
+# Check whether the compiler matches our minimum requirements:
+cat > $TMPC << EOF
+#if defined(__clang_major__) && defined(__clang_minor__)
+# ifdef __apple_build_version__
+# if __clang_major__ < 5 || (__clang_major__ == 5 && __clang_minor__ < 1)
+# error You need at least XCode Clang v5.1 to compile QEMU
+# endif
+# else
+# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 4)
+# error You need at least Clang v3.4 to compile QEMU
+# endif
+# endif
+#elif defined(__GNUC__) && defined(__GNUC_MINOR__)
+# if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8)
+# error You need at least GCC v4.8 to compile QEMU
+# endif
+#else
+# error You either need GCC or Clang to compiler QEMU
+#endif
+int main (void) { return 0; }
+EOF
+if ! compile_prog "" "" ; then
+ error_exit "You need at least GCC v4.8 or Clang v3.4 (or XCode Clang v5.1)"
+fi
+
gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits"
gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags"
gcc_flags="-Wno-missing-include-dirs -Wempty-body -Wnested-externs $gcc_flags"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 2/8] configure: Remove obsolete check for Clang < 3.2
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 1/8] configure: Add a test for the minimum compiler version Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 3/8] configure: Remove old -fno-gcse workaround for GCC 4.6.x and 4.7.[012] Thomas Huth
` (8 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Since we have got a check for Clang >= 3.4 now, we do not need to
check for older Clang versions in the configure test for 128-bit ints
anymore.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
configure | 5 -----
1 file changed, 5 deletions(-)
diff --git a/configure b/configure
index 7621c00..ca364f6 100755
--- a/configure
+++ b/configure
@@ -5148,11 +5148,6 @@ fi
int128=no
cat > $TMPC << EOF
-#if defined(__clang_major__) && defined(__clang_minor__)
-# if ((__clang_major__ < 3) || (__clang_major__ == 3) && (__clang_minor__ < 2))
-# error __int128_t does not work in CLANG before 3.2
-# endif
-#endif
__int128_t a;
__uint128_t b;
int main (void) {
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 3/8] configure: Remove old -fno-gcse workaround for GCC 4.6.x and 4.7.[012]
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 1/8] configure: Add a test for the minimum compiler version Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 2/8] configure: Remove obsolete check for Clang < 3.2 Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 4/8] tcg/tcg.h: Remove GCC check for tcg_debug_assert() macro Thomas Huth
` (7 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Now that we require at least GCC 4.8, we don't need this als workaround
for 4.6 and 4.7 anymore.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
Makefile.target | 3 ---
configure | 17 +----------------
2 files changed, 1 insertion(+), 19 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 4d56298..44ec4b6 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -158,9 +158,6 @@ GENERATED_FILES += hmp-commands.h hmp-commands-info.h
endif # CONFIG_SOFTMMU
-# Workaround for http://gcc.gnu.org/PR55489, see configure.
-%/translate.o: QEMU_CFLAGS += $(TRANSLATE_OPT_CFLAGS)
-
dummy := $(call unnest-vars,,obj-y)
all-obj-y := $(obj-y)
diff --git a/configure b/configure
index ca364f6..0886f45 100755
--- a/configure
+++ b/configure
@@ -1936,21 +1936,7 @@ else
QEMU_CFLAGS="$QEMU_CFLAGS -Wno-missing-braces"
fi
-# Workaround for http://gcc.gnu.org/PR55489. Happens with -fPIE/-fPIC and
-# large functions that use global variables. The bug is in all releases of
-# GCC, but it became particularly acute in 4.6.x and 4.7.x. It is fixed in
-# 4.7.3 and 4.8.0. We should be able to delete this at the end of 2013.
-cat > $TMPC << EOF
-#if __GNUC__ == 4 && (__GNUC_MINOR__ == 6 || (__GNUC_MINOR__ == 7 && __GNUC_PATCHLEVEL__ <= 2))
-int main(void) { return 0; }
-#else
-#error No bug in this compiler.
-#endif
-EOF
-if compile_prog "-Werror -fno-gcse" "" ; then
- TRANSLATE_OPT_CFLAGS=-fno-gcse
-fi
-
+# Static linking is not possible with modules or PIE
if test "$static" = "yes" ; then
if test "$modules" = "yes" ; then
error_exit "static and modules are mutually incompatible"
@@ -6983,7 +6969,6 @@ echo "LIBS_QGA+=$libs_qga" >> $config_host_mak
echo "TASN1_LIBS=$tasn1_libs" >> $config_host_mak
echo "TASN1_CFLAGS=$tasn1_cflags" >> $config_host_mak
echo "POD2MAN=$POD2MAN" >> $config_host_mak
-echo "TRANSLATE_OPT_CFLAGS=$TRANSLATE_OPT_CFLAGS" >> $config_host_mak
if test "$gcov" = "yes" ; then
echo "CONFIG_GCOV=y" >> $config_host_mak
echo "GCOV=$gcov_tool" >> $config_host_mak
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 4/8] tcg/tcg.h: Remove GCC check for tcg_debug_assert() macro
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (2 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 3/8] configure: Remove old -fno-gcse workaround for GCC 4.6.x and 4.7.[012] Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 5/8] audio/alsaaudio: Remove compiler check around pragma Thomas Huth
` (6 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Both GCC v4.8 and Clang v3.4 (our minimum versions) support
__builtin_unreachable(), so we can remove the version check here now.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tcg/tcg.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tcg/tcg.h b/tcg/tcg.h
index f4efbaa..f9a56a9 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -230,11 +230,9 @@ typedef uint64_t tcg_insn_unit;
#if defined CONFIG_DEBUG_TCG || defined QEMU_STATIC_ANALYSIS
# define tcg_debug_assert(X) do { assert(X); } while (0)
-#elif QEMU_GNUC_PREREQ(4, 5)
+#else
# define tcg_debug_assert(X) \
do { if (!(X)) { __builtin_unreachable(); } } while (0)
-#else
-# define tcg_debug_assert(X) do { (void)(X); } while (0)
#endif
typedef struct TCGRelocation {
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 5/8] audio/alsaaudio: Remove compiler check around pragma
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (3 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 4/8] tcg/tcg.h: Remove GCC check for tcg_debug_assert() macro Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 6/8] includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)" Thomas Huth
` (5 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Both GCC v4.8 and Clang v3.4 support the -Waddress option, so we do
not need the compiler version check here anymore.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
audio/alsaaudio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 362a227..635be73 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -28,9 +28,7 @@
#include "audio.h"
#include "trace.h"
-#if QEMU_GNUC_PREREQ(4, 3)
#pragma GCC diagnostic ignored "-Waddress"
-#endif
#define AUDIO_CAP "alsa"
#include "audio_int.h"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 6/8] includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)"
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (4 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 5/8] audio/alsaaudio: Remove compiler check around pragma Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 7/8] Remove QEMU_ARTIFICIAL macro Thomas Huth
` (4 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
Since we require GCC version 4.8 or newer now, we can be sure that
the builtin functions are always available on GCC. And for Clang,
we can check the availablility with __has_builtin instead.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
include/qemu/compiler.h | 2 +-
include/qemu/host-utils.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h
index 6b92710..1593bca 100644
--- a/include/qemu/compiler.h
+++ b/include/qemu/compiler.h
@@ -127,7 +127,7 @@
#define __has_builtin(x) 0 /* compatibility with non-clang compilers */
#endif
-#if __has_builtin(__builtin_assume_aligned) || QEMU_GNUC_PREREQ(4, 7)
+#if __has_builtin(__builtin_assume_aligned) || !defined(__clang__)
#define HAS_ASSUME_ALIGNED
#endif
diff --git a/include/qemu/host-utils.h b/include/qemu/host-utils.h
index 38da849..4cd170e 100644
--- a/include/qemu/host-utils.h
+++ b/include/qemu/host-utils.h
@@ -207,7 +207,7 @@ static inline int cto64(uint64_t val)
*/
static inline int clrsb32(uint32_t val)
{
-#if QEMU_GNUC_PREREQ(4, 7)
+#if __has_builtin(__builtin_clrsb) || !defined(__clang__)
return __builtin_clrsb(val);
#else
return clz32(val ^ ((int32_t)val >> 1)) - 1;
@@ -223,7 +223,7 @@ static inline int clrsb32(uint32_t val)
*/
static inline int clrsb64(uint64_t val)
{
-#if QEMU_GNUC_PREREQ(4, 7)
+#if __has_builtin(__builtin_clrsbll) || !defined(__clang__)
return __builtin_clrsbll(val);
#else
return clz64(val ^ ((int64_t)val >> 1)) - 1;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 7/8] Remove QEMU_ARTIFICIAL macro
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (5 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 6/8] includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)" Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 8/8] i2c: Move typedef of bitbang_i2c_interface to i2c.h Thomas Huth
` (3 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
The code that used it has already been removed a while ago with commit
dc41aa7d34989b552ef ("tcg: Remove GET_TCGV_* and MAKE_TCGV_*").
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
include/qemu/compiler.h | 6 ------
scripts/checkpatch.pl | 1 -
scripts/cocci-macro-file.h | 1 -
3 files changed, 8 deletions(-)
diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h
index 1593bca..261842b 100644
--- a/include/qemu/compiler.h
+++ b/include/qemu/compiler.h
@@ -28,12 +28,6 @@
#define QEMU_SENTINEL __attribute__((sentinel))
-#if QEMU_GNUC_PREREQ(4, 3)
-#define QEMU_ARTIFICIAL __attribute__((always_inline, artificial))
-#else
-#define QEMU_ARTIFICIAL
-#endif
-
#if defined(_WIN32)
# define QEMU_PACKED __attribute__((gcc_struct, packed))
#else
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 60f6f89..a892a6c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -202,7 +202,6 @@ our $Attribute = qr{
QEMU_NORETURN|
QEMU_WARN_UNUSED_RESULT|
QEMU_SENTINEL|
- QEMU_ARTIFICIAL|
QEMU_PACKED|
GCC_FMT_ATTR
}x;
diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h
index 9f2e72e..7e200a1 100644
--- a/scripts/cocci-macro-file.h
+++ b/scripts/cocci-macro-file.h
@@ -23,7 +23,6 @@
#define QEMU_NORETURN __attribute__ ((__noreturn__))
#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define QEMU_SENTINEL __attribute__((sentinel))
-#define QEMU_ARTIFICIAL __attribute__((always_inline, artificial))
#define QEMU_PACKED __attribute__((gcc_struct, packed))
#define cat(x,y) x ## y
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PULL 8/8] i2c: Move typedef of bitbang_i2c_interface to i2c.h
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (6 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 7/8] Remove QEMU_ARTIFICIAL macro Thomas Huth
@ 2018-12-12 9:13 ` Thomas Huth
2018-12-12 10:01 ` [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 no-reply
` (2 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 9:13 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel
From: BALATON Zoltan <balaton@eik.bme.hu>
Clang 3.4 considers duplicate typedef in ppc4xx_i2c.h and
bitbang_i2c.h an error even if they are identical. Move it to a common
place to allow building with this clang version.
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/i2c/bitbang_i2c.h | 2 --
include/hw/i2c/i2c.h | 2 ++
include/hw/i2c/ppc4xx_i2c.h | 3 ---
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/i2c/bitbang_i2c.h b/hw/i2c/bitbang_i2c.h
index 3a7126d..9443021 100644
--- a/hw/i2c/bitbang_i2c.h
+++ b/hw/i2c/bitbang_i2c.h
@@ -3,8 +3,6 @@
#include "hw/i2c/i2c.h"
-typedef struct bitbang_i2c_interface bitbang_i2c_interface;
-
#define BITBANG_I2C_SDA 0
#define BITBANG_I2C_SCL 1
diff --git a/include/hw/i2c/i2c.h b/include/hw/i2c/i2c.h
index 5dc1661..cf4c45a 100644
--- a/include/hw/i2c/i2c.h
+++ b/include/hw/i2c/i2c.h
@@ -82,6 +82,8 @@ int i2c_recv(I2CBus *bus);
DeviceState *i2c_create_slave(I2CBus *bus, const char *name, uint8_t addr);
+typedef struct bitbang_i2c_interface bitbang_i2c_interface;
+
/* lm832x.c */
void lm832x_key_event(DeviceState *dev, int key, int state);
diff --git a/include/hw/i2c/ppc4xx_i2c.h b/include/hw/i2c/ppc4xx_i2c.h
index 0891a9c..b3450ba 100644
--- a/include/hw/i2c/ppc4xx_i2c.h
+++ b/include/hw/i2c/ppc4xx_i2c.h
@@ -31,9 +31,6 @@
#include "hw/sysbus.h"
#include "hw/i2c/i2c.h"
-/* from hw/i2c/bitbang_i2c.h */
-typedef struct bitbang_i2c_interface bitbang_i2c_interface;
-
#define TYPE_PPC4xx_I2C "ppc4xx-i2c"
#define PPC4xx_I2C(obj) OBJECT_CHECK(PPC4xxI2CState, (obj), TYPE_PPC4xx_I2C)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (7 preceding siblings ...)
2018-12-12 9:13 ` [Qemu-devel] [PULL 8/8] i2c: Move typedef of bitbang_i2c_interface to i2c.h Thomas Huth
@ 2018-12-12 10:01 ` no-reply
2018-12-12 11:49 ` Thomas Huth
2018-12-12 16:17 ` Eric Blake
2018-12-14 12:59 ` Peter Maydell
10 siblings, 1 reply; 13+ messages in thread
From: no-reply @ 2018-12-12 10:01 UTC (permalink / raw)
To: thuth; +Cc: famz, peter.maydell, qemu-devel
Patchew URL: https://patchew.org/QEMU/1544606032-16924-1-git-send-email-thuth@redhat.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
time make docker-test-mingw@fedora SHOW_ENV=1 J=8
=== TEST SCRIPT END ===
The full log is available at
http://patchew.org/logs/1544606032-16924-1-git-send-email-thuth@redhat.com/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4
2018-12-12 10:01 ` [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 no-reply
@ 2018-12-12 11:49 ` Thomas Huth
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2018-12-12 11:49 UTC (permalink / raw)
To: qemu-devel, no-reply; +Cc: peter.maydell, famz
On 2018-12-12 11:01, no-reply@patchew.org wrote:
> Patchew URL: https://patchew.org/QEMU/1544606032-16924-1-git-send-email-thuth@redhat.com/
>
> Hi,
>
> This series failed the docker-mingw@fedora build test. Please find the testing commands and
> their output below. If you have Docker installed, you can probably reproduce it
> locally.
>
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> time make docker-test-mingw@fedora SHOW_ENV=1 J=8
> === TEST SCRIPT END ===
>
> The full log is available at
> http://patchew.org/logs/1544606032-16924-1-git-send-email-thuth@redhat.com/testing.docker-mingw@fedora/?type=message.
That looks like a networking error?
Thomas
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (8 preceding siblings ...)
2018-12-12 10:01 ` [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 no-reply
@ 2018-12-12 16:17 ` Eric Blake
2018-12-14 12:59 ` Peter Maydell
10 siblings, 0 replies; 13+ messages in thread
From: Eric Blake @ 2018-12-12 16:17 UTC (permalink / raw)
To: Thomas Huth, Peter Maydell; +Cc: qemu-devel, Paolo Bonzini
On 12/12/18 3:13 AM, Thomas Huth wrote:
> Hi Peter,
>
> the following changes since commit bb9bf94b3e8926553290bc9a7cb84315af422086:
>
> Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2018-12-11 19:18:58 +0000)
>
> are available in the git repository at:
>
> https://gitlab.com/huth/qemu.git tags/pull-request-2018-12-12
>
> for you to fetch changes up to 2b4c1125ac3db2734222ff43c25388a16aca4a99:
>
> i2c: Move typedef of bitbang_i2c_interface to i2c.h (2018-12-12 10:01:13 +0100)
>
> ----------------------------------------------------------------
> Explicitly check for minimum compiler versions.
> Remove obsolete code for old compilers that is now not required anymore.
> Fix a duplicated typedef for Clang 3.4.
Paolo's pending request includes some of the same patches. Git will
probably do the right thing even if a patch is introduced twice through
two arms of a merge, but I'm flagging it just in case either maintainer
wants to coordinate sending a v2 pull request in time for Peter to not
have to worry about the duplication.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
` (9 preceding siblings ...)
2018-12-12 16:17 ` Eric Blake
@ 2018-12-14 12:59 ` Peter Maydell
10 siblings, 0 replies; 13+ messages in thread
From: Peter Maydell @ 2018-12-14 12:59 UTC (permalink / raw)
To: Thomas Huth; +Cc: QEMU Developers
On Wed, 12 Dec 2018 at 09:13, Thomas Huth <thuth@redhat.com> wrote:
>
> Hi Peter,
>
> the following changes since commit bb9bf94b3e8926553290bc9a7cb84315af422086:
>
> Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2018-12-11 19:18:58 +0000)
>
> are available in the git repository at:
>
> https://gitlab.com/huth/qemu.git tags/pull-request-2018-12-12
>
> for you to fetch changes up to 2b4c1125ac3db2734222ff43c25388a16aca4a99:
>
> i2c: Move typedef of bitbang_i2c_interface to i2c.h (2018-12-12 10:01:13 +0100)
>
> ----------------------------------------------------------------
> Explicitly check for minimum compiler versions.
> Remove obsolete code for old compilers that is now not required anymore.
> Fix a duplicated typedef for Clang 3.4.
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes (we have a section for build environment
requirements at the bottom).
-- PMM
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2018-12-14 13:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12 9:13 [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 1/8] configure: Add a test for the minimum compiler version Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 2/8] configure: Remove obsolete check for Clang < 3.2 Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 3/8] configure: Remove old -fno-gcse workaround for GCC 4.6.x and 4.7.[012] Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 4/8] tcg/tcg.h: Remove GCC check for tcg_debug_assert() macro Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 5/8] audio/alsaaudio: Remove compiler check around pragma Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 6/8] includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)" Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 7/8] Remove QEMU_ARTIFICIAL macro Thomas Huth
2018-12-12 9:13 ` [Qemu-devel] [PULL 8/8] i2c: Move typedef of bitbang_i2c_interface to i2c.h Thomas Huth
2018-12-12 10:01 ` [Qemu-devel] [PULL 0/8] Set minimum compiler versions to GCC 4.8 and Clang 3.4 no-reply
2018-12-12 11:49 ` Thomas Huth
2018-12-12 16:17 ` Eric Blake
2018-12-14 12:59 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).