* Package: app-antivirus/clamav-0.99.2  * Repository: gentoo  * Maintainer: antivirus@gentoo.org net-mail@gentoo.org  * USE: abi_x86_64 amd64 bzip2 elibc_glibc iconv ipv6 kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking clamav-0.99.2.tar.gz to /var/tmp/portage/app-antivirus/clamav-0.99.2/work >>> Source unpacked in /var/tmp/portage/app-antivirus/clamav-0.99.2/work >>> Preparing source in /var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2 ... * econf: updating clamav-0.99.2/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating clamav-0.99.2/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating clamav-0.99.2/libclamav/c++/llvm/autoconf/config.guess with /usr/share/gnuconfig/config.guess * econf: updating clamav-0.99.2/libclamav/c++/llvm/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating clamav-0.99.2/libclamav/c++/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating clamav-0.99.2/libclamav/c++/config/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-experimental --disable-fanotify --enable-id-check --with-dbdir=/var/lib/clamav --with-system-tommath --with-zlib=/usr --enable-bzip2 --disable-clamdtop --enable-ipv6 --disable-milter --disable-static --with-iconv --without-libjson checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu creating target.h - canonical system defines checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '250' is supported by ustar format... yes checking whether GID '250' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /lib /usr/lib /usr/local/lib /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/32 /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/32 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0 /usr/lib64/qt4 /usr/games/lib64 /usr/games/lib32 /usr/games/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for cos in -lm... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking for dlfcn.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for memory.h... (cached) yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for C/C++ restrict keyword... __restrict checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a supported version of gcc... ok (6.2.0) checking for gcc bug PR27603... ok, bug not present checking for gcc bug PR26763-2... ok, bug not present checking for valid code generation of CLI_ISCONTAINED... ok, bug not present checking for gcc bug PR28045... ok, bug not present checking for gcc bug PR37573... ok, bug not present checking for off_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void *... 8 checking for ld --version-script... yes checking whether uname(2) is POSIX... yes checking for bind in -lsocket... no checking for library containing gethostent... none required checking for poll... yes checking for setsid... yes checking for memcpy... yes checking for snprintf... yes checking for vsnprintf... yes checking for strerror_r... yes checking for strlcpy... (cached) no checking for strlcat... (cached) no checking for strcasestr... yes checking for inet_ntop... yes checking for setgroups... yes checking for initgroups... yes checking for ctime_r... yes checking for mkstemp... yes checking for mallinfo... yes checking for madvise... yes checking for getnameinfo... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for working mmap... yes checking for sysconf(_SC_PAGESIZE)... yes checking for getpagesize()... yes checking for MAP_ANON(YMOUS)... MAP_ANONYMOUS checking for enable_extended_FILE_stdio... no checking for timegm... yes checking for sysctlbyname... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... yes checking for libxml2 installation... /usr checking xml2-config version... 2.9.4 checking for xmlreader.h in /usr... found checking for xmlTextReaderRead in -lxml2... yes configure: Compiling and linking with libxml2 from /usr checking for OpenSSL installation... /usr checking for SSL_library_init in -lssl... yes checking for EVP_EncryptInit in -lcrypto... yes checking for X509_VERIFY_PARAM_new in -lssl... yes checking for libjson installation... no checking for pcre2-config... no checking for pcre-config... /usr/bin/pcre-config checking pcre-config version... 8.39 checking for CVE-2015-3210... ok configure: CFLAGS from pcre-config: configure: LIBS from pcre-config: -L/usr/lib64 -lpcre checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes configure: Compiling and linking with pcre from /usr checking whether to enable maintainer-specific portions of Makefiles... no checking for zlib installation... using /usr checking for inflateEnd in -lz... yes checking for gzopen in -lz... yes checking how to link with libbz2... -lbz2 checking for BZ2_bzDecompressInit in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for CVE-2008-1372... ok checking for CVE-2010-0405... ok checking for getaddrinfo... yes checking for SYSTEMD... yes checking for systemd system unit installation directory... /usr/lib/systemd/system checking for IPv6 support... yes checking for resolv.h... yes checking for dn_expand in std libs... no checking for dn_expand in -lresolv... yes checking whether setpgrp takes no argument... yes checking for libiconv_open in -liconv... no checking for iconv... yes checking for pthread.h... (cached) yes checking whether in_port_t is defined... yes checking for in_addr_t definition... yes checking for sched_yield... yes checking for pthread_yield... yes checking for readdir_r... support disabled checking for ctime_r... yes, and it takes 2 arguments checking for socklen_t... yes checking for structure packing via __attribute__((packed))... yes checking for type aligning via __attribute__((aligned))... yes checking that structure packing works... yes checking for fd_set... yes, found in sys/select.h checking default FD_SETSIZE value... 1024 checking stat64... yes checking whether signed right shift is sign extended... yes checking for recvmsg... yes checking for sendmsg... yes checking for msg_control field in struct msghdr... yes checking BSD 4.4 / RFC2292 style fd passing... yes checking for libcurl installation... /usr checking for curl_easy_init in -lcurl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libltdl/Makefile config.status: creating clamscan/Makefile config.status: creating database/Makefile config.status: creating docs/Makefile config.status: creating clamd/Makefile config.status: creating clamd/clamav-daemon.service config.status: creating clamd/clamav-daemon.socket config.status: creating clamdscan/Makefile config.status: creating clamsubmit/Makefile config.status: creating clamav-milter/Makefile config.status: creating freshclam/clamav-freshclam.service config.status: creating freshclam/Makefile config.status: creating sigtool/Makefile config.status: creating clamconf/Makefile config.status: creating etc/Makefile config.status: creating test/Makefile config.status: creating unit_tests/Makefile config.status: creating clamdtop/Makefile config.status: creating clambc/Makefile config.status: creating libfreshclam/Makefile config.status: creating Makefile config.status: creating clamav-config config.status: creating libclamav.pc config.status: creating platform.h config.status: creating docs/man/clamav-milter.8 config.status: creating docs/man/clamav-milter.conf.5 config.status: creating docs/man/clambc.1 config.status: creating docs/man/clamconf.1 config.status: creating docs/man/clamd.8 config.status: creating docs/man/clamd.conf.5 config.status: creating docs/man/clamdscan.1 config.status: creating docs/man/clamscan.1 config.status: creating docs/man/freshclam.1 config.status: creating docs/man/freshclam.conf.5 config.status: creating docs/man/sigtool.1 config.status: creating docs/man/clamdtop.1 config.status: creating docs/man/clamsubmit.1 config.status: creating clamav-config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in libclamav/c++ (/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--libdir=/usr/lib64' '--disable-experimental' '--disable-fanotify' '--enable-id-check' '--with-dbdir=/var/lib/clamav' '--with-system-tommath' '--with-zlib=/usr' '--enable-bzip2' '--disable-clamdtop' '--enable-ipv6' '--disable-milter' '--disable-static' '--with-iconv' '--without-libjson' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for OpenSSL installation... /usr checking for SSL_library_init in -lssl... yes checking for EVP_EncryptInit in -lcrypto... yes checking for X509_VERIFY_PARAM_new in -lssl... yes checking whether to enable maintainer-specific portions of Makefiles... no checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for GNU make... make checking for supported LLVM version... ok (2.8) checking for supported C++ compiler version... ok (6.2.0) checking for supported OS... ok (x86_64-linux-gnu) checking for working libstdc++... testyes configure: Building X86 backend: yes configure: Building PPC backend: no checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating clamavcxx-config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in llvm (/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++/llvm) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--libdir=/usr/lib64' '--disable-experimental' '--disable-fanotify' '--enable-id-check' '--with-dbdir=/var/lib/clamav' '--with-system-tommath' '--with-zlib=/usr' '--enable-bzip2' '--disable-clamdtop' '--enable-ipv6' '--disable-milter' '--disable-static' '--with-iconv' '--without-libjson' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig' 'CXXFLAGS=-march=native -O2 -pipe' '--enable-optimized' 'llvm_cv_gnu_make_command=make' '--enable-targets=host-only' '--enable-bindings=none' '--enable-libffi=no' '--without-llvmgcc' '--without-llvmgxx' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking type of operating system we're going to host on... Linux checking type of operating system we're going to target... Linux checking target architecture... x86_64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking clang compiler... none checking optimization flags... -O3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for BSD-compatible nm... /usr/bin/nm -B checking for GNU make... (cached) make checking whether ln -s works... yes checking for cmp... /usr/bin/cmp checking for cp... /bin/cp checking for date... /bin/date checking for find... /usr/bin/find checking for grep... (cached) /bin/grep checking for mkdir... /bin/mkdir checking for mv... /bin/mv checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for rm... /bin/rm checking for sed... /bin/sed checking for tar... /bin/tar checking for pwd... /bin/pwd checking for Graphviz... echo Graphviz checking for dot... echo dot checking for fdp... echo fdp checking for neato... echo neato checking for twopi... echo twopi checking for circo... echo circo checking for gv... no checking for gsview32... no checking for dotty... echo dotty checking for a BSD-compatible install... /usr/bin/install -c checking for bzip2... /bin/bzip2 checking for cat... /bin/cat checking for doxygen... no checking for groff... /usr/bin/groff checking for gzip... /bin/gzip checking for pod2html... /usr/bin/pod2html checking for pod2man... /usr/bin/pod2man checking for pdfroff... /usr/bin/pdfroff checking for runtest... no checking for the tclsh program in tclinclude directory... none checking for tclsh8.4... no checking for tclsh8.4.8... no checking for tclsh8.4.7... no checking for tclsh8.4.6... no checking for tclsh8.4.5... no checking for tclsh8.4.4... no checking for tclsh8.4.3... no checking for tclsh8.4.2... no checking for tclsh8.4.1... no checking for tclsh8.4.0... no checking for tclsh8.3... no checking for tclsh8.3.5... no checking for tclsh8.3.4... no checking for tclsh8.3.3... no checking for tclsh8.3.2... no checking for tclsh8.3.1... no checking for tclsh8.3.0... no checking for tclsh... /usr/bin/tclsh checking for zip... /usr/bin/zip checking for ocamlc... no checking for ocamlopt... no checking for ocamldep... no checking for ocamldoc... no checking for gas... no checking for as... /usr/bin/as checking for linker version... 2.26.1 checking for compiler -Wl,-R option... yes checking for compiler -Wl,-export-dynamic option... yes checking for compiler -Wl,--version-script option... yes checking for an ANSI C-conforming const... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking dynamic linker characteristics... GNU/Linux ld.so checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /lib /usr/lib /usr/local/lib /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/32 /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/32 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0 /usr/lib64/qt4 /usr/games/lib64 /usr/games/lib32 /usr/games/lib checking for objdir... .libs checking command to parse /usr/bin/nm -B output from object... ok checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking LLVM capable compiler... llvm-gcc checking tool compatibility... ok checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers checking for sin in -lm... yes checking for library containing dlopen... -ldl checking for library containing mallinfo... none required checking for pthread_mutex_init in -lpthread... yes checking for library containing pthread_mutex_lock... none required checking for library containing pthread_rwlock_init... none required checking for library containing pthread_getspecific... none required checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for MAP_ANONYMOUS vs. MAP_ANON... yes checking whether stat file-mode macros are broken... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for dlfcn.h... (cached) yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking for malloc.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking CrashReporterClient.h usability... no checking CrashReporterClient.h presence... no checking for CrashReporterClient.h... no checking __crashreporter_info__... no checking for HUGE_VAL sanity... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int64_t... yes checking for uint64_t... yes checking for backtrace... yes checking for ceilf... yes checking for floorf... yes checking for roundf... yes checking for rintf... yes checking for nearbyintf... yes checking for getcwd... yes checking for powf... yes checking for fmodf... yes checking for strtof... yes checking for round... yes checking for getpagesize... yes checking for getrusage... yes checking for getrlimit... yes checking for setrlimit... yes checking for gettimeofday... yes checking for isatty... yes checking for mkdtemp... yes checking for mkstemp... yes checking for mktemp... yes checking for posix_spawn... yes checking for realpath... yes checking for sbrk... yes checking for setrlimit... (cached) yes checking for strdup... yes checking for strerror... yes checking for strerror_r... yes checking for strerror_s... no checking for setenv... yes checking for strtoll... yes checking for strtoq... yes checking for sysconf... yes checking for malloc_zone_statistics... no checking for setjmp... yes checking for longjmp... yes checking for sigsetjmp... no checking for siglongjmp... yes checking if printf has the %a format character... yes checking for srand48/lrand48/drand48 in ... yes checking for isnan in ... yes checking for isnan in ... no checking for std::isnan in ... yes checking for isinf in ... yes checking for isinf in ... no checking for std::isinf in ... no checking for finite in ... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for mmap of files... yes checking if /dev/zero is needed for mmap... no checking for GCC atomic builtins... yes checking for 32-bit userspace on 64-bit system... no checking for __dso_handle... yes checking whether llvm-gcc is sane... no checking for compiler -fvisibility-inlines-hidden option... yes configure: creating ./config.status config.status: creating include/llvm/Config/Targets.def config.status: creating include/llvm/Config/AsmPrinters.def config.status: creating include/llvm/Config/AsmParsers.def config.status: creating include/llvm/Config/Disassemblers.def config.status: creating Makefile.config config.status: creating llvm.spec config.status: creating include/llvm/Config/config.h config.status: creating include/llvm/Config/llvm-config.h config.status: creating include/llvm/System/DataTypes.h config.status: executing setup commands config.status: executing Makefile commands config.status: executing Makefile.common commands config.status: executing examples/Makefile commands ./autoconf/install-sh: ./examples/Makefile does not exist. config.status: executing lib/Makefile commands config.status: executing runtime/Makefile commands ./autoconf/install-sh: ./runtime/Makefile does not exist. config.status: executing test/Makefile commands ./autoconf/install-sh: ./test/Makefile does not exist. config.status: executing test/Makefile.tests commands ./autoconf/install-sh: ./test/Makefile.tests does not exist. config.status: executing unittests/Makefile commands ./autoconf/install-sh: ./unittests/Makefile does not exist. config.status: executing tools/Makefile commands ./autoconf/install-sh: ./tools/Makefile does not exist. config.status: executing utils/Makefile commands config.status: executing projects/Makefile commands ./autoconf/install-sh: ./projects/Makefile does not exist. config.status: executing bindings/Makefile commands ./autoconf/install-sh: ./bindings/Makefile does not exist. config.status: executing bindings/ocaml/Makefile.ocaml commands ./autoconf/install-sh: ./bindings/ocaml/Makefile.ocaml does not exist. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libltdl/Makefile config.status: creating clamscan/Makefile config.status: creating database/Makefile config.status: creating docs/Makefile config.status: creating clamd/Makefile config.status: creating clamd/clamav-daemon.service config.status: creating clamd/clamav-daemon.socket config.status: creating clamdscan/Makefile config.status: creating clamsubmit/Makefile config.status: creating clamav-milter/Makefile config.status: creating freshclam/clamav-freshclam.service config.status: creating freshclam/Makefile config.status: creating sigtool/Makefile config.status: creating clamconf/Makefile config.status: creating etc/Makefile config.status: creating test/Makefile config.status: creating unit_tests/Makefile config.status: creating clamdtop/Makefile config.status: creating clambc/Makefile config.status: creating libfreshclam/Makefile config.status: creating Makefile config.status: creating clamav-config config.status: creating libclamav.pc config.status: creating platform.h config.status: creating docs/man/clamav-milter.8 config.status: creating docs/man/clamav-milter.conf.5 config.status: creating docs/man/clambc.1 config.status: creating docs/man/clamconf.1 config.status: creating docs/man/clamd.8 config.status: creating docs/man/clamd.conf.5 config.status: creating docs/man/clamdscan.1 config.status: creating docs/man/clamscan.1 config.status: creating docs/man/freshclam.1 config.status: creating docs/man/freshclam.conf.5 config.status: creating docs/man/sigtool.1 config.status: creating docs/man/clamdtop.1 config.status: creating docs/man/clamsubmit.1 config.status: creating libclamav/Makefile config.status: creating clamav-config.h config.status: clamav-config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands configure: Summary of detected features follows OS : linux-gnu pthreads : yes (-lpthread) configure: Summary of miscellaneous features check : -lcheck (auto) fanotify : no (disabled) fdpassing : 1 IPv6 : yes configure: Summary of optional tools clamdtop : (disabled) milter : yes (disabled) clamsubmit : yes configure: Summary of engine performance features release mode: yes llvm : yes, from built-in (auto) mempool : yes configure: Summary of engine detection features bzip2 : ok zlib : /usr unrar : yes libjson : no pcre : /usr libxml2 : yes, from /usr yara : yes >>> Source configured. >>> Compiling source in /var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2 ... make -j2 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' Making all in libltdl make[2]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libltdl' make all-am make[3]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libltdl' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c loaders/preopen.c -fPIC -DPIC -o .libs/libltdlc_la-preopen.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c loaders/dlopen.c -fPIC -DPIC -o .libs/dlopen.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c lt__alloc.c -fPIC -DPIC -o .libs/libltdlc_la-lt__alloc.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c lt_dlloader.c -fPIC -DPIC -o .libs/libltdlc_la-lt_dlloader.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c lt_error.c -fPIC -DPIC -o .libs/libltdlc_la-lt_error.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o libltdlc_la-slist.lo `test -f 'slist.c' || echo './'`slist.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c ltdl.c -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c slist.c -fPIC -DPIC -o .libs/libltdlc_la-slist.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o lt__strl.lo lt__strl.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c lt__strl.c -fPIC -DPIC -o .libs/lt__strl.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -module -avoid-version -Wl,-O1 -Wl,--as-needed -o dlopen.la dlopen.lo -ldl libtool: link: x86_64-pc-linux-gnu-ar cru .libs/dlopen.a .libs/dlopen.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/dlopen.a libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" ) /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -no-undefined -dlpreopen dlopen.la -Wl,-O1 -Wl,--as-needed -o libltdlc.la libltdlc_la-preopen.lo libltdlc_la-lt__alloc.lo libltdlc_la-lt_dlloader.lo libltdlc_la-lt_error.lo libltdlc_la-ltdl.lo libltdlc_la-slist.lo lt__strl.lo libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT libtool: link: rm -f ".libs/libltdlc.nmI" libtool: link: (cd .libs && x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -fno-builtin -fPIC -DPIC "libltdlcS.c") libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT" ".libs/libltdlc.nmI" libtool: link: (cd .libs/libltdlc.lax/dlopen.a && x86_64-pc-linux-gnu-ar x "/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libltdl/./.libs/dlopen.a") libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libltdlc.a .libs/libltdlc_la-preopen.o .libs/libltdlc_la-lt__alloc.o .libs/libltdlc_la-lt_dlloader.o .libs/libltdlc_la-lt_error.o .libs/libltdlc_la-ltdl.o .libs/libltdlc_la-slist.o .libs/lt__strl.o .libs/libltdlcS.o .libs/libltdlc.lax/dlopen.a/dlopen.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libltdlc.a libtool: link: rm -fr .libs/libltdlc.lax libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" ) make[3]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libltdl' make[2]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libltdl' Making all in libclamav make[2]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' make all-recursive make[3]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' Making all in c++ make[4]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' make all-am make[5]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c -o libclamavcxx_la-bytecode2llvm.lo `test -f 'bytecode2llvm.cpp' || echo './'`bytecode2llvm.cpp /bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c -o libclamavcxx_la-ClamBCRTChecks.lo `test -f 'ClamBCRTChecks.cpp' || echo './'`ClamBCRTChecks.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c bytecode2llvm.cpp -fPIC -DPIC -o .libs/libclamavcxx_la-bytecode2llvm.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -DLLVM_VERSION=28 -march=native -O2 -pipe -c ClamBCRTChecks.cpp -fPIC -DPIC -o .libs/libclamavcxx_la-ClamBCRTChecks.o In file included from ./llvm/include/llvm/BasicBlock.h:18:0, from ./llvm/include/llvm/Function.h:23, from ./llvm/include/llvm/Analysis/CallGraph.h:54, from ClamBCRTChecks.cpp:31: ./llvm/include/llvm/SymbolTableListTraits.h: In member function 'ItemParentClass* llvm::SymbolTableListTraits::getListOwner()': ./llvm/include/llvm/SymbolTableListTraits.h:49:53: warning: typedef 'Sublist' locally defined but not used [-Wunused-local-typedefs] typedef iplist ItemParentClass::*Sublist; ^~~~~~~ In file included from ./llvm/include/llvm/Support/Allocator.h:17:0, from ./llvm/include/llvm/ADT/StringMap.h:18, from ./llvm/include/llvm/PassRegistry.h:20, from ./llvm/include/llvm/PassSupport.h:25, from ./llvm/include/llvm/Pass.h:366, from ./llvm/include/llvm/Analysis/CallGraph.h:55, from ClamBCRTChecks.cpp:31: ./llvm/include/llvm/Support/AlignOf.h: At global scope: ./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' static inline unsigned alignof() { return AlignOf::Alignment; } ^~~~~~~ In file included from bytecode2llvm.cpp:39:0: ./llvm/include/llvm/ADT/BitVector.h: In member function 'int llvm::BitVector::find_next(unsigned int) const': ./llvm/include/llvm/ADT/BitVector.h:161:20: warning: left shift of negative value [-Wshift-negative-value] Copy &= ~0L << BitPos; ^~~~~~ In file included from ./llvm/include/llvm/ADT/StringMap.h:18:0, from ./llvm/include/llvm/PassRegistry.h:20, from ./llvm/include/llvm/PassSupport.h:25, from ./llvm/include/llvm/Pass.h:366, from ./llvm/include/llvm/Analysis/CallGraph.h:55, from ClamBCRTChecks.cpp:31: ./llvm/include/llvm/Support/Allocator.h: In member function 'void llvm::SpecificBumpPtrAllocator::DestroyAll()': ./llvm/include/llvm/Support/Allocator.h:204:46: error: expected primary-expression before '<' token Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); ^ ./llvm/include/llvm/Support/Allocator.h:204:39: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] Ptr = Allocator.AlignPtr(Ptr, alignof()); ^~~~~~~ ./llvm/include/llvm/Support/Allocator.h:204:48: error: expected primary-expression before '>' token Ptr = Allocator.AlignPtr(Ptr, alignof()); ^ ./llvm/include/llvm/Support/Allocator.h:204:50: error: expected primary-expression before ')' token Ptr = Allocator.AlignPtr(Ptr, alignof()); ^ In file included from ./llvm/include/llvm/PassRegistry.h:20:0, from ./llvm/include/llvm/PassSupport.h:25, from ./llvm/include/llvm/Pass.h:366, from ./llvm/include/llvm/Analysis/CallGraph.h:55, from ClamBCRTChecks.cpp:31: ./llvm/include/llvm/ADT/StringMap.h: In static member function 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(const char*, const char*, AllocatorTy&, InitType)': ./llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression before '<' token unsigned Alignment = alignof<StringMapEntry>(); ^ ./llvm/include/llvm/ADT/StringMap.h:170:26: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] unsigned Alignment = alignof(); ^~~~~~~ ./llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression before '>' token unsigned Alignment = alignof(); ^ ./llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression before ')' token unsigned Alignment = alignof(); ^ ./llvm/include/llvm/ADT/BitVector.h: In member function 'void llvm::BitVector::set_unused_bits(bool)': ./llvm/include/llvm/ADT/BitVector.h:376:37: warning: left shift of negative value [-Wshift-negative-value] Bits[UsedWords-1] &= ~(~0L << ExtraBits); ^~~~~~~~~ In file included from ./llvm/include/llvm/Support/Allocator.h:17:0, from ./llvm/include/llvm/ADT/StringMap.h:18, from bytecode2llvm.cpp:41: ./llvm/include/llvm/Support/AlignOf.h: At global scope: ./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' static inline unsigned alignof() { return AlignOf::Alignment; } ^~~~~~~ In file included from ./llvm/include/llvm/ADT/StringMap.h:18:0, from bytecode2llvm.cpp:41: ./llvm/include/llvm/Support/Allocator.h: In member function 'void llvm::SpecificBumpPtrAllocator::DestroyAll()': ./llvm/include/llvm/Support/Allocator.h:204:46: error: expected primary-expression before '<' token Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); ^ ./llvm/include/llvm/Support/Allocator.h:204:39: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] Ptr = Allocator.AlignPtr(Ptr, alignof()); ^~~~~~~ ./llvm/include/llvm/Support/Allocator.h:204:48: error: expected primary-expression before '>' token Ptr = Allocator.AlignPtr(Ptr, alignof()); ^ ./llvm/include/llvm/Support/Allocator.h:204:50: error: expected primary-expression before ')' token Ptr = Allocator.AlignPtr(Ptr, alignof()); ^ In file included from bytecode2llvm.cpp:41:0: ./llvm/include/llvm/ADT/StringMap.h: In static member function 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(const char*, const char*, AllocatorTy&, InitType)': ./llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression before '<' token unsigned Alignment = alignof<StringMapEntry>(); ^ ./llvm/include/llvm/ADT/StringMap.h:170:26: warning: ISO C++ does not allow 'alignof' with a non-type [-Wpedantic] unsigned Alignment = alignof(); ^~~~~~~ ./llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression before '>' token unsigned Alignment = alignof(); ^ ./llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression before ')' token unsigned Alignment = alignof(); ^ In file included from bytecode2llvm.cpp:69:0: ./llvm/include/llvm/Support/CommandLine.h: In member function 'void llvm::cl::alias::done()': ./llvm/include/llvm/Support/CommandLine.h:1326:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (AliasFor == 0) ^~ ./llvm/include/llvm/Support/CommandLine.h:1328:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' addArgument(); ^~~~~~~~~~~ In file included from ClamBCRTChecks.cpp:59:0: ./llvm/include/llvm/Support/CommandLine.h: In member function 'void llvm::cl::alias::done()': ./llvm/include/llvm/Support/CommandLine.h:1326:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (AliasFor == 0) ^~ ./llvm/include/llvm/Support/CommandLine.h:1328:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' addArgument(); ^~~~~~~~~~~ bytecode2llvm.cpp: In function 'void setGuard(unsigned char*)': bytecode2llvm.cpp:2432:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wpedantic] cl_hash_data("md5", salt, 48, guardbuf, NULL); ^ make[5]: *** [Makefile:2155: libclamavcxx_la-ClamBCRTChecks.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [Makefile:2148: libclamavcxx_la-bytecode2llvm.lo] Error 1 make[5]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' make[4]: *** [Makefile:1534: all] Error 2 make[4]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav/c++' make[3]: *** [Makefile:3449: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' make[2]: *** [Makefile:1151: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2/libclamav' make[1]: *** [Makefile:738: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' make: *** [Makefile:566: all] Error 2 * ERROR: app-antivirus/clamav-0.99.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-antivirus/clamav-0.99.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-antivirus/clamav-0.99.2::gentoo'`. * The complete build log is located at '/var/log/portage/app-antivirus:clamav-0.99.2:20160830-133219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-antivirus/clamav-0.99.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-antivirus/clamav-0.99.2/temp/environment'. * Working directory: '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2' * S: '/var/tmp/portage/app-antivirus/clamav-0.99.2/work/clamav-0.99.2'