* [PATCH] gitlab: Drop --static from s390x linux-user build
@ 2024-05-06 20:20 Richard Henderson
2024-05-07 6:03 ` Thomas Huth
2024-05-07 9:22 ` Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2024-05-06 20:20 UTC (permalink / raw)
To: qemu-devel; +Cc: alex.bennee, thuth
The host does not have the correct libraries installed for static pie,
which causes host/guest address space interference for some tests.
There's no real gain from linking statically, so drop it.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
Per my suggestion in
https://lore.kernel.org/qemu-devel/50c27a9f-fd75-4f8e-9a2d-488d8df4f9b9@linaro.org
r~
---
.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
index 105981879f..3a2b1e1d24 100644
--- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
@@ -2,7 +2,7 @@
# setup by the scripts/ci/setup/build-environment.yml task
# "Install basic packages to build QEMU on Ubuntu 22.04"
-ubuntu-22.04-s390x-all-linux-static:
+ubuntu-22.04-s390x-all-linux:
extends: .custom_runner_template
needs: []
stage: build
@@ -15,7 +15,7 @@ ubuntu-22.04-s390x-all-linux-static:
script:
- mkdir build
- cd build
- - ../configure --enable-debug --static --disable-system
+ - ../configure --enable-debug-tcg --disable-system --disable-tools --disable-docs
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
- make --output-sync -j`nproc`
- make --output-sync check-tcg
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab: Drop --static from s390x linux-user build
2024-05-06 20:20 [PATCH] gitlab: Drop --static from s390x linux-user build Richard Henderson
@ 2024-05-07 6:03 ` Thomas Huth
2024-05-07 9:22 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2024-05-07 6:03 UTC (permalink / raw)
To: Richard Henderson, qemu-devel; +Cc: alex.bennee
On 06/05/2024 22.20, Richard Henderson wrote:
> The host does not have the correct libraries installed for static pie,
> which causes host/guest address space interference for some tests.
> There's no real gain from linking statically, so drop it.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> Per my suggestion in
>
> https://lore.kernel.org/qemu-devel/50c27a9f-fd75-4f8e-9a2d-488d8df4f9b9@linaro.org
>
>
> r~
> ---
> .gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
> index 105981879f..3a2b1e1d24 100644
> --- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
> +++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
> @@ -2,7 +2,7 @@
> # setup by the scripts/ci/setup/build-environment.yml task
> # "Install basic packages to build QEMU on Ubuntu 22.04"
>
> -ubuntu-22.04-s390x-all-linux-static:
> +ubuntu-22.04-s390x-all-linux:
> extends: .custom_runner_template
> needs: []
> stage: build
> @@ -15,7 +15,7 @@ ubuntu-22.04-s390x-all-linux-static:
> script:
> - mkdir build
> - cd build
> - - ../configure --enable-debug --static --disable-system
> + - ../configure --enable-debug-tcg --disable-system --disable-tools --disable-docs
Maybe mention the --disable-tools and --disable-docs in the commit message, too?
Anyway:
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab: Drop --static from s390x linux-user build
2024-05-06 20:20 [PATCH] gitlab: Drop --static from s390x linux-user build Richard Henderson
2024-05-07 6:03 ` Thomas Huth
@ 2024-05-07 9:22 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2024-05-07 9:22 UTC (permalink / raw)
To: Richard Henderson; +Cc: qemu-devel, alex.bennee, thuth
On Mon, 6 May 2024 at 21:21, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The host does not have the correct libraries installed for static pie,
> which causes host/guest address space interference for some tests.
> There's no real gain from linking statically, so drop it.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
The lack of rcrt1.o seems to be a bug in the Ubuntu Jammy (22.04) libc6-dev
packages. It is present in the versions in Mantic (23.04) and Noble
(24.04).
thanks
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-07 9:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 20:20 [PATCH] gitlab: Drop --static from s390x linux-user build Richard Henderson
2024-05-07 6:03 ` Thomas Huth
2024-05-07 9:22 ` 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).