Bug#701628: x264: FTBFS on powerpcspe

Roland Stigge stigge at antcom.de
Mon Feb 25 13:46:20 UTC 2013


Package: x264
Version: 2:0.123.2189+git35cf912-1
Severity: wishlist
Tags: patch sid
User: debian-powerpcspe at breakpoint.cc
Usertags: powerpcspe

Hi,

x264 FTBFS on powerpcspe[1] like this:

[...]
# Build static lib
LDFLAGS="-Wl,-z,relro" ./configure --prefix=/usr --libdir=/usr/lib/powerpc-linux-gnuspe --enable-static --disable-cli \
	   || ( tail -v -n +0 config.log config.log ; exit 1 )
No working C compiler found.
==> config.log <==
x264 configure script
Command line options: "--prefix=/usr" "--libdir=/usr/lib/powerpc-linux-gnuspe" "--enable-static" "--disable-cli"

checking whether gcc works... no
Failed commandline was:
--------------------------------------------------
gcc conftest.c   -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -I. -I$(SRCPATH) -maltivec -mabi=altivec   -Wl,-z,relro -lm -o conftest
conftest.c:1:0: error: AltiVec and E500 instructions cannot coexist
[...]

The attached patch fixes this by not using AltiVec on powerpcspe
since AltiVec is not present in the hardware.

Thanks,

Roland


[1] http://wiki.debian.org/PowerPCSPEPort


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.8.0 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264.patch
Type: text/x-diff
Size: 827 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130225/d21f17d0/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list