Bug#771556: x265: FTBFS on powerpc

Sebastian Ramacher sramacher at debian.org
Tue Dec 2 18:48:12 UTC 2014


On 2014-12-02 16:01:36, James Cowgill wrote:
> On Tue, 2014-12-02 at 16:51 +0100, Sebastian Ramacher wrote:
> > 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.
> 
> Does it work if you link with -latomic ?

No. I've tried linking both libx256 and x256 with -latomic and it failed
with the same error.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141202/310a7eed/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list