Secondary Architectures

Building your application for architectures like s390(x), PowerPC, ARMv8


PowerPC is 32 or 64 bit instruction set architetcure and mainly used in video game consoles and embedded applications. From Fedora 22, support for 32 bit PowerPC machines have been dropped and only 64 bit machines are supported.


PowerPC supports both little and big endian modes and can even switch from one mode to the other at run-time. In Fedora, Power5 and newer 64 bit machines are supported in big endianness mode and are commonly referred as ppc64. In little endian mode, 64 bit Power8 machines are supported and referred as ppc64le.

Building your application for PowerPC

To initiate a build for PowerPC, use ppc-koji command:

ppc-koji --scratch build rawhide srpm_pkg1

The above command will start a scratch build of package srpm_pkg1 against Fedora rawhide for ppc64 and ppc64le architectures. Use “ppc-koji --help” in console to see all available options.

To build against other Fedora branches (e.g. F23, F24), specify specific branch name to ppc-koji in argument:

ppc-koji --scratch build F24 srpm_pkg1

If the application is only meant to run on PowerPC, specify ExclusiveArch tag in RPM spec file.

ExclusiveArch:  ppc64 ppc64le


In Secondary Architectures section, we saw how to get/create iprutils srpm as an example. Now, you already have srpm (src.rpm) file of iprutils. The following example will demonstrate how to build an application for PowerPC architecture from srpm:

# Initiate iprutils package build for PowerPC architecture
$ ppc-koji build --scratch rawhide iprutils-
  Created task: 3298139
  Task info:

For each build, a Task ID is created in ppc koji. You can see build status and it’s log by going to the url provided in Task info.

Viewing koji builds

Builds specific to ppc64(le) are hosted at UI is very similar to primary koji.

Reaching out for help

If you face any difficulty reach out to us for help:

More documentation

Authors: Sinny Kumari