[PATCH 2/3] docker: Stop building 32-bit PowerPC images

Philippe Mathieu-Daudé posted 3 patches 1 month ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
[PATCH 2/3] docker: Stop building 32-bit PowerPC images
Posted by Philippe Mathieu-Daudé 1 month ago
32-bit host support is deprecated since commit 6d701c9bac1
("meson: Deprecate 32-bit host support"). Besides, the Ubuntu
distribution we are using to cross-build dropped support for
32-bit PPC as of Ubuntu 18.04 LTS [*].

  Given the recent announcement that the powerpc architecture
  would be dropped from the upcoming Debian release, there
  has been a good deal of discussion about the future of this
  architecture in Ubuntu as well [...].

  Unlike the ppc64el architecture, there is no longer upstream
  support for the 32-bit, big-endian powerpc architecture [...].

  The Technical Board has therefore determined that the powerpc
  port should not be included in the Ubuntu 17.04 (zesty) release.

  The powerpc architecture will continue to be supported as part
  of existing stable releases.  Since powerpc is included in
  Ubuntu 16.04 LTS, security updates for existing packages can be
  expected until April 2021.

Next commits will remove support for 32-bit PPC hosts. Stop
building the powerpc Docker image.

[*] https://lists.ubuntu.com/archives/ubuntu-devel-announce/2016-December/001199.html

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 configure                                             | 1 -
 tests/docker/dockerfiles/debian-all-test-cross.docker | 1 -
 2 files changed, 2 deletions(-)

diff --git a/configure b/configure
index 461b53dd605..ce76a00aff1 100755
--- a/configure
+++ b/configure
@@ -1362,7 +1362,6 @@ fi
 : ${cross_prefix_mips64="mips64-linux-gnuabi64-"}
 : ${cross_prefix_mipsel="mipsel-linux-gnu-"}
 : ${cross_prefix_mips="mips-linux-gnu-"}
-: ${cross_prefix_ppc="powerpc-linux-gnu-"}
 : ${cross_prefix_ppc64="powerpc64-linux-gnu-"}
 : ${cross_prefix_ppc64le="$cross_prefix_ppc64"}
 : ${cross_prefix_riscv64="riscv64-linux-gnu-"}
diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/docker/dockerfiles/debian-all-test-cross.docker
index 420a4e33e60..08361cbe6b5 100644
--- a/tests/docker/dockerfiles/debian-all-test-cross.docker
+++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
@@ -58,7 +58,6 @@ ENV AVAILABLE_COMPILERS gcc-aarch64-linux-gnu \
 RUN if dpkg-architecture -e amd64; then \
   export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-hppa-linux-gnu libc6-dev-hppa-cross"; \
   export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-m68k-linux-gnu libc6-dev-m68k-cross"; \
-  export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-powerpc-linux-gnu libc6-dev-powerpc-cross"; \
   export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross"; \
   export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-sparc64-linux-gnu libc6-dev-sparc64-cross"; \
   fi && \
-- 
2.51.0


Re: [PATCH 2/3] docker: Stop building 32-bit PowerPC images
Posted by Alex Bennée 1 month ago
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> 32-bit host support is deprecated since commit 6d701c9bac1
> ("meson: Deprecate 32-bit host support"). Besides, the Ubuntu
> distribution we are using to cross-build dropped support for
> 32-bit PPC as of Ubuntu 18.04 LTS [*].

Erm NAK. debian-all-test-cross.docker holds the cross compilers for
building test cases and we are not dropping 32 bit guest support.

We may need to hive more off into legacy-test-cross if they are being
dropped from Trixie.

>
>   Given the recent announcement that the powerpc architecture
>   would be dropped from the upcoming Debian release, there
>   has been a good deal of discussion about the future of this
>   architecture in Ubuntu as well [...].
>
>   Unlike the ppc64el architecture, there is no longer upstream
>   support for the 32-bit, big-endian powerpc architecture [...].
>
>   The Technical Board has therefore determined that the powerpc
>   port should not be included in the Ubuntu 17.04 (zesty) release.
>
>   The powerpc architecture will continue to be supported as part
>   of existing stable releases.  Since powerpc is included in
>   Ubuntu 16.04 LTS, security updates for existing packages can be
>   expected until April 2021.
>
> Next commits will remove support for 32-bit PPC hosts. Stop
> building the powerpc Docker image.
>
> [*] https://lists.ubuntu.com/archives/ubuntu-devel-announce/2016-December/001199.html
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>  configure                                             | 1 -
>  tests/docker/dockerfiles/debian-all-test-cross.docker | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/configure b/configure
> index 461b53dd605..ce76a00aff1 100755
> --- a/configure
> +++ b/configure
> @@ -1362,7 +1362,6 @@ fi
>  : ${cross_prefix_mips64="mips64-linux-gnuabi64-"}
>  : ${cross_prefix_mipsel="mipsel-linux-gnu-"}
>  : ${cross_prefix_mips="mips-linux-gnu-"}
> -: ${cross_prefix_ppc="powerpc-linux-gnu-"}
>  : ${cross_prefix_ppc64="powerpc64-linux-gnu-"}
>  : ${cross_prefix_ppc64le="$cross_prefix_ppc64"}
>  : ${cross_prefix_riscv64="riscv64-linux-gnu-"}
> diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/docker/dockerfiles/debian-all-test-cross.docker
> index 420a4e33e60..08361cbe6b5 100644
> --- a/tests/docker/dockerfiles/debian-all-test-cross.docker
> +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
> @@ -58,7 +58,6 @@ ENV AVAILABLE_COMPILERS gcc-aarch64-linux-gnu \
>  RUN if dpkg-architecture -e amd64; then \
>    export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-hppa-linux-gnu libc6-dev-hppa-cross"; \
>    export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-m68k-linux-gnu libc6-dev-m68k-cross"; \
> -  export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-powerpc-linux-gnu libc6-dev-powerpc-cross"; \
>    export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross"; \
>    export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-sparc64-linux-gnu libc6-dev-sparc64-cross"; \
>    fi && \

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro