-
Notifications
You must be signed in to change notification settings - Fork 551
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
make jobserver hangs after invoking sccache if server isn't already spawned #2145
Comments
Looking into this a bit further. I'm using log with sccache
log without sccache
It seems like the tokens are being correctly returned to the jobserver in both cases, but |
It seems to be caused by the relatively new feature of GNU Make (> Indeed, passing It's not obvious what the right fix is though. Spawning the server daemon with the context of a jobserver sounds inherently broken to me. Instead, shouldn't the server act as if it was spawned from nothing, and clients pass their jobserver info for each compile request they make to the server? |
Minimal reproducer: (sccache v0.7.7, GNU make v4.4.1, cargo v1.78.0-nightly
194a60b29
)WORKAROUND: Simply
sccache --start-server
before invokingmake
. Alternatively, you can invokemake
with--jobserver-style=pipe
.The text was updated successfully, but these errors were encountered: