[cfe-users] Backend error

Itaru Kitayama via cfe-users cfe-users at lists.llvm.org
Mon Aug 20 23:01:12 PDT 2018


Hi,
I am seeing a application build error shown below:

[  7%] Building CXX object sli/CMakeFiles/sli_lib.dir/filesystem.cc.o
fatal error: error in backend: Cannot select: t42: i16,ch =
AtomicLoad<(volatile load acquire 1 from `i8
      addrspace(1)* bitcast (i64 addrspace(1)*

@_ZGVZNK16FilesystemModule14TmpNamFunction7executeEP14SLIInterpreterE4seed
to i8 addrspace(1)*)`, align 8,
      addrspace 1)> t7:1, t46
  t46: i64 = NVPTXISD::Wrapper TargetGlobalAddress:i64<i64 addrspace(1)*
@_ZGVZNK16FilesystemModule14TmpNamFunction7executeEP14SLIInterpreterE4seed>
0
    t45: i64 = TargetGlobalAddress<i64 addrspace(1)*
@_ZGVZNK16FilesystemModule14TmpNamFunction7executeEP14SLIInterpreterE4seed>
0
In function:
_ZNK16FilesystemModule14TmpNamFunction7executeEP14SLIInterpreter
clang-8: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 8.0.0 (https://github.com/llvm-mirror/clang
e20516350f5e2062f0b5f49efb56acd94c83e5e4) (
https://github.com/llvm-mirror/llvm
c04ae04bb3ce0d715190819fa3f5c001c471d969)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /gpfs/work/pcp0/pcp0151/opt/llvm+clang-upstream/bin
clang-8: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed
source, and associated run script.
clang-8: note: diagnostic msg: Error generating preprocessed source(s).
make[2]: *** [sli/CMakeFiles/sli_lib.dir/filesystem.cc.o] Error 70
make[1]: *** [sli/CMakeFiles/sli_lib.dir/all] Error 2
make: *** [all] Error 2

The LLVM/Clang toolchain I'm using is the trunk clang-8.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180821/5b3e869f/attachment.html>


More information about the cfe-users mailing list