dev-libs/beecrypt: disable assembly for x32, bug #461960
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 28 Oct 2018 18:04:51 +0000 (18:04 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 28 Oct 2018 18:05:16 +0000 (18:05 +0000)
commit6d25fb606f1cf674648e79da2ce71fe7da439508
tree9877f5dd6052f07a86328ec853b14579c2db1d72
parentd894d3afc2800e3cc34bd4a4594f52d553b40374
dev-libs/beecrypt: disable assembly for x32, bug #461960

beecrypt has target-specifix assembly code for arithmetics
in gas/mpopt.x86_64.m4. That assumes that x86_64 has 64-bit
items to represent bignums.

Unfortunately that is not true for x32 ABI as detection is
based on size of 'unsigned long':

```
  AC_DEFUN([BEE_CPU_BITS],[
    AC_CHECK_SIZEOF([unsigned long])
    if test $ac_cv_sizeof_unsigned_long -eq 8; then
      AC_SUBST(MP_WBITS,64U)
```

To workaround this deficiency disable assembly code completely:
pass --enable-debug.

Closes: https://bugs.gentoo.org/461960
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild [new file with mode: 0644]