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

YunQiang Su wzssyqa at gmail.com
Tue Mar 31 03:37:16 UTC 2015


On Tue, 20 Jan 2015 16:13:16 +0000 James Cowgill
<james410 at cowgill.org.uk> wrote:
> 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

I met the same problem for mysql-5.5 (719196) and
percona-xtrabackup (#758491)

https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=fix-mips64el-ftbfs.diff;att=1;bug=719196
this patch can fix the problem.

>
> 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