Lars Hecking wrote:
I've been building with static openssl for a while as well, and am still using gcc 3.4.6 as I couldn't get newer versions to compile - although it seems possible, and I'll try again; maybe using gcc 4.7 or 4.6.Well, 4.7.3 doesn't build for me. Trying 4.6.4 now. Using 3.4.6 and latest binutils. gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/local/include \ -o build/gencondmd.o build/gencondmd.c In file included from build/gencondmd.c:40: ../../gcc/config/sparc/constraints.md: In function `satisfies_constraint_T': ../../gcc/config/sparc/constraints.md:137: error: `TARGET_64BIT' undeclared (first use in this function) ../../gcc/config/sparc/constraints.md:137: error: (Each undeclared identifier is reported only once ../../gcc/config/sparc/constraints.md:137: error: for each function it appears in.)
I've done some additional tests today. With Sun-CC the binaries won't work, even without optimization. But I managed to compile it with gcc 4.8.2 and that works (-O4 -mcpu=ultrasparc3 -I/opt/openssl/include -D__EXTENSIONS__). Thats good, but I don't know if I should worry about some compiler specific code in ClamAV (since 0.98) causing this bug. Maybe there is some other "bigger" problem. Regards, Martin ---------------------------------------------------------------------- Martin Preen, Universität Freiburg, Institut für Informatik Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany phone: ++49 761 203-8250 pr...@informatik.uni-freiburg.de fax: ++49 761 203-8242 swt.informatik.uni-freiburg.de/staff/preen
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml