[LLVMbugs] [Bug 24122] New: llvm-objdump fails on powerpc64le binaries
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 14 14:19:21 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24122
Bug ID: 24122
Summary: llvm-objdump fails on powerpc64le binaries
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: echristo at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Lots of:
llvm-objdump: warning: invalid instruction encoding
dzur:~/tmp> cat baz.c
int baz();
int __attribute__((always_inline)) foo() { return baz(); }
int bar() {
if (foo())
return baz();
return foo()+baz();
}
dzur:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -c -target
powerpc64le-linux-gnu baz.c -o baz-ppc.o
dzur:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/llvm-objdump -disassemble
baz-ppc.o
baz-ppc.o: file format ELF64-ppc64
Disassembly of section .text:
foo:
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
8: a6 02 08 7c lhzu 16, 2172(2)
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
14: 91 ff 21 f8 stw 15, 8696(31)
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
28: b4 07 83 7c sthu 0, -31876(7)
2c: 70 00 21 38 andi. 0, 0, 8504
30: 10 00 01 e8 vmsumshm 0, 0, 0, 7
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
38: a6 03 08 7c lhzu 16, 2172(3)
3c: 20 00 80 4e subfic 0, 0, -32690
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
bar:
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
58: a6 02 08 7c lhzu 16, 2172(2)
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
64: 91 ff 21 f8 stw 15, 8696(31)
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
8c: 64 00 9f 90 oris 0, 0, 40848
90: 2c 00 00 48 cmpwi 0, 72
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
a0: 60 00 9f 90 ori 0, 0, 40848
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
b0: 60 00 bf 80 ori 0, 0, 49024
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
b8: 64 00 9f 90 oris 0, 0, 40848
bc: 66 00 7f e8 oris 0, 16, 32744
c0: 70 00 21 38 andi. 0, 0, 8504
c4: 10 00 01 e8 vmsumshm 0, 0, 0, 7
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
cc: a6 03 08 7c lhzu 16, 2172(3)
d0: 20 00 80 4e subfic 0, 0, -32690
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llvm-objdump:
warning: invalid instruction encoding
might just be endianness issues or it could be something else.
--
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/20150714/d724dde4/attachment.html>
More information about the llvm-bugs
mailing list