[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/9] tests/docker: Install static libc package in CentOS 7
From: |
Thomas Huth |
Subject: |
[PULL 1/9] tests/docker: Install static libc package in CentOS 7 |
Date: |
Wed, 27 Jan 2021 10:54:36 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210121172829.1643620-2-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/docker/dockerfiles/centos7.docker | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/docker/dockerfiles/centos7.docker
b/tests/docker/dockerfiles/centos7.docker
index 6f11af1989..75fdb53c7c 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 \
--
2.27.0
- [PULL 0/9] Gitlab-CI and testing improvements, Thomas Huth, 2021/01/27
- [PULL 1/9] tests/docker: Install static libc package in CentOS 7,
Thomas Huth <=
- [PULL 2/9] gitlab-ci: Test building linux-user targets on CentOS 7, Thomas Huth, 2021/01/27
- [PULL 3/9] gitlab-ci.yml: Avoid some submodules to speed up the CI a little bit, Thomas Huth, 2021/01/27
- [PULL 4/9] configure: Only check for audio drivers if system-mode is selected, Thomas Huth, 2021/01/27
- [PULL 5/9] meson: Do not build optional libraries by default, Thomas Huth, 2021/01/27
- [PULL 6/9] gitlab-ci.yml: Exclude some redundant targets in build-without-default-features, Thomas Huth, 2021/01/27
- [PULL 7/9] gitlab-ci.yml: Avoid recompiling the sources in the test jobs, Thomas Huth, 2021/01/27
- [PULL 8/9] docs/devel: Explain how acceptance tests can be skipped, Thomas Huth, 2021/01/27
- [PULL 9/9] libqtest: Rework qtest_rsp(), Thomas Huth, 2021/01/27
- Re: [PULL 0/9] Gitlab-CI and testing improvements, Peter Maydell, 2021/01/28