Skip to content
Snippets Groups Projects
  1. Feb 09, 2024
  2. Jan 05, 2024
    • Paolo Bonzini's avatar
      configure: use a native non-cross compiler for linux-user · bb28ee11
      Paolo Bonzini authored
      
      Commit c2118e9e ("configure: don't try a "native" cross for linux-user",
      2023-11-23) sought to avoid issues with using the native compiler with a
      cross-endian or cross-bitness setup.  However, in doing so it ended up
      requiring a cross compiler setup (and most likely a slow compiler setup)
      even when building TCG tests that are native to the host architecture.
      Always allow the host compiler in that case.
      
      Cc: qemu-stable@nongnu.org
      Fixes: c2118e9e ("configure: don't try a "native" cross for linux-user", 2023-11-23)
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      (cherry picked from commit 007531586aa8ef6dccdadd927b89a50af62288d1)
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      bb28ee11
  3. Nov 24, 2023
  4. Nov 23, 2023
    • Alex Bennée's avatar
      configure: don't try a "native" cross for linux-user · c2118e9e
      Alex Bennée authored
      
      As 32 bit x86 become rarer we are starting to run into problems with
      search paths. Although we switched to a Debian container we still
      favour the native CC on a Bookworm host. As a result we have a broken
      cross compile setup which then fails to build with:
      
          BUILD   i386-linux-user guest-tests
        In file included from /usr/include/linux/stat.h:5,
                         from /usr/include/bits/statx.h:31,
                         from /usr/include/sys/stat.h:465,
                         from /home/alex/lsrc/qemu.git/tests/tcg/multiarch/linux/linux-test.c:28:
        /usr/include/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory
            5 | #include <asm/types.h>
              |          ^~~~~~~~~~~~~
        compilation terminated.
        make[1]: *** [Makefile:119: linux-test] Error 1
        make: *** [/home/alex/lsrc/qemu.git/tests/Makefile.include:50: build-tcg-tests-i386-linux-user] Error 2
      
      This is likely to affect more and more linux-user builds so wrap the
      whole check in a test for softmmu targets (aka bare metal) which don't
      worry about such header niceties. This allows us to keep using the
      host compiler for softmmu tests and the roms.
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20231120150833.2552739-14-alex.bennee@linaro.org>
      c2118e9e
    • Daniel P. Berrangé's avatar
      tests/docker: replace fedora-i386 with debian-i686 · aa5730b0
      Daniel P. Berrangé authored
      
      Fedora is gradually killing off i386 packages in its repos, via a
      death-by-1000-cuts process. Thus Debian looks like a better long
      term bet for i686 build testing. It has the added advantage that
      we can generate it via lcitool too.
      
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-Id: <20231107164109.1449014-1-berrange@redhat.com>
      [AJB: tweak commit msg, set correct prefix]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20231120150833.2552739-2-alex.bennee@linaro.org>
      aa5730b0
  5. Nov 08, 2023
  6. Oct 31, 2023
  7. Oct 18, 2023
  8. Oct 17, 2023
  9. Oct 11, 2023
  10. Oct 08, 2023
  11. Sep 07, 2023
    • Paolo Bonzini's avatar
      Python: Drop support for Python 3.7 · ca056f44
      Paolo Bonzini authored
      
      Debian 10 is not anymore a supported distro, since Debian 12 was
      released on June 10, 2023.  Our supported build platforms as of today
      all support at least 3.8 (and all of them except for Ubuntu 20.04
      support 3.9):
      
      openSUSE Leap 15.5: 3.6.15 (3.11.2)
      CentOS Stream 8:    3.6.8  (3.8.13, 3.9.16, 3.11.4)
      CentOS Stream 9:    3.9.17 (3.11.4)
      Fedora 37:          3.11.4
      Fedora 38:          3.11.4
      Debian 11:          3.9.2
      Debian 12:          3.11.2
      Alpine 3.14, 3.15:  3.9.16
      Alpine 3.16, 3.17:  3.10.10
      Ubuntu 20.04 LTS:   3.8.10
      Ubuntu 22.04 LTS:   3.10.12
      NetBSD 9.3:         3.9.13*
      FreeBSD 12.4:       3.9.16
      FreeBSD 13.1:       3.9.18
      OpenBSD 7.2:        3.9.17
      
      Note: NetBSD does not appear to have a default meta-package, but offers
      several options, the lowest of which is 3.7.15. However, "python39"
      appears to be a pre-requisite to one of the other packages we request
      in tests/vm/netbsd.
      
      Since it is safe under our supported platform policy, bump our
      minimum supported version of Python to 3.8.  The two most interesting
      features to have by default include:
      
      - the importlib.metadata module, whose lack is responsible for over 100
        lines of code in mkvenv.py
      
      - improvements to asyncio, for example asyncio.CancelledError
        inherits from BaseException rather than Exception
      
      In addition, code can now use the assignment operator ':='
      
      Because mypy now learns about importlib.metadata, a small change to
      mkvenv.py is needed to pass type checking.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ca056f44
    • Paolo Bonzini's avatar
      configure: remove dead code · a5e9fbf1
      Paolo Bonzini authored
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      a5e9fbf1
    • Paolo Bonzini's avatar
      configure, meson: remove target OS symbols from config-host.mak · 1f2146f7
      Paolo Bonzini authored
      
      Stop applying config-host.mak to the sourcesets, since it does not
      have any more CONFIG_* symbols coming from the command line.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      1f2146f7
    • Paolo Bonzini's avatar
      configure, meson: remove CONFIG_SOLARIS from config-host.mak · 73258b38
      Paolo Bonzini authored
      
      CONFIG_SOLARIS is only used to pick tap implementations.  But the
      target OS is invariant and does not depend on the configuration, so move
      away from config_host and just use unconditional rules in softmmu_ss.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      73258b38
Loading