4762c82cbd
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>
44 lines
821 B
Docker
44 lines
821 B
Docker
FROM centos:7
|
|
RUN yum install -y epel-release centos-release-xen-48
|
|
|
|
RUN yum -y update
|
|
|
|
# Please keep this list sorted alphabetically
|
|
ENV PACKAGES \
|
|
bzip2 \
|
|
bzip2-devel \
|
|
ccache \
|
|
csnappy-devel \
|
|
dbus-daemon \
|
|
gcc-c++ \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
glib2-devel \
|
|
glibc-static \
|
|
gnutls-devel \
|
|
libaio-devel \
|
|
libepoxy-devel \
|
|
libfdt-devel \
|
|
libgcrypt-devel \
|
|
librdmacm-devel \
|
|
libzstd-devel \
|
|
lzo-devel \
|
|
make \
|
|
mesa-libEGL-devel \
|
|
mesa-libgbm-devel \
|
|
nettle-devel \
|
|
ninja-build \
|
|
perl-Test-Harness \
|
|
pixman-devel \
|
|
python3 \
|
|
SDL2-devel \
|
|
spice-glib-devel \
|
|
spice-server-devel \
|
|
tar \
|
|
vte-devel \
|
|
xen-devel \
|
|
zlib-devel
|
|
RUN yum install -y $PACKAGES
|
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|