Skip to content

Remove inline for io_{cancel,submit}_error#54

Open
jmcarcell wants to merge 1 commit intomosquito:masterfrom
jmcarcell:make-inline
Open

Remove inline for io_{cancel,submit}_error#54
jmcarcell wants to merge 1 commit intomosquito:masterfrom
jmcarcell:make-inline

Conversation

@jmcarcell
Copy link
Copy Markdown

@jmcarcell jmcarcell commented Feb 3, 2026

We have builds in different operating systems and compilers. On AlmaLinux 9 with Clang 19 (and also others but not every combination that we try), importing caio.linux_aio fails because of two undefined symbols. Removing inline fixes the issue. I think it makes sense if they are to be used outside then they can't be inlined.

This is the error:

>>> import caio.linux_aio
ImportError: /cvmfs/sft-nightlies.cern.ch/lcg/nightlies/dev3/Tue/caio/0.9.21/x86_64-el9-clang19-opt/lib/python3.13/site-packages/caio/linux_aio.cpython-313-x86_64-linux-gnu.so: undefined symbol: io_submit_error

We have builds in different operating systems and compilers. On AlmaLinux 9 with
Clang 19, importing `caio.linux_aio` fails because of two undefined symbols.
Removing inline fixes the issue
@jmcarcell
Copy link
Copy Markdown
Author

Could I get a review from @mosquito?

@mosquito
Copy link
Copy Markdown
Owner

I think the better solution is mark it as static inline like other functions.

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.

2 participants