This is an old revision of the document!


Status of FreeBSD ports on PowerPC

This page mostly focuses on the status of ports on 64-bit PowerPC (known internal to the code as 'powerpc64') as opposed to 32-bit PowerPC.

Port support for FreeBSD/powerpc64 is an active work in progress. Only moderate testing has been done. Consider it an opportunity!

As of this writing (20191207), ports on powerpc are built using the (ancient) base system GCC 4.2.1. 12-STABLE users will continue with that. However, 13-CURRENT users should expect an llvm/elfv2 flag day sometime in 2019Q4. See llvm-elfv2 cutover.

Most comments in this file apply to ports built using either compiler. Exceptions are called out explicitly.

See PortsOnGcc.

Almost all ports do build via GCC. Pre-built packages are available for 12.0R and 13-CURRENT via the usual methods. Only the quarterly branch is built for 12.0R; for 13-CURRENT, only the head branch is built.

However, as powerpc64 is a tier-2 platform in FreeBSD, ports are not at parity with e.g. amd64; there are still a number of ports ignored, skipped, and failing to build. We have several volunteers working on the problem but more are needed, especially in the area of testing.

Please contact MarkLinimon if you want to help and/or to see the error log from the last time any of the failing ports was attempted.

Results are preliminary. See PortsOnClang.

These comments are common to both GCC-based and llvm-based systems.

devel/libsoup

Many of the GUI ports (Gnome, KDE, and so forth) depend on devel/libsoup. To build this port you need either:

  • This commit did not make it into 12.0R, nor is it current reflected in the 12-quarterly package builds, since they are based on 12.0R.
  • Package builds will continue to be based on 12.0R until its EOL on February 4, 2020. In the meantime, you will need to build this package yourself.

These comments are common to both GCC-based and llvm-based systems.

We are actively working to resolve these.

See also: PortsBrokenOnTier2Architectures

  • kde5 needs more work. It doesn't build 100% because webengine fails. (On 12-quarterly, see above.)
  • firefox and thunderbird fail.

This list is not comprehensive. Does not include things marked BROKEN or NOT_FOR.

Roughly sorted by # affected, descending. #affected may reflect a partial build.

Updated 20191207.

Portname # Affected Affects Error Comments
www/qt5-webengine 75 KDE fails to package
sysutils/u-boot-tools 47 arm board support No rule to make target 'include/config/auto.conf'
sysutils/lsof 14 various undefined reference to 'abd_*'

In 12 and later, there are over 100 port regressions based on ssl. These affect all archs and most are out of scope of this discussion. Almost all are already marked BROKEN, on all architectures.

There are around 158 ports marked BROKEN specifically on powerpc64. These are ports that we believe could possibly be fixed on FreeBSD (as opposed to NOT_FOR_ARCHS/ONLY_FOR_ARCHS where we believe that upstream would have to make changes).

Runs with TRYBROKEN set are periodically made to check that they still fail; here are the ones from 20190415.

:!: TRYBROKEN builds do not include things marked NOT_FOR/ONLY_FOR. Those have to be manually edited and forced.

This list is not comprehensive.

Roughly sorted by # affected, descending. #affected may reflect a partial build.

Updated 20190705.

Portname # Affected Affects Error Comments
lang/go14 320 Go language apps go tool dist: unknown architecture: powerpc marked NOT_FOR
emulators/linux_base-c7 186 linux* Linux CentOS 6.10 is unsupported on powerpc64 marked NOT_FOR
lang/fpc 97 Pascal language apps (port Makefile not configured for !x86) marked NOT_FOR
lang/gnustep-base 94 gnustep (fixed on ELFv2)
emulators/linux_base-c6 77 linux* Linux CentOS 7.6.1810 is unsupported on powerpc64 marked NOT_FOR
devel/py-greenlet 64 various (greenlet needs to be ported to this platform) marked NOT_FOR
lang/mono 58 C# apps is only for amd64 armv6 armv7 i386 powerpc marked NOT_FOR
lang/gcc6-aux 45 Ada language is only for aarch64 amd64 i386 marked NOT_FOR
lang/ldc 24 dtrace unrecognized command line option marked BROKEN
lang/sbcl 16 Common Lisp apps is only for amd64 i386 marked NOT_FOR
lang/luajit 12 enlightenment, various others lj_arch.h:346:2: error: “No support for PowerPC 64 bit mode” marked NOT_FOR
devel/protobuf25 8 devel/hadoop2, others is only for amd64 i386 marked NOT_FOR
devel/libunwind 8 graphics/gimp, others is only for aarch64 amd64 i386 marked NOT_FOR
www/chromium 4 is only for aarch64 amd64 i386 marked NOT_FOR
print/texlive-texmf NNN ERROR COMMENT
  • GPU acceleration doesn't work (probably because of our GCC), so running Gnome and KDE may actually be displeasing.
  • powerpc/ports.1575896537.txt.gz
  • Last modified: 2019/12/09 13:02
  • by PiotrKubaj