Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116770 - XMule and Crypto++ fail with GCC 4.1_beta20051223
Summary: XMule and Crypto++ fail with GCC 4.1_beta20051223
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 04:36 UTC by Vladimir Lushnikov
Modified: 2005-12-26 05:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Lushnikov 2005-12-26 04:36:16 UTC
[ebuild  N    ] dev-libs/crypto++-5.2.1  0 kB
[ebuild  N    ] net-p2p/xmule-1.12.0  USE="-debug nls" 0 kB

crypto++ fails with:

>>> Compiling source in /var/tmp/portage/crypto++-5.2.1/work ...
g++ -g -msse2 -pipe -c 3way.cpp
g++ -g -msse2 -pipe -c adler32.cpp
seckey.h: In function 'void CryptoPP::CheckedSetKey(T*, CryptoPP::CipherDir, const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with T = CryptoPP::BlockCipherFinal<DECRYPTION, CryptoPP::ThreeWay::Dec>]':
seckey.h:179:   instantiated from 'void CryptoPP::BlockCipherFinal<DIR, BASE>::SetKey(const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with CryptoPP::CipherDir DIR = DECRYPTION, BASE = CryptoPP::ThreeWay::Dec]'
3way.cpp:139:   instantiated from here
seckey.h:137: error: no matching function for call to 'CryptoPP::BlockCipherFinal<DECRYPTION, CryptoPP::ThreeWay::Dec>::UncheckedSetKey(CryptoPP::CipherDir&, const byte*&, unsigned int&)'
3way.cpp:64: note: candidates are: void CryptoPP::ThreeWay::Base::UncheckedSetKey(CryptoPP::CipherDir, const byte*, unsigned int, unsigned int)
seckey.h: In function 'void CryptoPP::CheckedSetKey(T*, CryptoPP::CipherDir, const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with T = CryptoPP::BlockCipherFinal<ENCRYPTION, CryptoPP::ThreeWay::Enc>]':
seckey.h:179:   instantiated from 'void CryptoPP::BlockCipherFinal<DIR, BASE>::SetKey(const byte*, unsigned int, const CryptoPP::NameValuePairs&) [with CryptoPP::CipherDir DIR = ENCRYPTION, BASE = CryptoPP::ThreeWay::Enc]'
3way.cpp:139:   instantiated from here
seckey.h:137: error: no matching function for call to 'CryptoPP::BlockCipherFinal<ENCRYPTION, CryptoPP::ThreeWay::Enc>::UncheckedSetKey(CryptoPP::CipherDir&, const byte*&, unsigned int&)'
3way.cpp:64: note: candidates are: void CryptoPP::ThreeWay::Base::UncheckedSetKey(CryptoPP::CipherDir, const byte*, unsigned int, unsigned int)
make: *** [3way.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-libs/crypto++-5.2.1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


And if you compile it with gcc 3.4.4 then xmule fails next:
==== Building xMule ====
AddFileThread.cpp
AddFriend.cpp
animate.cpp
BarShader.cpp
BaseClient.cpp
CatDialog.cpp
PartFile.h:119: error: extra qualification 'CPartFile::' on member 'getPartfileStatus'
PartFile.h:120: error: extra qualification 'CPartFile::' on member 'getTimeRemaining'
SafeFile.h:31: error: extra qualification 'CSafeFile::' on member 'CSafeFile'
SafeFile.h:38: error: extra qualification 'CSafeMemFile::' on member 'CSafeMemFile'
make[1]: *** [obj/BaseClient.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

!!! ERROR: net-p2p/xmule-1.12.0 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I think it's safe to say that the packages don't work with gcc 4.1.

Note: This is my first bug so please, I only need one reminder if I have done something wrong.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 05:30:51 UTC
(In reply to comment #0)
> I think it's safe to say that the packages don't work with gcc 4.1.
> 
> Note: This is my first bug so please, I only need one reminder if I have done
> something wrong.

Reopen if you have a patch, otherwise we don't support gcc-4.1 (as noted in gcc ebuild).