Bug 13491

Summary: On IBM Power (ppc64le) systems the binary doesn't work
Product: Busybox Reporter: Amit B <aramswar>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED INVALID    
Severity: critical CC: busybox-cvs
Priority: P5    
Version: 1.31.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Amit B 2021-01-27 05:41:00 UTC
I was testing (https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/busybox-powerpc64) binary on power system and could not get it to work. I am getting following error

"cannot execute binary file: Exec format error"

I even tried the latest 1.33.x version and facing same issue.
Comment 1 Amit B 2021-02-24 11:54:41 UTC
On further analysis of the binary it seems that it is based on big endian power architecture as shown below

# file busybox-powerpc64
busybox-powerpc64: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, stripped


It would make sense to provide little endian power binary as well. On our current ppc64le for file we getting following info for e.g.

# file oc
oc: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=1e68fbc57a4d18defe1780279736261e15b8e072, stripped


Note the difference as MSB executable vs LSB executable.
Comment 2 Denys Vlasenko 2021-03-03 14:48:05 UTC
I'm not committing to provide any binaries. Do not expect them to exist on the website.

The product of the project is its *source code*.

The binaries are there as an extra.