[llvm-bugs] [Bug 39478] New: Internal error building jfs for powerpc 64 BE

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 29 06:58:31 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39478

            Bug ID: 39478
           Summary: Internal error building jfs for powerpc 64 BE
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dja at axtens.net
                CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Hi,

I was trying to cross-compile the linux kernel for powerpc 64 big-endian, and
hit the following error:

  CC [M]  fs/jfs/jfs_imap.o
fatal error: error in backend: Cannot select: 0x5619f3272f00: ch =
PPCISD::STBRX<(store 1 into %ir.238 + 3)> 0x5619f32cc730:1, 0x5619f3270cb8,
      0x5619f3270158, ValueType:ch:i8
  0x5619f3270cb8: i32 = and 0x5619f3278170, Constant:i32<255>
    0x5619f3278170: i32 = truncate 0x5619f32707d8
      0x5619f32707d8: i64 = srl 0x5619f32cc730, Constant:i32<32>
        0x5619f32cc730: i64,ch = load<(dereferenceable load 8 from %ir.4)>
0x5619f3294e78, FrameIndex:i64<0>, undef:i64
          0x5619f326e958: i64 = FrameIndex<0>
          0x5619f3294588: i64 = undef
        0x5619f32ccad8: i32 = Constant<32>
    0x5619f326ed68: i32 = Constant<255>
  0x5619f3270158: i64 = add 0x5619f3270638, Constant:i64<531>
    0x5619f3270638: i64,ch = CopyFromReg 0x5619f31be5f8, Register:i64 %44
      0x5619f3277678: i64 = Register %44
    0x5619f3270df0: i64 = Constant<531>
In function: diNewExt
clang-8: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 8.0.0 (https://git.llvm.org/git/clang.git/
dfa39ffd088e0a66bb88239556b029ebb8fc57fc) (https://github.com/llvm-mirror/llvm
42e23ebc6e40be5e6edf47143145c5c34ec23fe0)
Target: powerpc64-unknown-linux-gnu
Thread model: posix
InstalledDir: /media/external/allmodout/../build/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:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-8: note: diagnostic msg: /tmp/jfs_imap-5f644f.c
clang-8: note: diagnostic msg: /tmp/jfs_imap-5f644f.sh
clang-8: note: diagnostic msg:

********************


As requested, please find attached the preprocessed source and run script.

Let me know if there's any further information you would like.

Regards,
Daniel

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181029/abb02358/attachment.html>


More information about the llvm-bugs mailing list