-
Notifications
You must be signed in to change notification settings - Fork 15
error: write on a pipe with no reader #1651
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
Comments
UNIX03 conformance requires utilities to flush stdout before exiting and raise an error if writing fails. Flushing already happens on a call to exit and thus automatically on a return from main. Write failure is then detected by LLVM's default SIGPIPE handler. The handler already exits with a non-zero code, but conformance additionally requires an error message.
Does |
It appears this is related to |
I cannot reproduce this outside of the build system unfortunately :( running the commands that I see directly above the message when running with |
Can you share some of those commands? |
Sure; pardon the formatting dump:
I did notice more errors with a higher level of parallelism with |
So this appears to be related to how the kernel calls |
Perhaps redirecting stderr of $(OBJDUMP) to /dev/null is the solution when piping the output to |
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: Fiqri Ardyansyah <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: oItsMineZ <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: Fiqri Ardyansyah <[email protected]>
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
- This suppresses following errors for us: error: write on a pipe with no reader - Fix references are from issue ClangBuiltLinux/linux#1651 Co-authored-by: GhostMaster69-dev <[email protected]> Signed-off-by: GhostMaster69-dev <[email protected]> Signed-off-by: Fiqri Ardyansyah <[email protected]>
After llvm/llvm-project@51b557a, I am seeing that error messages in several of my builds. It appears to be more pronounced on stable trees vs. mainline and -next.
On 5.18, I can reproduce it with:
The text was updated successfully, but these errors were encountered: