Skip to contentSkip to conversation

criu: Adjust to glibc __rseq_size semantic change

PATCH New [email protected] 1 participant 1 message Mar 21, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 criu: Adjust to glibc __rseq_size semantic change

From: Guocai He <[email protected]>

On criu version 3.17:
When use "criu restore -d -D checkpoint" to restore, the error is:
1272: Error (criu/cr-restore.c:1498): 1295 killed by signal 11: Segmentation fault

The root casue is that the glibc updated and criu should adjust to glibc __rseq_size semantic change.

---
 recipes-containers/criu/criu_git.bb           |   2 +-
 ...to-glibc-__rseq_size-semantic-change.patch | 100 ++++++++++++++++++
 2 files changed, 101 insertions(+), 1 deletion(-)
 create mode 100644 recipes-containers/criu/files/0004-criu-Adjust-to-glibc-__rseq_size-semantic-change.patch
recipes-containers/criu/criu_git.bb +1 -1
index a9da837f..f67b794e 100644
@@ -20,8 +20,8 @@ SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=h
            file://0001-criu-Skip-documentation-install.patch \
            file://0002-criu-Change-libraries-install-directory.patch \
            file://0003-lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \
+           file://0004-criu-Adjust-to-glibc-__rseq_size-semantic-change.patch \
           "
-
 COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
 
 DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet"
recipes-containers/criu/files/0004-criu-Adjust-to-glibc-__rseq_size-semantic-change.patch new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
2.34.1