[llvm-bugs] [Bug 51456] New: Segmentation fault in frontend while parsing spdlog

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 12 04:20:58 PDT 2021


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: unassignedclangbugs at nondot.org
          Reporter: mail at timur.audio
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210812/3661738f/attachment.html>


More information about the llvm-bugs mailing list