On 01/28/2010 03:11 PM, Renato Botelho wrote: > 2010/1/28 Török Edwin <[email protected]>: > >> On 01/28/2010 12:16 PM, Renato Botelho wrote: >> >>> Hello again, >>> >>> I've tested this snapshot on my personal tinderboxes and got no problems, >>> but after commit the changes i recieved an email from QAT, freebsd automated >>> tests with an error on unit tests. Buildlog can be found here: >>> >>> http://qat.tecnik93.com/logs/8-STABLE-NPD/clamav-devel-20100127.log >>> >>> >> Reproduced on Debian too with g++-4.2. >> >> >>> Any idea? >>> >>> >> I added -fno-rtti to CXXFLAGS, and everything worked fine here (gcc 4.4). >> Apparently with gcc 4.2 googletest needs RTTI due to some system header. >> >> Does the attached patch help (it disables -fno-rtti for now)? >> > > I reproduced the problem on 9.0-CURRENT, and yes, the patch fixed the > problem.
Good. > Should I commit this ir there is a better solution that i need to wait? I have committed the patch to git master. -fno-rtti is used to save some space in the created libclamav.so, but the savings are small. It is possible to build only part of the code with -fno-rtti but that is more complicated, and I'd rather leave it as is for 0.96 (i.e. build with rtti, without the -fno-rtti flag). Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
