https://bugs.llvm.org/show_bug.cgi?id=51456

            Bug ID: 51456
           Summary: Segmentation fault in frontend while parsing spdlog
           Product: clang
           Version: 12.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: mail@timur.audio
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk

Created attachment 25126
  --> https://bugs.llvm.org/attachment.cgi?id=25126&action=edit
Zip file containing preprocessed source, associated run script, and crash
backtrace

Ran into this frontend crash when compiling the spdlog library on the current
version of Apple Clang. The only workaround I have found so far is to downgrade
from Xcode 12.5.1 to Xcode 12.4 (which comes with an earlier version of clang).

Building CXX object spdlog/spdlog/CMakeFiles/spdlog.dir/src/file_sinks.cpp.o
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 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Zip file containing preprocessed source, associated run script, and crash
backtrace attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to