Skip to content

Instantly share code, notes, and snippets.

@jacquelinekay
Created May 28, 2017 16:25
Show Gist options
  • Save jacquelinekay/a103b958678ff155b517d46b8abf2574 to your computer and use it in GitHub Desktop.
Save jacquelinekay/a103b958678ff155b517d46b8abf2574 to your computer and use it in GitHub Desktop.
llvm build error: segfault on tablegen
[ 38%] Building X86GenFoldTables.inc...
../../../bin/llvm-tblgen[0x56c484]
../../../bin/llvm-tblgen[0x56c756]
/usr/lib/libpthread.so.0(+0x11fe0)[0x7f41d106ffe0]
../../../bin/llvm-tblgen[0x53fa2c]
../../../bin/llvm-tblgen[0x53f2d5]
../../../bin/llvm-tblgen[0x538b95]
../../../bin/llvm-tblgen[0x572119]
../../../bin/llvm-tblgen[0x5386f3]
/usr/lib/libc.so.6(__libc_start_main+0xf1)[0x7f41cfb97511]
../../../bin/llvm-tblgen[0x40754a]
Stack dump:
0. Program arguments: ../../../bin/llvm-tblgen -gen-x86-fold-tables -I /home/jackie/code/llvm/lib/Target/X86 -I /home/jackie/code/llvm/include -I /home/jackie/code/llvm/lib/Target /home/jackie/code/llvm/lib/Target/X86/X86.td -o /home/jackie/code/llvm-build/lib/Target/X86/X86GenFoldTables.inc.tmp
make[2]: *** [lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/build.make:882: lib/Target/X86/X86GenFoldTables.inc.tmp] Segmentation fault (core dumped)
make[1]: *** [CMakeFiles/Makefile2:4612: lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment