[PATCH] D19528: [ELF] - Implemented -z combrelocs/nocombreloc.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 29 06:48:08 PDT 2016
grimar added a comment.
In http://reviews.llvm.org/D19528#416734, @grimar wrote:
> Now I am going to test static -pie build.
And I was not able to perform this test. Self-hosting with -pie configuration fails because llvm-tblgen segfaults (without my patch).
Full configuration line: -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/home/umb/umb/LLVM/build/bin/clang -DCMAKE_CXX_COMPILER=/home/umb/umb/LLVM/build/bin/clang++ -DLLVM_PARALLEL_COMPILE_JOBS=8 -DLLVM_ENABLE_THREADS=true -DCMAKE_CXX_FLAGS="-fuse-ld=lld -pie" -DCMAKE_C_FLAGS="-fuse-ld=lld -pie"
[169/2657 0.0/sec] Building Attributes.inc...
FAILED: include/llvm/IR/Attributes.inc.tmp
cd /home/umb/umb/LLVM/no-tag-static/include/llvm/IR && /home/umb/umb/LLVM/no-tag-static/bin/llvm-tblgen -gen-attrs -I /home/umb/umb/LLVM/llvm/include/llvm/IR -I /home/umb/umb/LLVM/llvm/lib/Target -I /home/umb/umb/LLVM/llvm/include /home/umb/umb/LLVM/llvm/include/llvm/IR/Attributes.td -o /home/umb/umb/LLVM/no-tag-static/include/llvm/IR/Attributes.inc.tmp
Segmentation fault (core dumped)
Not sure, did anybody try -pie selfhosting before ?
But anyways previous benchmark results are probably enough for now to prove that patch is useful as is. Thoughts ?
http://reviews.llvm.org/D19528
More information about the llvm-commits
mailing list