[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
Whatever you want my maestro :) I'll send a snapshot to your private email address. I can also give you SSH access, if you want to do some test compilations on an OpenBSD 3.7 machine. Just let me know. --Harald Davide Libenzi wrote: On Thu, 15 Sep 2005, Harald Schneider wrote: Davide, it looks like this problem exists in older OpenBSD releases too: http://xmailforum.homelinux.net/index.php?showtopic=1875st=0#entry10068 If there is no solution available yet, you should mark OpenBSD support as experimental or remove it. Is it posible to see one of those messages that does not get delivered? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
Davide, it looks like this problem exists in older OpenBSD releases too: http://xmailforum.homelinux.net/index.php?showtopic=1875st=0#entry10068 If there is no solution available yet, you should mark OpenBSD support as experimental or remove it. --Harald Harald Schneider wrote: Hi, meanwhile I checked several compiler flags, unfortunately with no success. If I have some 100 mails in the queue, maybe 1 gets delivered when I start XMail and then nothing happens at all. Sending mails from the client to the server works, but the threads serving smtpfwd seem to starve ... When I check the gcc version I get $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.7/3.3.5/specs Configured with: Thread model: single gcc version 3.3.5 (propolice) Maybe this is the problem ? Thread model: single Any hints due to this additional info ? Thanks, Harald Davide Libenzi wrote: On Fri, 2 Sep 2005, Harald Schneider wrote: Do you think replacing -lpthread with one of these: -Kthread -kthread -pthread -pthreads -mthreads --thread-safe -mt might be worth testing ? Dunno, but according to the link, the -pthread option trigger some special flag in the linking process. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
On Thu, 15 Sep 2005, Harald Schneider wrote: Davide, it looks like this problem exists in older OpenBSD releases too: http://xmailforum.homelinux.net/index.php?showtopic=1875st=0#entry10068 If there is no solution available yet, you should mark OpenBSD support as experimental or remove it. Is it posible to see one of those messages that does not get delivered? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
Hi, meanwhile I checked several compiler flags, unfortunately with no success. If I have some 100 mails in the queue, maybe 1 gets delivered when I start XMail and then nothing happens at all. Sending mails from the client to the server works, but the threads serving smtpfwd seem to starve ... When I check the gcc version I get $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.7/3.3.5/specs Configured with: Thread model: single gcc version 3.3.5 (propolice) Maybe this is the problem ? Thread model: single Any hints due to this additional info ? Thanks, Harald Davide Libenzi wrote: On Fri, 2 Sep 2005, Harald Schneider wrote: Do you think replacing -lpthread with one of these: -Kthread -kthread -pthread -pthreads -mthreads --thread-safe -mt might be worth testing ? Dunno, but according to the link, the -pthread option trigger some special flag in the linking process. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
Hi Davide, Looks like all instances of -lc_r have to be replaced by -lpthread for proper compilation on OpenBSD. meanwhile I ran into some instability issue: - A sudden coredump after setting up some filters and doing some KILL/restarts in between. This might be neglectable. I rebooted the machine after this for further tests. - A bunch of undeliverable messages hanging in the queue after a heavy load job. None of the mails has any hints in the SLOG file. POP3link ceased to function too. This remains the current state, even after disabling all filters and rebooting the machine. None of the filters did modify any messages. Maybe some structures in the queue are corrupted. This needs some further investigations. Unfortunately this denies the use of any watchdog script which could reanimate XMail after a crash. Looks like there is a problem with filters and/or threads. A forum user ran into exactly the same situation, also on OpenBSD 3.7. Any idea? Thanks, Harald - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
On Fri, 2 Sep 2005, Harald Schneider wrote: Do you think replacing -lpthread with one of these: -Kthread -kthread -pthread -pthreads -mthreads --thread-safe -mt might be worth testing ? Dunno, but according to the link, the -pthread option trigger some special flag in the linking process. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
OK .. I 'll run some test after I'm back from vacations :) Thanks so far, Harald Davide Libenzi wrote: On Fri, 2 Sep 2005, Harald Schneider wrote: Do you think replacing -lpthread with one of these: -Kthread -kthread -pthread -pthreads -mthreads --thread-safe -mt might be worth testing ? Dunno, but according to the link, the -pthread option trigger some special flag in the linking process. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
On Mon, 29 Aug 2005, Harald Schneider wrote: Looks like all instances of -lc_r have to be replaced by -lpthread for proper compilation on OpenBSD. Davide, can you fix this in the source tarball ? I'm sure the OpenBSD community will appreciate this ... :) Okie dokie. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
Looks like all instances of -lc_r have to be replaced by -lpthread for proper compilation on OpenBSD. Davide, can you fix this in the source tarball ? I'm sure the OpenBSD community will appreciate this ... :) --Harald Harald Schneider wrote: $ gmake -f Makefile.bsd OSTYPE=OpenBSD g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__OPENBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c MkMachDep.cpp g++ -o bin/MkMachDep MkMachDep.o -lkvm -pthread -lc_r /usr/bin/ld: cannot find -lc_r collect2: ld returned 1 exit status gmake: *** [bin/MkMachDep] Error 1 Any hints ? --Harald - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Compiling XMail 1.21 on OpenBSD 3.7 fails
One more question of a non C++ coder: g++ -o bin/MkMachDep MkMachDep.o -lkvm -pthread -lpthread Do these parameters -pthread -lpthread make sense together? XMail compiles and seems to run smoothly so far. Just want to prevent those hickups known from FreeBSD without the KQUEUE patch ... Thanks, Harald Harald Schneider wrote: Looks like all instances of -lc_r have to be replaced by -lpthread for proper compilation on OpenBSD. Davide, can you fix this in the source tarball ? I'm sure the OpenBSD community will appreciate this ... :) --Harald Harald Schneider wrote: $ gmake -f Makefile.bsd OSTYPE=OpenBSD g++ -O2 -I. -D__UNIX__ -D__BSD__ -D__OPENBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -c MkMachDep.cpp g++ -o bin/MkMachDep MkMachDep.o -lkvm -pthread -lc_r /usr/bin/ld: cannot find -lc_r collect2: ld returned 1 exit status gmake: *** [bin/MkMachDep] Error 1 Any hints ? --Harald - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]