-
Notifications
You must be signed in to change notification settings - Fork 13k
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
clang-17 crash on x86 with -fzero-call-used-regs=used-gpr #75168
Labels
Comments
FYI this flaw was fixed by We hit the same clang bug with QEMU builds in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=2262260) |
patchew-importer
pushed a commit
to patchew-project/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20240304144456.3825935-2-berrange@redhat.com>
patchew-importer
pushed a commit
to patchew-project/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20240304144456.3825935-2-berrange@redhat.com>
patchew-importer
pushed a commit
to patchew-project/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20240304144456.3825935-2-berrange@redhat.com>
stsquad
pushed a commit
to qemu/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20240304144456.3825935-2-berrange@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
patchew-importer
pushed a commit
to patchew-project/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240304144456.3825935-2-berrange@redhat.com>
stsquad
pushed a commit
to stsquad/qemu
that referenced
this issue
Mar 4, 2024
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240304144456.3825935-2-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
risicle
added a commit
to risicle/nixpkgs
that referenced
this issue
Jun 2, 2024
otherwise, we run in to llvm/llvm-project#75168 on linux x86_64 when building libcxx
13 tasks
bcdarwin
pushed a commit
to bcdarwin/nixpkgs
that referenced
this issue
Jun 18, 2024
otherwise, we run in to llvm/llvm-project#75168 on linux x86_64 when building libcxx
berrange
added a commit
to berrange/qemu
that referenced
this issue
Feb 25, 2025
Clang 17 will segv if given -fzero-call-used-regs and optimization is enabled. Since upstream hasn't triaged the bug, distros are increasingly shipping with broken Clang. llvm/llvm-project#75168 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277474 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran into a crash while building the Linux kernel with clang-17, version 17.0.6 (++20231208085813+6009708b4367-1
exp120231208085906.81), don't see this with clang-16 or clang-18. Reduced to a trivial testcaseThe text was updated successfully, but these errors were encountered: