Skip to contentSkip to conversation

configure: Loosen GCC requirement from 7.5.0 to 7.4.0

PATCH Applied nia 3 participants 3 messages Oct 1, 2021 – Oct 2, 2021

lore
Share & tools
lore

nia

author
#0 lore raw

PATCH v2 1/1 configure: Loosen GCC requirement from 7.5.0 to 7.4.0

As discussed in issue 614, we're shipping GCC 7.4.0 as the system compiler in NetBSD 9, the most recent stable branch, and are still actively interested in QEMU on this platform.

The differences between GCC 7.5.0 and 7.4.0 are trivial.

---
 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
configure +3 -3
index 1043ccce4f..b0b1a1cc25 100755
@@ -2094,8 +2094,8 @@ cat > $TMPC << EOF
 #  endif
 # endif
 #elif defined(__GNUC__) && defined(__GNUC_MINOR__)
-# if __GNUC__ < 7 || (__GNUC__ == 7 && __GNUC_MINOR__ < 5)
-#  error You need at least GCC v7.5.0 to compile QEMU
+# if __GNUC__ < 7 || (__GNUC__ == 7 && __GNUC_MINOR__ < 4)
+#  error You need at least GCC v7.4.0 to compile QEMU
 # endif
 #else
 # error You either need GCC or Clang to compiler QEMU
@@ -2103,7 +2103,7 @@ cat > $TMPC << EOF
 int main (void) { return 0; }
 EOF
 if ! compile_prog "" "" ; then
-    error_exit "You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0)"
+    error_exit "You need at least GCC v7.4 or Clang v6.0 (or XCode Clang v10.0)"
 fi
 
 # Accumulate -Wfoo and -Wno-bar separately.
Signature · 1 line
2.33.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 10 lines · nia

As discussed in issue 614, we're shipping GCC 7.4.0 as the system compiler in NetBSD 9, the most recent stable branch, and are still actively interested in QEMU on this platform.

The differences between GCC 7.5.0 and 7.4.0 are trivial.

---
  configure | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

r~

#2 lore raw
Quoted 7 lines · Richard Henderson
Quoted 6 lines · nia

As discussed in issue 614, we're shipping GCC 7.4.0 as the system compiler in NetBSD 9, the most recent stable branch, and are still actively interested in QEMU on this platform.

The differences between GCC 7.5.0 and 7.4.0 are trivial.

Quoted 9 lines
Quoted 4 lines

---
  configure | 6 +++---

  1 file changed, 3 insertions(+), 3 deletions(-)

r~

Queued, thanks.

Paolo