Skip to content

eio_posix: fix build on 32-bit platforms - #917

Merged
talex5 merged 1 commit into
ocaml-multicore:mainfrom
talex5:fix-32bit
Aug 3, 2026
Merged

eio_posix: fix build on 32-bit platforms#917
talex5 merged 1 commit into
ocaml-multicore:mainfrom
talex5:fix-32bit

Conversation

@talex5

@talex5 talex5 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Reported by @glondu. Fixes #909.

The MSG_CMSG_CLOEXEC doesn't fit in an OCaml int on some 32-bit platforms, so just use it from C instead of passing it from OCaml. Unclear whether we really want to support eio_posix on 32-bit systems, but the fix is simple.

@talex5

talex5 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator Author

(I'd like to see the CI results from ocaml-ci, but it's stuck and I no longer have admin access to restart it)

Reported by Stéphane Glondu.
@talex5
talex5 merged commit a4d0f3d into ocaml-multicore:main Aug 3, 2026
3 of 5 checks passed
@talex5
talex5 deleted the fix-32bit branch August 3, 2026 13:52
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

Successfully merging this pull request may close these issues.

Build fails on 32-bit architectures

2 participants