Build crash 0.17.8 on macos Sequoia 15.0 clang-1600.0.26.3
Opened this issue · 2 comments
bgrieder commented
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 commented
I have the same issue
briansmith commented
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.