Created
November 24, 2018 10:27
-
-
Save tomas-wood/a9567a2840e8cd7b0a7c7b7af15feb1b to your computer and use it in GitHub Desktop.
Error message back from clang-7 when following [these instructions](https://github.com/ROCmSoftwarePlatform/pytorch/wiki/Building-PyTorch-for-ROCm)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scanning dependencies of target caffe2_hip | |
[ 83%] Linking HIP shared library ../lib/libcaffe2_hip.so | |
Stack dump: | |
0. Program arguments: /opt/rocm/hcc/bin/llc -O2 -mtriple amdgcn--amdhsa-amdgiz -mcpu=gfx803 -filetype=obj -o /tmp/tmp.dO38OsZ6ZU/caffe2_hip_generated_ReduceOpsKernel.cu.kernel.bc-gfx803.isabin /tmp/tmp.dO38OsZ6ZU/caffe2_hip_generated_ReduceOpsKernel.cu.kernel.bc-gfx803.isabin.opt.bc | |
1. Running pass 'CallGraph Pass Manager' on module '/tmp/tmp.dO38OsZ6ZU/caffe2_hip_generated_ReduceOpsKernel.cu.kernel.bc-gfx803.isabin.opt.bc'. | |
2. Running pass 'Simple Register Coalescing' on function '@_ZN2at6native13reduce_kernelILi512ENS0_8ReduceOpIsZNS0_15sum_kernel_implIssEEvRNS_14TensorIteratorEEUlssE_EEEEvT0_' | |
/opt/rocm/hcc/bin/llc(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2a)[0x15554ba] | |
/opt/rocm/hcc/bin/llc(_ZN4llvm3sys17RunSignalHandlersEv+0x4c)[0x15537ec] | |
/opt/rocm/hcc/bin/llc[0x1553957] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fe7b73bd390] | |
/opt/rocm/hcc/bin/llc[0xdfad58] | |
/opt/rocm/hcc/bin/llc[0xdff624] | |
/opt/rocm/hcc/bin/llc(_ZN4llvm12LiveInterval15refineSubRangesERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEENS_11LaneBitmaskESt8functionIFvRNS0_8SubRangeEEE+0x2c4)[0xca17e4] | |
/opt/rocm/hcc/bin/llc[0xdfe127] | |
/opt/rocm/hcc/bin/llc[0xe00f77] | |
/opt/rocm/hcc/bin/llc[0xe04066] | |
/opt/rocm/hcc/bin/llc(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x91)[0xd17d11] | |
/opt/rocm/hcc/bin/llc(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x2ca)[0x10129ea] | |
/opt/rocm/hcc/bin/llc[0xaa22de] | |
/opt/rocm/hcc/bin/llc(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x32c)[0x101255c] | |
/opt/rocm/hcc/bin/llc[0x672105] | |
/opt/rocm/hcc/bin/llc(main+0x2f6)[0x613f86] | |
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe7b611a830] | |
/opt/rocm/hcc/bin/llc(_start+0x29)[0x666939] | |
/opt/rocm/hcc/bin/clamp-device: line 241: 30954 Segmentation fault (core dumped) $LLC $KMOPTLLC -mtriple amdgcn--amdhsa-amdgiz -mcpu=$AMDGPU_TARGET -filetype=obj -o $2 $2.opt.bc | |
Generating AMD GCN kernel failed in llc for target: gfx803 | |
clang-7: error: linker command failed with exit code 139 (use -v to see invocation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment