[llvm-bugs] [Bug 33127] New: clang bus error at optimization level 1 or higher

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 22 09:41:48 PDT 2017


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

            Bug ID: 33127
           Summary: clang bus error at optimization level 1 or higher
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Todd.Miller at courtesan.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18488
  --> https://bugs.llvm.org/attachment.cgi?id=18488&action=edit
qsort_test.c (unprocessed)

$ /usr/local/bin/clang -v -O1 -c /usr/src/regress/lib/libc/qsort/qsort_test.c
clang version 4.0.0 (tags/RELEASE_400/final)
Target: amd64-unknown-openbsd6.1
Thread model: posix
InstalledDir: /usr/local/bin
 "/usr/local/bin/clang-4.0" -cc1 -triple amd64-unknown-openbsd6.1 -emit-obj
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name
qsort_test.c -mrelocation-model pic -pic-level 1 -pic-is-pie -mthread-model
posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -v -dwarf-column-info -debugger-tuning=gdb
-coverage-notes-file /usr/src/regress/lib/libc/qsort/qsort_test.gcno
-resource-dir /usr/local/bin/../lib/clang/4.0.0 -O1 -fdebug-compilation-dir
/usr/src/regress/lib/libc/qsort -ferror-limit 19 -fmessage-length 80
-stack-protector 2 -fobjc-runtime=gnustep -fdiagnostics-show-option -o
qsort_test.o -x c /usr/src/regress/lib/libc/qsort/qsort_test.c
clang -cc1 version 4.0.0 based upon LLVM 4.0.0 default target
amd64-unknown-openbsd6.1
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/bin/../lib/clang/4.0.0/include
 /usr/include
End of search list.
clang-4.0: error: unable to execute command: Bus error (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (tags/RELEASE_400/final)
Target: amd64-unknown-openbsd6.1
Thread model: posix
InstalledDir: /usr/local/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-4.0: note: diagnostic msg: /tmp/qsort_test-108960.c
clang-4.0: note: diagnostic msg: /tmp/qsort_test-108960.sh
clang-4.0: note: diagnostic msg:

********************
xerxes [/usr/src/regress/lib/libc/qsort] %

-- 
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/20170522/fddd9208/attachment-0001.html>


More information about the llvm-bugs mailing list