[debian-mysql] Bug#775840: percona-xtradb-cluster-5.5: FTBFS on mips64el

James Cowgill james410 at cowgill.org.uk
Tue Jan 20 16:13:16 UTC 2015


Source: percona-xtradb-cluster-5.5
Version: 5.5.39-25.11+dfsg-1
Severity: important

Hi,

percona-xtradb-cluster-5.5 FTBFS on mips64el with the error:
> /«BUILDDIR»/percona-xtradb-cluster-5.5-5.5.39-25.11+dfsg/extra/yassl/taocrypt/src/integer.cpp: In static member function 'static void TaoCrypt::Portable::Multiply2(TaoCrypt::word*, const word*, const word*)':
> /«BUILDDIR»/percona-xtradb-cluster-5.5-5.5.39-25.11+dfsg/extra/yassl/taocrypt/src/integer.cpp:198:36: error: impossible constraint in 'asm'
>                  : "r" (a), "r" (b));
>                                     ^
> /«BUILDDIR»/percona-xtradb-cluster-5.5-5.5.39-25.11+dfsg/extra/yassl/taocrypt/src/integer.cpp:198:36: error: impossible constraint in 'asm'
>                  : "r" (a), "r" (b));
>                                     ^
> /«BUILDDIR»/percona-xtradb-cluster-5.5-5.5.39-25.11+dfsg/extra/yassl/taocrypt/src/integer.cpp:198:36: error: impossible constraint in 'asm'
>                  : "r" (a), "r" (b));
>                                     ^
> make[4]: *** [extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/integer.cpp.o] Error 1

This is because this mips64 specific code uses the "h" register
constraint which was removed in GCC 4.4. The GCC release notes contain a
workaround for this without using any assembly (probably the entire
multiply function should be replaced by this code):
https://gcc.gnu.org/gcc-4.4/changes.html

Full mips64el log:
http://mipsdebian.imgtec.com/debian/logs/p/percona-xtradb-cluster-5.5/percona-xtradb-cluster-5.5_5.5.39-25.11+dfsg-1_mips64el-20150115-0304.build.gz

Thanks,
James



More information about the pkg-mysql-maint mailing list