On Wed, 4 Apr 2007 08:54:34 +0300 Henrik Krohns <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 03, 2007 at 02:18:00PM -0700, Gary Casterline wrote: > > On Tue, Apr 03, 2007 at 07:36:11PM +0300, Henrik Krohns wrote: > > > On Tue, Apr 03, 2007 at 12:29:07PM -0400, Gerard Seibert wrote: > > > > On Tue, 3 Apr 2007 11:29:06 -0400 > > > > Rick Pim <[EMAIL PROTECTED]> wrote: > > > > > > > > > system: 4 CPU Sun E450, solaris 5.9, gcc 3.4.3 > > > > > > > > > > before i start: i don't have a copy of gdb on this system, so > > > > > i'm unable to provide a debug log. > > > > > > > > By the way, your version of 'gcc' is rather ancient. You might > > > > want to check out this URL as well: > > > > > > > > http://gcc.gnu.org/gcc-4.1/ > > > > > > Or rather, I would get Sun Studio 11. ;) > > > > > > > I've never been able to use a clamd compiled with Sun Studio 11. > > The daemon dies for some reason. When I compile with gcc 3.4.5 on > > solaris 10 clamd runs and runs (without the --experimental > > configure option.) ClamAV devel-20070322/2967/Fri Mar 30 09:02:40 > > 2007 > > > > Are there any compiler flags that might help Sun Studio 11? > > I just use ./configure CC=cc CFLAGS="-xO3 -xarch=v8plusb". Obviously > you might need to change/remove the arch-flag. I use the following: CFLAGS= -pipe -Os Works fine here. Of course, this is on a FreeBSD-6.2 system. YMMV. I have heard of 'O3' causing problems with some applications. It wouldn't hurt to try with different compiler settings. Good Luck! -- Gerard It is so soon that I am done for, I wonder what I was begun for. Epitaph, Cheltenham Churchyard
signature.asc
Description: PGP signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html