Skip to content
Snippets Groups Projects
  1. Jun 25, 2021
  2. Jun 21, 2021
    • Thomas Huth's avatar
      configure: Check whether we can compile the s390-ccw bios with -msoft-float · 3af448b3
      Thomas Huth authored
      
      The -msoft-float switch is not available in older versions of Clang.
      Since we rely on the compiler to not generate floating point instructions
      unexpectedly, we block those old compilers now via a test in the configure
      script. Note that for some weird reasons, the Clang compiler only complains
      about the missing soft-float support if no other flags are passed via
      "-Wl,..." to the linker. So we have to use "compile_object" instead of
      "compile_prog" for this check.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20210525142032.156989-1-thuth@redhat.com>
      Signed-off-by: default avatarCornelia Huck <cohuck@redhat.com>
      3af448b3
  3. Jun 20, 2021
  4. Jun 19, 2021
  5. Jun 16, 2021
  6. Jun 15, 2021
  7. Jun 04, 2021
  8. Jun 02, 2021
  9. May 26, 2021
  10. May 21, 2021
  11. May 18, 2021
  12. May 14, 2021
    • Thomas Huth's avatar
      configure: Poison all current target-specific #defines · e0447a83
      Thomas Huth authored
      
      We are generating a lot of target-specific defines in the *-config-devices.h
      and *-config-target.h files. Using them in common code is wrong and leads
      to very subtle bugs since a "#ifdef CONFIG_SOMETHING" is not working there
      as expected. To avoid these issues, we are already poisoning many of the
      macros in include/exec/poison.h - but it's cumbersome to maintain this
      list manually. Thus let's generate an additional list of poisoned macros
      automatically from the current config switches - this should give us a
      much better test coverage via the different CI configurations.
      
      Note that CONFIG_TCG (which is also defined in config-host.h) and
      CONFIG_USER_ONLY are special, so we have to filter these out.
      
      Message-Id: <20210414112004.943383-5-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      e0447a83
  13. May 12, 2021
  14. May 09, 2021
    • Thomas Huth's avatar
      pc-bios/s390-ccw: Allow building with Clang, too · a5b2afd5
      Thomas Huth authored
      
      Clang unfortunately does not support generating code for the z900
      architecture level and starts with the z10 instead. Thus to be able
      to support compiling with Clang, we have to check for the supported
      compiler flags. The disadvantage is of course that the bios image
      will only run with z10 guest CPUs upwards (which is what most people
      use anyway), so just in case let's also emit a warning in that case
      (we will continue to ship firmware images that have been pre-built
      with GCC in future releases, so this should not impact normal users,
      too).
      
      Message-Id: <20210502174836.838816-5-thuth@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      a5b2afd5
  15. May 04, 2021
Loading