Skip to content
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

Build crash 0.17.8 on macos Sequoia 15.0 clang-1600.0.26.3 #2151

Open
bgrieder opened this issue Sep 28, 2024 · 2 comments
Open

Build crash 0.17.8 on macos Sequoia 15.0 clang-1600.0.26.3 #2151

bgrieder opened this issue Sep 28, 2024 · 2 comments

Comments

@bgrieder
Copy link

bgrieder commented Sep 28, 2024

When building version 0.17.8 (or main), clang crashes when compiling file crypto/fipsmodule/ec/gfp_p384.c

Files attached in
crash.zip

env -u IPHONEOS_DEPLOYMENT_TARGET "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-apple-darwin" "-mmacosx-version-min=15.0" "-I" "/Users/bgrieder/projects/ring/include" "-I" "/Users/bgrieder/projects/ring/target/debug/build/ring-b1e43b39ad8c9eee/out" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-gfull" "-Werror" "-o" "/Users/bgrieder/projects/ring/target/debug/build/ring-b1e43b39ad8c9eee/out/0878e7bc061f8773-gfp_p384.o" "-c" "/Users/bgrieder/projects/ring/crypto/fipsmodule/ec/gfp_p384.c"
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: x86_64-apple-darwin
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/kh/0p349nld5hs0_cxnqr8nm3dm0000gp/T/gfp_p384-c57b93.c
clang: note: diagnostic msg: /var/folders/kh/0p349nld5hs0_cxnqr8nm3dm0000gp/T/gfp_p384-c57b93.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/bgrieder/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
@Murasame233
Copy link

I have the same issue

@briansmith
Copy link
Owner

Thanks for the bug report. Any chance you could try to narrow down what code in the file is causing the crash? macOS build errors like this are time-consuming for me to debug because I don't usually use the latest macOS/Xcode release.

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

No branches or pull requests

3 participants