Bug#771556: x265: FTBFS on powerpc

Sebastian Ramacher <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 2014-11-30 18:34:42, Sebastian Ramacher wrote:
> Source: x265
> Version: 1.4-1
> Severity: important
> 
> Let's record this so I don't forget: x265 failed to build on powerpc:
> | /usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2    -Wl,-z,relro -Wl,--as-needed CMakeFiles/cli.dir/input/y4m.cpp.o CMakeFiles/cli.dir/input/yuv.cpp.o CMakeFiles/cli.dir/input/input.cpp.o CMakeFiles/cli.dir/output/y4m.cpp.o CMakeFiles/cli.dir/output/yuv.cpp.o CMakeFiles/cli.dir/output/output.cpp.o CMakeFiles/cli.dir/filters/filters.cpp.o CMakeFiles/cli.dir/x265.cpp.o  -o x265 -rdynamic libx265.so.35 -lpthread -lrt -Wl,-rpath,/«PKGBUILDDIR»/obj-powerpc-linux-gnu: 
> | libx265.so.35: undefined reference to `__sync_val_compare_and_swap_8'
> | libx265.so.35: undefined reference to `__sync_or_and_fetch_8'
> | collect2: error: ld returned 1 exit status
> 
> https://buildd.debian.org/status/fetch.php?pkg=x265&arch=powerpc&ver=1.4-2&stamp=1417367767
> 
> powerpc porters, do you have any idea what the problem is? Are
> __sync_val_compare_and_swap and __sync_or_and_fetch not supported on
> powerpc?

The builds for mips and mipsel have failed with the same issue. I'm also
CCing the mips porters in the hope that they can shed some light on the
problem.

Cheers
-- 
Sebastian Ramacher
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUfd/pAAoJEGny/FFupxmT5ckP/2bm5n47/Y3qFhE1x8Tk5xbQ
bXgkfgTdAJhUjg4kkZRVDlPu36twlzPcQK6iNPy0bu59pndpqk086Nb81StpIwn4
z3KJBc/8OePvCVomMLnjr6N9ZVL1RpWwypBxwEofIioG8VNztnGbxE3CcRU/L+17
KoQ5iMYSrsEW5R3v22rTob0vk6+1+YD4U1yfXSHm4o0gybmRrZUxLqCUpZ8EdL5P
x3bQqlpLOVG9H3aDICHUQVn7aeIP62lvxs5hRz36eoRabLwr+3wAXxpU7gmZV7qe
baDGUZX28GfdRKs0gsSZVaX1OnF+g0BHRcdKGtes4grBTnQKUIZ+xOrfo5/QNpCw
QcDDHBRid2wj6mi25yUIcJUrEnAVwvT+4J2m7QcLc3SPf4HwHnNRKKwVqTNoyQcx
ieEImDNT3lX+mYmaPMuqMBIeQInySKb17mmVKSsegAYs2otVmptgWZAqcQyQ5qt1
HhLI9LkmG05ZYqW0g7+dwqeIHE1VO1olG5e/xnZ0SNQXNtDBA7H7VoMIkhQ054xg
jLhhGZMDxWcjp5Qk1ViAGz2liTpfD6WrQo4UE83BC5kYbLpYtl0jJFKXpP7u1AxM
Q+PcpDVngjU+zM+JoVQZyVthqEl7DpOegR/FrVTH7RVZ/zhH355ZrLzMsauUiCv9
+GEJMlwjRm1TPw+zBRPU
=XJ+C
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.