64bit capability bug

Igor Brezac igor at ipass.net
Fri Dec 31 15:23:42 EST 2004


On Fri, 31 Dec 2004, info-cyrus -- Amos Gouaux wrote:

> Alex Deiter wrote:
>> Henrique de Moraes Holschuh wrote:
>> 
>>>>> Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical 
>>>>> parameters of a imapd.conf: all of them are equal to zero!
>>>> 
>>>> Can't confirm on alpha, gcc 3.3.5:
>>> 
>>> And while I haven't tried with 2.2, Debian has 2.1 compiled for at least
>>> ia64, alpha and amd64. It is also possible that the hppa and sparc ports 
>>> are
>>> 64bit nowadays, too.
>> 
>> 
>> Alpha, IA64, AMD64 is (like i386) a little endian machine. Sparc and HPPA 
>> is big endian.
>> 
>> Cyrus-IMAP 2.1.x and 2.2.x (up to 2.2.3) work fine on sparc64. After 2.2.4 
>> (on 2.2.10) i got error:
>> 
>> Dec 27 21:23:19 satira nntp[24755]: DBERROR db4: PANIC: fatal region error 
>> detected; run recovery
>
> So do you compile Berkeley DB for 64-bit? Haven't tried it yet myself.

You cannot compile cyrus 64-bit and use 32-bit Berkeley or any other libs.

There is a problem with berkeley db, or at least data files created 
with 32-bit binaries are not compatible with 64-bit.  (I noticed this with 
sleepycat 4.3.21, I have not tried 4.3.27 yet)


> At some point will need to do 64-bit though because getting some large quota 
> needs for some shared folders.
>

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list