Re: 64bit capability bug

2005-02-26 Thread Derrick J Brashear
On Feb 26, 2005, at 2:54 PM, Amos wrote: Alex Deiter wrote: Hi, Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical parameters of a imapd.conf: all of them are equal to zero! For example, compile source in attach: # gcc -m64 test.c # file a.out a.out: ELF 64-bit MSB executa

Re: 64bit capability bug

2005-02-26 Thread Amos
Alex Deiter wrote: Hi, Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical parameters of a imapd.conf: all of them are equal to zero! For example, compile source in attach: # gcc -m64 test.c # file a.out a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically link

Re: 64bit capability bug

2005-01-09 Thread Derrick J Brashear
On Tue, 4 Jan 2005, Derrick J Brashear wrote: --- lib/imapopts.h.orig Fri Dec 31 10:19:47 2004 +++ lib/imapopts.h Fri Dec 31 10:20:13 2004 @@ -200,9 +200,9 @@ const char *s; - int i; + long i; - int b; + long b; enum enum_value e; given that e.g. config_ge

Re: 64bit capability bug

2005-01-04 Thread Derrick J Brashear
On Fri, 31 Dec 2004, Alex Deiter wrote: --- lib/imapopts.h.orig Fri Dec 31 10:19:47 2004 +++ lib/imapopts.h Fri Dec 31 10:20:13 2004 @@ -200,9 +200,9 @@ const char *s; - int i; + long i; - int b; + long b; enum enum_value e; given that e.g. config_getint r

Re: 64bit capability bug

2005-01-01 Thread Alex Deiter
info-cyrus -- Amos Gouaux wrote: 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 mys

Re: 64bit capability bug

2004-12-31 Thread Igor Brezac
On Fri, 31 Dec 2004, Henrique de Moraes Holschuh wrote: On Fri, 31 Dec 2004, Igor Brezac wrote: You cannot compile cyrus 64-bit and use 32-bit Berkeley or any other libs. I meant to say any other 32-bit lib. Indeed. You usually can not mix 32-bit libs with 64-bit ones or 64-bit apps, unless you ta

Re: 64bit capability bug

2004-12-31 Thread Henrique de Moraes Holschuh
On Fri, 31 Dec 2004, Igor Brezac wrote: > You cannot compile cyrus 64-bit and use 32-bit Berkeley or any other libs. Indeed. You usually can not mix 32-bit libs with 64-bit ones or 64-bit apps, unless you take very great pains to do so, or the OS does this for you (most don't), AND your platform s

Re: 64bit capability bug

2004-12-31 Thread Igor Brezac
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 wit

Re: 64bit capability bug

2004-12-31 Thread info-cyrus -- Amos Gouaux
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, alph

Re: 64bit capability bug

2004-12-30 Thread Alex Deiter
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

Re: 64bit capability bug

2004-12-30 Thread Alex Deiter
Amos wrote: I'm seeing the same thing on Solaris 8, 9, and 10 (s10_69) using a not so old cc (-xarch=v9 option) and gcc 3.3.3 (-m64). These are all on sparc boxes. I got non-zero values by changing 'int' to 'long'. Quite right! -- Alex Deiter --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyru

Re: 64bit capability bug

2004-12-30 Thread Amos
I'm seeing the same thing on Solaris 8, 9, and 10 (s10_69) using a not so old cc (-xarch=v9 option) and gcc 3.3.3 (-m64). These are all on sparc boxes. I got non-zero values by changing 'int' to 'long'. Amos --- test.c 2004-12-30 22:09:33.793048000 -0600 +++ test2.c 2004-12-30 22:21:34.

Re: 64bit capability bug

2004-12-30 Thread Henrique de Moraes Holschuh
On Fri, 31 Dec 2004, Jure Pe_ar 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

Re: 64bit capability bug

2004-12-30 Thread Jure Pe_ar
On Thu, 30 Dec 2004 01:22:48 +0300 Alex Deiter <[EMAIL PROTECTED]> wrote: > Hi, > > 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: alphabox:~# gcc test.c alphabox:~# file a.out a

64bit capability bug

2004-12-29 Thread Alex Deiter
Hi, Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical parameters of a imapd.conf: all of them are equal to zero! For example, compile source in attach: # gcc -m64 test.c # file a.out a.out: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped #