hey all,

just to chime in with GCC 4.0.1 compiler problems on Mac OS X 10.4.10  
Server.
it breaks with the same errors mentioned:

checking for a supported version of gcc... ok (4.0.1)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR28045... configure: error: your compiler has  
gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/ 
bugzilla/show_bug.cgi?id=28045

but with Edwins mentioned parameter:
CFLAGS="-O0" it works
CFLAGS="-O1" or CFLAGS="-O2" it fails again.

is it safe to build it with CFLAGS="-O0" and to let it run on  
production servers?
i have to mention, that i'm no expert in using compiler options.

thx.
oliver

Am 18.12.2007 um 15:10 schrieb Török Edwin:

> Leonardo Rodrigues Magalhães wrote:
>>     Compiling clamav-0.92 with an old gcc (gcc 3.2 in my Fedora 4 and
>> Fedora 5 machines) will make clamav behave strangely, slow ...  
>> disable
>> features ... or something like that ? Is it 'very bad' to compile
>> clamav-0.92 with gcc 3.2 ??
>>
>>     Please note that i'm NOT running in high loaded environments, so
>> missing some optimizations flags which would make clamav 0,05% faster
>> will certainly NOT be a problem to me.
>>
>
> Any compiler that passes the test in ./configure is ok (just to be  
> clear,
> you can use any compiler, not just gcc).
> For gcc versions > 4.1.1, and  < 4.0 are known to work.
> So 3.2 is ok.
>
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http:// 
> wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to