-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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 crashes while compiling #91166
Comments
@Florikoeln No files are actually attached. Can you please check it again? |
@llvm/issue-subscribers-backend-aarch64 Author: None (Florikoeln)
I compiled a file on a new set-up raspberry pi Zero W. The library compiled many times before - even on the same raspberry pi. Please find the output below, the two requested files are [attached.]([fk_tools-548dc2_c.txt](https://github.com/llvm/llvm-project/files/15217386/fk_tools-548dc2_c.txt)); due to security settings I had to change the filename.
|
fk_tools-548dc2_c.txt I hope this time it worked. Please note that our company regulations allow no .c and no .sh-files, therefore I changed the filename to .txt. |
I've attempted to reproduce, building on an aarch64 machine under a debian 12 (bookworm) docker container. It's llvm 14.0.6; I wasn't able to get a crash. The reproducer doesn't fire on the main branch (with asserts) for me either. Can you confirm that running the reproducer script does reproduce the crash for you and that this isn't a transient issue? Under a debian 12 docker container I'm running fk_tools-548dc2.sh and this gives me an object file as output of size 7568 bytes. (edited to add) My docker image repro bits, running
|
I updated the raspi (sudo apt update / upgrade), and tried again: clang still crashes |
I have the same problem on a Pi Zero compiling the Sieve from Dave's Garage /Primes/PrimeCPP/solution_2/. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
#0 0x0000007fa1b2e4dc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib/aarch64-linux-gnu/libLLVM-14.so.1+0xe9e4dc) PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: |
I compiled a file on a new set-up raspberry pi Zero W. The library compiled many times before - even on the same raspberry pi. Please find the output below, the two requested files are attached.; due to security settings I had to change the filename.
The text was updated successfully, but these errors were encountered: