Thanks for the report. That is disabling quite a lot of drivers
(what
is still left, lxc?), so it's a combination that has not gotten a lot of
testing. I'll definitely look at fixing it before 1.2.8 is released,
although it may miss release candidate 0.
It's no problem of configure options.
Simple ./configure result:
configure:
configure: Configuration summary
configure: =====================
configure:
configure: Drivers
configure:
configure: Xen: no
configure: QEMU: yes
configure: UML: yes
configure: OpenVZ: yes
configure: VMware: yes
configure: VBox: yes
configure: XenAPI: no
configure: xenlight: no
configure: LXC: yes
configure: PHYP: no
configure: ESX: no
configure: Hyper-V: no
configure: Parallels: yes
configure: Bhyve: no
configure: Test: yes
configure: Remote: yes
configure: Network: yes
configure: Libvirtd: yes
configure: Interface: yes
configure: macvtap: yes
configure: virtport: yes
configure:
configure: Storage Drivers
configure:
configure: Dir: yes
configure: FS: yes
configure: NetFS: yes
configure: LVM: yes
configure: iSCSI: no
configure: SCSI: yes
configure: mpath: yes
configure: Disk: no
configure: RBD: no
configure: Sheepdog: no
configure: Gluster: no
configure:
configure: Security Drivers
configure:
configure: SELinux: yes (/selinux)
configure: AppArmor: no (install profiles: no)
configure:
configure: Driver Loadable Modules
configure:
configure: dlopen: -ldl
configure:
configure: Libraries
configure:
configure: apparmor: no
configure: attr: no
configure: audit: no
configure: avahi: no
configure: blkid: no
configure: capng: yes (CFLAGS='' LIBS='-lcap-ng')
configure: curl: no
configure: dbus: no
configure: fuse: yes (CFLAGS='-D_FILE_OFFSET_BITS=64
-I/usr/include/fuse ' LIBS='-pthread -lfuse ')
configure: glusterfs: no
configure: hal: no
configure: netcf: no
configure: numactl: no
configure: openwsman: no
configure: pciaccess: yes (CFLAGS=' ' LIBS='-lpciaccess ')
configure: readline: no
configure: sanlock: no
configure: sasl: no
configure: selinux: yes (CFLAGS='' LIBS='-lselinux')
configure: ssh2: no
configure: systemd_daemon: yes (CFLAGS=' ' LIBS='-lsystemd-daemon ')
configure: udev: yes (CFLAGS=' ' LIBS='-ludev ')
configure: yajl: no
configure: libxml: -I/usr/include/libxml2 -lxml2
configure: dlopen: -ldl
configure: openwsman: no
configure: gnutls: no
configure: firewalld: no
configure: polkit: /usr/bin/pkcheck (version 1)
configure: xen: no
configure: xenapi: no
configure: xenlight: no
configure: pcap: no
configure: nl: -lnl
configure: mscom: no
configure: xdr:
configure: rbd: no
configure: pm-utils: yes
configure:
configure: Test suite
configure:
configure: Coverage: no
configure: Alloc OOM: no
configure:
configure: Miscellaneous
configure:
configure: Debug: yes
configure: Use -Werror: no
configure: Warning Flags: -W -Waddress
-Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes
-Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch
-Wcpp -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero
-Wdouble-promotion -Wempty-body -Wendif-labels -Wextra
-Wformat-contains-nul -Wformat-extra-args -Wformat-security
-Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object
-Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration
-Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast
-Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op
-Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations
-Wmissing-field-initializers -Wmissing-include-dirs
-Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing
-Wnested-externs -Wnonnull -Wnormalized=nfc -Wold-style-declaration
-Wold-style-definition -Woverflow -Woverride-init
-Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign
-Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type
-Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wsuggest-attribute=const
-Wsuggest-attribute=format -Wsuggest-attribute=noreturn
-Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines
-Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused
-Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function
-Wunused-label -Wunused-local-typedefs -Wunused-parameter
-Wunused-result -Wunused-value -Wunused-variable -Wvarargs
-Wvariadic-macros -Wvector-operation-performance
-Wvolatile-register-var -Wwrite-strings -fdiagnostics-show-option
-funit-at-a-time -Wno-sign-compare -Wjump-misses-init
-Wno-format-nonliteral -Wframe-larger-than=4096
-fstack-protector-strong -fexceptions -fasynchronous-unwind-tables
-fipa-pure-const -Wno-suggest-attribute=pure
-Wno-suggest-attribute=const
configure: DTrace: no
configure: numad: no
configure: XML Catalog: /etc/xml/catalog
configure: Init script: redhat
configure: Char device locks: /var/lock
configure:
configure: Developer Tools
configure:
configure: Wireshark dissector: no
configure:
configure: Privileges
configure:
configure: QEMU: root:root
configure:
#make
...
make[3]: Entering directory `/usr/local/src/libvirt-1.2.7/daemon'
CC libvirtd_conf_la-libvirtd-config.lo
CCLD libvirtd_conf.la
CC libvirtd-libvirtd.o
CC libvirtd-remote.o
CC libvirtd-stream.o
CCLD libvirtd
libvirtd-remote.o: In function `remoteRelayDomainEventCheckACL':
/usr/local/src/libvirt-1.2.7/daemon/remote.c:157: undefined reference
to `virConnectDomainEventRegisterAnyCheckACL'
libvirtd-remote.o: In function `remoteRelayNetworkEventCheckACL':
/usr/local/src/libvirt-1.2.7/daemon/remote.c:184: undefined reference
to `virConnectNetworkEventRegisterAnyCheckACL'
collect2: error: ld returned 1 exit status
make[3]: *** [libvirtd] Error 1
make[3]: Leaving directory `/usr/local/src/libvirt-1.2.7/daemon'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/libvirt-1.2.7/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt-1.2.7'
make: *** [all] Error 2
p.s.
I have no error when compiling libvirt-1.2.7 on second CE-7 host.
But on second host I installed previously libvirt from rpm, then
remove rpm and after this successfully compile libvirt 1.2.7 with same
options.
Both hosts has small difference in rpm sets, equal kernel and gcc version.
b.r.
Maxim Kozin