[llvm-bugs] [Bug 32303] New: llvm-tblgen crashes when compiling llvm 4.0 with gcc 6.2.1
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 16 02:56:17 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32303
Bug ID: 32303
Summary: llvm-tblgen crashes when compiling llvm 4.0 with gcc
6.2.1
Product: new-bugs
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: blastrock at free.fr
CC: llvm-bugs at lists.llvm.org
Created attachment 18105
--> https://bugs.llvm.org/attachment.cgi?id=18105&action=edit
Backtrace of the crash
Hi,
I'm trying to compile the latest version of llvm. I have checked out the
release_40 branch in my worktree, but llvm-tblgen keeps crashing.
I am using debian testing with GCC 6.2.1
To reproduce the crash:
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_BUILD_TYPE=RelWithDebInfo -G Ninja
..
ninja lib/Target/X86/X86GenRegisterInfo.inc # to go straight to the crash
...
0. Program arguments: /home/philippe/packages/llvm/build/bin/llvm-tblgen
-gen-register-info -I /home/philippe/packages/llvm/lib/Target/X86 -I
/home/philippe/packages/llvm/include -I /home/philippe/packages/llvm/lib/Target
/home/philippe/packages/llvm/lib/Target/X86/X86.td -o
/home/philippe/packages/llvm/build/lib/Target/X86/X86GenRegisterInfo.inc.tmp
Segmentation fault (core dumped)
I am attaching the full backtrace
The crash does not occur when building in debug.
--
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/20170316/4275c1ca/attachment.html>
More information about the llvm-bugs
mailing list