Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error against latest Linux tree #138

Closed
cpackham opened this issue Jun 12, 2020 · 0 comments
Closed

Build error against latest Linux tree #138

cpackham opened this issue Jun 12, 2020 · 0 comments

Comments

@cpackham
Copy link
Contributor

Hi,

I just encountered the following error when building strace-5.7 (and earlier versions) against the latest linux tree

strace: In file included from ./static_assert.h:11,
strace:                  from xlat/uring_op_flags.h:4,
strace:                  from io_uring.c:14:
strace: io_uring.c:32:1: error: static assertion failed: "struct io_cqring_offsets.resv is missing, please update the decoder"
strace:  static_assert(0, "struct io_cqring_offsets.resv is missing"
strace:  ^~~~~~~~~~~~~

This is no doubt due to the linux commit 0d9b5b3af1 ("io_uring: add 'cq_flags' field for the CQ ring") which grabbed some of the reserved bytes and split the remaining bytes into resv1 and resv2.

wanghao75 pushed a commit to openeuler-mirror/strace that referenced this issue Jun 1, 2024
The same as strace/strace#138
Upstream patch:
- strace/strace@fded17c
- strace/strace@592b915

spec: disable check after building

Signed-off-by: fu.lin <fulin10@huawei.com>
wanghao75 pushed a commit to openeuler-mirror/strace that referenced this issue Jun 1, 2024
The same as strace/strace#138
Upstream patch:
- strace/strace@fded17c
- strace/strace@592b915

spec: disable check after building

Signed-off-by: fu.lin <fulin10@huawei.com>
(cherry picked from commit 509bf53)
wanghao75 pushed a commit to openeuler-mirror/strace that referenced this issue Jun 1, 2024
The same as strace/strace#138
Upstream patch:
- strace/strace@fded17c
- strace/strace@592b915

spec: disable check after building

Signed-off-by: fu.lin <fulin10@huawei.com>
(cherry picked from commit 509bf53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant