mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 01:54:28 +00:00
This patch sets the glibc.pthread.rseq tunable [1] to disable rseq support in glibc as a temporary solution for the problem described in [2]. This would allow us to run CI tests until CRIU has rseq support. This commit also disables the rpc tests as they fail even when GLIBC_TUNABLES is set. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=e3e589829d16af9f7e73c7b70f74f3c5d5003e45 [2] https://github.com/checkpoint-restore/criu/issues/1696 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
17 lines
480 B
Cheetah
17 lines
480 B
Cheetah
ARG CC=gcc
|
|
|
|
# FIXME: Temporary solution for https://github.com/checkpoint-restore/criu/issues/1696
|
|
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
|
|
|
|
COPY scripts/ci/prepare-for-fedora-rawhide.sh /bin/prepare-for-fedora-rawhide.sh
|
|
RUN /bin/prepare-for-fedora-rawhide.sh
|
|
|
|
COPY . /criu
|
|
WORKDIR /criu
|
|
|
|
RUN make mrproper && date && make -j $(nproc) CC="$CC" && date
|
|
|
|
# The rpc test cases are running as user #1000, let's add the user
|
|
RUN adduser -u 1000 test
|
|
|
|
RUN make -C test/zdtm -j $(nproc)
|