[llvm-bugs] [Bug 39600] New: [REGRESSION] clang hangs or crashes

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 9 04:31:08 PST 2018


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

            Bug ID: 39600
           Summary: [REGRESSION] clang hangs or crashes
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lubos at dolezel.info
                CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Hi,

we're having problems using Clang 7 for compiling Darling (darlinghq.org).
Specifically, it crashes *or* hangs compiling CFRuntime.c (part of Apple's
CoreFoundation). The problem doesn't happen with Clang 6.

Attached is the preprocessed source code (the stack dump will follow).

The build command is:

clang -cc1 -triple i386-apple-macosx10.10.0 -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name CFRuntime.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim
-masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu yonah
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=2
-debugger-tuning=gdb -nostdsysteminc -nobuiltininc -sys-header-deps -O0
-Wno-nullability-completeness -Wno-deprecated-declarations
-Wno-expansion-to-defined -Wno-bridge-cast -ferror-limit 19 -fmessage-length 0
-stack-protector 1 -fblocks -fencode-extended-block-signature
-fregister-global-dtors-with-atexit -fobjc-runtime=macosx-fragile-10.10.0
-fobjc-subscripting-legacy-runtime -fobjc-exceptions -fexceptions
-fmax-type-align=16 -fdiagnostics-show-option -x objective-c
CFRuntime-reproducer.c

We're crosscompiling for i386-apple-macosx10.10.0, but we're running Linux.

-- 
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/20181109/e1f2b99a/attachment.html>


More information about the llvm-bugs mailing list