Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308335 - =dev-libs/crypto++-5.6.0-r1 fails tests on amd64, breaking net-p2p/amule
Summary: =dev-libs/crypto++-5.6.0-r1 fails tests on amd64, breaking net-p2p/amule
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290898
  Show dependency tree
 
Reported: 2010-03-07 17:33 UTC by Raúl Porcel (RETIRED)
Modified: 2010-03-13 15:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,107.62 KB, text/plain)
2010-03-07 17:35 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2010-03-07 17:33:40 UTC
Will attach build log...
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2010-03-07 17:35:09 UTC
Created attachment 222507 [details]
build.log

build.log+emerge --info
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2010-03-13 13:29:04 UTC
From bug 290898, doing this:

--- /usr/portage/dev-libs/crypto++/crypto++-5.6.0-r1.ebuild     2010-03-07 18:05:31.000000000 +0000
+++ crypto++-5.6.0-r1.ebuild    2010-03-13 13:19:35.000000000 +0000
@@ -28,6 +28,7 @@
        replace-flags -O? -O1
        filter-flags -fomit-frame-pointer
        use sse3 || append-flags -DCRYPTOPP_DISABLE_SSE2
+       use amd64 && append-flags -DCRYPTOPP_DISABLE_ASM
        emake -f GNUmakefile \
                LIBDIR="$(get_libdir)" \
                CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die "emake failed"

Fixes this bug and probably bug 300547, which fails for me the same way if  USE="sse3".

In other words, adding the flag above fixes:
- FEATURES="test" USE="-sse3" emerge -v crypto++
- FEATURES="test" USE="sse3" emerge -v crypto++
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-13 15:10:14 UTC
Fixed.