From: Wainer dos Santos Moschetta <wainersm@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Cc: "Fam Zheng" <fam@euphon.net>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Laurent Vivier" <laurent@vivier.eu>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH v2 1/2] tests/docker: Install static libc package in CentOS 7
Date: Thu, 21 Jan 2021 15:30:49 -0300 [thread overview]
Message-ID: <29818f10-acb6-4e7e-6e55-8bd3b5c83076@redhat.com> (raw)
In-Reply-To: <20210121172829.1643620-2-f4bug@amsat.org>
On 1/21/21 2:28 PM, Philippe Mathieu-Daudé wrote:
> We need to install the static libc package to be able to run
> the TCG tests:
>
> $ make check-tcg
> ...
> BUILD TCG tests for x86_64-softmmu
> BUILD x86_64-softmmu guest-tests with cc
> /usr/bin/ld: hello: warning: allocated section `.notes' not in segment
> /usr/bin/ld: memory: warning: allocated section `.notes' not in segment
> BUILD TCG tests for x86_64-linux-user
> BUILD x86_64-linux-user guest-tests with cc
> /usr/bin/ld: cannot find -lpthread
> /usr/bin/ld: cannot find -lc
> collect2: error: ld returned 1 exit status
> make[2]: *** [threadcount] Error 1
> make[1]: *** [cross-build-guest-tests] Error 2
> make: *** [build-tcg-tests-x86_64-linux-user] Error 2
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> tests/docker/dockerfiles/centos7.docker | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
>
> diff --git a/tests/docker/dockerfiles/centos7.docker b/tests/docker/dockerfiles/centos7.docker
> index 6f11af1989e..75fdb53c7c0 100644
> --- a/tests/docker/dockerfiles/centos7.docker
> +++ b/tests/docker/dockerfiles/centos7.docker
> @@ -15,6 +15,7 @@ ENV PACKAGES \
> gettext \
> git \
> glib2-devel \
> + glibc-static \
> gnutls-devel \
> libaio-devel \
> libepoxy-devel \
next prev parent reply other threads:[~2021-01-21 18:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-21 17:28 [PATCH v2 0/2] gitlab-ci: Test linux-user on CentOS 7 Philippe Mathieu-Daudé
2021-01-21 17:28 ` [PATCH v2 1/2] tests/docker: Install static libc package in " Philippe Mathieu-Daudé
2021-01-21 18:25 ` Thomas Huth
2021-01-21 18:30 ` Wainer dos Santos Moschetta [this message]
2021-01-21 17:28 ` [PATCH v2 2/2] gitlab-ci: Test building linux-user targets on " Philippe Mathieu-Daudé
2021-01-21 17:45 ` Wainer dos Santos Moschetta
2021-01-21 18:20 ` Philippe Mathieu-Daudé
2021-01-21 18:29 ` Wainer dos Santos Moschetta
2021-01-21 18:25 ` Thomas Huth
2021-01-21 18:33 ` Wainer dos Santos Moschetta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29818f10-acb6-4e7e-6e55-8bd3b5c83076@redhat.com \
--to=wainersm@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=f4bug@amsat.org \
--cc=fam@euphon.net \
--cc=laurent@vivier.eu \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).