x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpupower-info.o -c utils/cpupower-info.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpuidle-info.o -c utils/cpuidle-info.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I./lib -I ./utils -o utils/cpuidle-set.o -c utils/cpuidle-set.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DVERSION=\"5.4\" -DPACKAGE=\"cpupower\" -DPACKAGE_BUGREPORT=\"linux-pm@vger.kernel.org\" -D_GNU_SOURCE -pipe -DNLS -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -Wl,-O1 -Wl,--as-needed ./utils/helpers/amd.o ./utils/helpers/msr.o ./utils/helpers/sysfs.o ./utils/helpers/misc.o ./utils/helpers/cpuid.o ./utils/helpers/pci.o ./utils/helpers/bitmask.o ./utils/idle_monitor/nhm_idle.o ./utils/idle_monitor/snb_idle.o ./utils/idle_monitor/hsw_ext_idle.o ./utils/idle_monitor/amd_fam14h_idle.o ./utils/idle_monitor/cpuidle_sysfs.o ./utils/idle_monitor/mperf_monitor.o ./utils/idle_monitor/cpupower-monitor.o ./utils/cpupower.o ./utils/cpufreq-info.o ./utils/cpufreq-set.o ./utils/cpupower-set.o ./utils/cpupower-info.o ./utils/cpuidle-info.o ./utils/cpuidle-set.o -lcpupower -lrt -lpci -L./ -o cpupower /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/snb_idle.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./utils/idle_monitor/hsw_ext_idle.o:(.bss+0x0): multiple definition of `cpu_count'; ./utils/idle_monitor/nhm_idle.o:(.bss+0x0): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-libressl-20200125-183534 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.40.0 * java-config: The following VMs are available for generation-2: *) AdoptOpenJDK 8.242_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm ghc: The Glorious Glasgow Haskell Compilation System, version 7.10.3 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Thu, 30 Jan 2020 09:51:31 +0000 emerge -qpvO sys-power/cpupower [ebuild N ] sys-power/cpupower-5.4 USE="nls"
Created attachment 609082 [details] emerge-info.txt
Created attachment 609084 [details] emerge-history.txt
Created attachment 609086 [details] environment
Created attachment 609088 [details] etc.portage.tbz2
Created attachment 609090 [details] sys-power:cpupower-5.4:20200130-104819.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a72d2fc6f757b617683dd0a993b542549b8e839 commit 8a72d2fc6f757b617683dd0a993b542549b8e839 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-02-01 18:00:02 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-02-01 18:00:02 +0000 sys-power/cpupower: fix build with gcc 10 Closes: https://bugs.gentoo.org/707462 Package-Manager: Portage-2.3.86_p1, Repoman-2.3.20_p43 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-power/cpupower/cpupower-5.4.ebuild | 3 +- sys-power/cpupower/files/cpupower-5.4-gcc-10.patch | 57 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-)