[llvm-dev] Clang 7.0.1 crashes on FreeBSD AArch64

qroxana via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 15 02:36:19 PST 2019


After upgrading to Clang 7.0.1, it crashed when compiling various
programs on AArch64. They were all terminated at the same place:

# lldb /usr/bin/clang -c /usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core
Core file '/usr/obj/usr/src/arm64.aarch64/lib/libc/cc.core' (aarch64) was loaded.
(lldb) bt
* thread #1, name = 'cc', stop reason = signal SIGSEGV
  * frame #0: 0x0000000002db02b8 clang`::LookupBucketFor() at StringMap.cpp:79
    frame #1: 0x0000000003aeaa30 clang`::try_emplace<llvm::cl::Option *>() at StringMap.h:396
    frame #2: 0x0000000003aeabac clang`::addOption() [inlined] insert at StringMap.h:387
    frame #3: 0x0000000003aeaba8 clang`::addOption() at CommandLine.cpp:151
    frame #4: 0x0000000003ae1c00 clang`::addArgument() [inlined] addOption at CommandLine.cpp:194
    frame #5: 0x0000000003ae1b44 clang`::addArgument() at CommandLine.cpp:357
    frame #6: 0x000000000305207c clang at CommandLine.h:1342
    frame #7: 0x0000000003052078 clang at CommandLine.h:1365
    frame #8: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:67
    frame #9: 0x0000000003051fcc clang at CorrelatedValuePropagation.cpp:0
    frame #10: 0x00000000011d01a0 clang`handle_static_init(argc=138, argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430) at ignore_init.c:124
    frame #11: 0x00000000011d00a8 clang`__start(argc=138, argv=0x0000ffffffffcfd8, env=0x0000ffffffffd430, cleanup=<unavailable>) at crt1.c:83


More information about the llvm-dev mailing list