Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689130 - app-emulation/libvirt-5.4.0 should not apply libvirt-5.2.0-md-clear.patch
Summary: app-emulation/libvirt-5.4.0 should not apply libvirt-5.2.0-md-clear.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 02:52 UTC by Mark Wagner
Modified: 2019-07-02 06:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wagner 2019-07-02 02:52:38 UTC
See https://github.com/libvirt/libvirt/blob/v5.4.0/src/cpu_map/x86_features.xml#L323

md-clear is there.

Reproducible: Always

Steps to Reproduce:
1.Start domain

Actual Results:  
error: internal error: CPU feature md-clear already defined


Expected Results:  
domain started

cpu definition:

  <cpu mode='host-model' check='partial'>
    <model fallback='allow'/>
  </cpu>

/proc/cpuinfo for 1 cpu:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 94
model name      : Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
stepping        : 3
microcode       : 0xcc
cpu MHz         : 1200.022
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov p
at pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtsc
p lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc c
puid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ss
se3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_t
imer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_sing
le pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase
 tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflusho
pt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify
 hwp_act_window hwp_epp md_clear flush_l1d
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips        : 7008.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

emerge --info                                                       Portage 2.3.68 (python 2.7.16-final-0, default/linux/amd64/17.1/desktop, gcc-9.1.0, glibc-2.29-r2, 5.0.21-gentoo x86_64)                                          =================================================================                System uname: Linux-5.0.21-gentoo-x86_64-Intel-R-_Core-TM-_i5-6600K_CPU_@_3.50GHz-with-gentoo-2.6                                                                 KiB Mem:    32692572 total,  14488804 free                                       KiB Swap:    2097148 total,   2097148 free                                       Timestamp of repository gentoo: Mon, 01 Jul 2019 16:15:01 +0000                  Head commit of repository gentoo: 1334db62de7bc2f092820f11a63146f8394f367a       sh bash 5.0_p7                                                                   ld GNU ld (Gentoo 2.32 p2) 2.32.0                                                app-shells/bash:          5.0_p7::gentoo                                         dev-java/java-config:     2.2.0-r4::gentoo                                       dev-lang/perl:            5.28.2-r1::gentoo                                      dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.3::gentoo           dev-util/cmake:           3.14.5::gentoo                                         dev-util/pkgconfig:       0.29.2::gentoo                                         sys-apps/baselayout:      2.6-r1::gentoo                                         sys-apps/openrc:          0.41.2::gentoo                                         sys-apps/sandbox:         2.17::gentoo                                           sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo                       sys-devel/automake:       1.16.1-r1::gentoo                                      sys-devel/binutils:       2.32-r1::gentoo                                        sys-devel/gcc:            9.1.0-r1::gentoo                                       sys-devel/gcc-config:     2.0::gentoo                                            sys-devel/libtool:        2.4.6-r5::gentoo                                       sys-devel/make:           4.2.1-r4::gentoo                                       sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)                       sys-libs/glibc:           2.29-r2::gentoo                                        Repositories:                                                                                                                                                     gentoo                                                                               location: /usr/portage                                                           sync-type: rsync                                                                 sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage/
    priority: -1000                                                                  sync-rsync-verify-jobs: 1                                                        sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

lanfear
    location: /home/mark/project/portage
    masters: gentoo
    priority: 0

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/quali
fied.txt /var/bind /var/lib/unifi"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/f
onts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc
/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7
.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.3/ext-active/ /e
tc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/tex
mf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PE
RL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DAT
A_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-p
rotect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox m
erge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserv
e-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs un
merge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-t
imes --compress --force --whole-file --delete --stats --human-readable --timeout=
180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnowex X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apache apache2 audiofile bash-completion berkdb bluetooth branding bzip2 bzlib cairo cdparanoia cdr cgi
 cli consolekit crypt cups curl cxx dbus device-mapper dga divx4linux dri dts dvd
 dvdr dvdread dynagraph edl emacs emboss encode esd ethereal exif ffmpeg fftw fla
c font-server fontconfig fpx gd gdbm geoip gif gimp glamor glibc-omitfp gmp gpgme
 graphviz gs gstreamer gtk gtkhtml hal iconv icq idea imagemagick imap innodb ipv
6 java jbig jikes jpeg latex lcms libcaca libnotify libtirpc lm_sensors logrotate
 lua lzw-tiff mad maildrop mailwrapper matroska mbox milter mmap mmx mmxext mng m
ozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg multilib mu
sepack mysql ncurses nethack netpbm nls nptl nptlonly nsplugin offensive ogg open
gl openmp pam pam_chroot pam_console pam_timestamp pango pcre pda pdf perlsuid pi
c plotutils png policykit postgres ppds qt5 readline real rtc samba sdl seccomp s
ensord silc slp smime sndfile snmp speex spell sqlite sse sse2 sse3 sse4_1 ssl ss
se3 startup-notification svg syslog tcltk tcpd tga theora tiff truetype truetype-
fonts trusted type1-fonts udev udisks unicode upower usb userlocales vhosts video
s vorbis vorbis-psy w win32codecs wmf wxwidgets x264 xanim xattr xcb xml xpm xran
dr xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="hda_intel" APACHE2_MODULES="actions
 alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_
file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user au
toindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_
filter file_cache filter headers ident imagemap include info log_config logio mem
_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect p
roxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_al
ias slotmem_shm authn_core authz_core socache_shmcb access_compat dir_module" CAL
LIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memo
ry rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELI
BC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
 gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm1
04v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_
DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk
 hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-con
sole presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide
 identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon
 xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="
postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7
 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="no
uveau" XTABLES_ADDONS="geoip"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_A
LL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_
FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Cook 2019-07-02 04:15:18 UTC
Can confirm. Although I haven't tested it without the patch applied, but I get "libvirtd[4744]: internal error: CPU feature md-clear already defined"
Comment 2 Matthias Maier gentoo-dev 2019-07-02 06:42:46 UTC
Shoot, I forgot to push the fix from yesterday evening... 5.4.0-r1 should be fine.