Skip to content

'linux/io_uring.h' file not found #240

@zaneenders

Description

@zaneenders

Hi,

main fails to build on Linux due to missing linux/io_uring.h.

➜  swift-system git:(main) swift build -c release --swift-sdk aarch64-swift-linux-musl

Building for production...
In file included from /home/zane/.scribe/Projects/swift-system/Sources/CSystem/shims.c:12:
In file included from /home/zane/.scribe/Projects/swift-system/Sources/CSystem/include/CSystemLinux.h:24:
/home/zane/.scribe/Projects/swift-system/Sources/CSystem/include/io_uring.h:6:10: fatal error: 'linux/io_uring.h' file not found
    6 | #include <linux/io_uring.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Write swift-version--369F648853B632EA.txt


➜  swift-system git:(main) ls /usr/include/linux/io_uring.h                           
/usr/include/linux/io_uring.h

➜  swift-system git:(main) uname -r
6.14.8-400.asahi.fc42.aarch64+16k

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions