user/llvm14: (aarch64) FTBFS: lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp:78:6: internal compiler error: Segmentation fault
Found on aarch64:
...
[ 70%] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/R600ISelDAGToDAG.cpp.o
during GIMPLE pass: pre
/usr/src/packages/user/llvm14/src/llvm-14.0.6.src/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp: In member function ‘virtual bool {anonymous}::PPCInstructionSelector::select(llvm::MachineInstr&)’:
/usr/src/packages/user/llvm14/src/llvm-14.0.6.src/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp:78:6: internal compiler error: Segmentation fault
bool PPCInstructionSelector::select(MachineInstr &I) {
^~~~~~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bts.adelielinux.org/> for instructions.
...
As this has not been seen before, and may not be easily reproducible, here is a tarball with the state of the src/
directory at the time of failure:
- https://temp.zv.io/llvm-14.0.6.src.tgz (~4.4GB; may be deleted at any time).
In an attempt to reproduce, within the aarch64 autobuilder debug environment, I did:
. /etc/profile
set +e
unset MAKEFLAGS # (drop -j)
cd src/llvm-14.0.6.src/build
make
but it built fine.
There is nothing in the dmesg
output whatsoever.