Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308335

Summary: =dev-libs/crypto++-5.6.0-r1 fails tests on amd64, breaking net-p2p/amule
Product: Gentoo Linux Reporter: Raúl Porcel (RETIRED) <armin76>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: major CC: amd64, maekke, net-p2p
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 290898    
Attachments: build.log

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.