Skip to content

Conversation

@NobodyXu
Copy link
Contributor

Fixed #962

make <4.3 cannot handle jobserver pipe with O_NONBLOCK set.

Since make <4.3 cannot handle jobserver pipe with `O_NONBLOCK` set.

Signed-off-by: Jiahao XU <[email protected]>
@NobodyXu
Copy link
Contributor Author

@nadenf @IGI-111 Could you please try this PR, to see if it fixed the error when used with make <4.3 ?

@IGI-111
Copy link

IGI-111 commented Feb 23, 2024

I can indeed confirm this fixes my issue.

@NobodyXu NobodyXu changed the title Fix use of cc with make: Clear O_NONBLOCK after compilaton Fix use of cc with make <4.3: Clear O_NONBLOCK after compilaton Feb 24, 2024
All unix, not just linux, has /dev/fd
@NobodyXu NobodyXu merged commit faf8f92 into main Feb 24, 2024
@NobodyXu NobodyXu deleted the fix/job-token-make branch February 24, 2024 01:51
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.

make resource failure when cc parallel is enabled

4 participants