[Pkg-haskell-maintainers] Bug#686066: libghc-cryptocipher-dev: AES-NI support not compiled in the library (100x performance boost)

Nuutti Kotivuori naked at iki.fi
Tue Aug 28 07:01:57 UTC 2012


Package: libghc-cryptocipher-dev
Version: 0.3.5-1+b1
Severity: wishlist
Tags: patch

Currently, compiling the haskell-cryptocipher package does not pass any special
flags to the configure process. The package contains AES-NI support, but it has
to be enabled manually.

As per comments on #debian-haskell, I am suggesting enabling "-faesni" on
at least amd64 architecture, possibly i686 etc. as well.

Included is a patch enabling it on amd64 only.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libghc-cryptocipher-dev depends on:
ii  ghc [libghc-ghc-prim-dev-0.2.0.0-c2ff6]                      7.4.1-4
ii  libc6                                                        2.13-35
ii  libffi5                                                      3.0.10-3
pn  libghc-base-dev-4.5.0.0-40b99                                <none>
pn  libghc-bytestring-dev-0.9.2.1-18f26                          <none>
ii  libghc-cereal-dev [libghc-cereal-dev-0.3.5.2-d8fdf]          0.3.5.2-1
ii  libghc-cpu-dev [libghc-cpu-dev-0.1.1-5af4e]                  0.1.1-1
ii  libghc-crypto-api-dev [libghc-crypto-api-dev-0.10.2-cb4bc]   0.10.2-1+b2
ii  libghc-crypto-pubkey-types-dev [libghc-crypto-pubkey-types-  0.1.1-1+b3
ii  libghc-primitive-dev [libghc-primitive-dev-0.4.1-50546]      0.4.1-1+b1
ii  libghc-tagged-dev [libghc-tagged-dev-0.4.2.1-8a552]          0.4.2.1-1
ii  libghc-vector-dev [libghc-vector-dev-0.9.1-5feab]            0.9.1-2+b1
ii  libgmp10                                                     2:5.0.5+dfsg-2

libghc-cryptocipher-dev recommends no packages.

Versions of packages libghc-cryptocipher-dev suggests:
pn  libghc-cryptocipher-doc   <none>
pn  libghc-cryptocipher-prof  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptocipher.diff
Type: text/x-diff
Size: 367 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120828/df7baad4/attachment.diff>


More information about the Pkg-haskell-maintainers mailing list