Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 684524

Summary: sys-power/pmtools-20110323-r1 - turbostat.c: In function ‘check_cpuid’: turbostat.c:857:2: error: unknown register name ‘ebx’ in ‘asm’
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2019-04-27 19:16:35 UTC
Created attachment 574450 [details]
build.log

[...]
turbostat.c: In function ‘get_physical_package_id’:
turbostat.c:659:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
  fscanf(filep, "%d", &pkg);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
turbostat.c: In function ‘get_core_id’:
turbostat.c:676:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
  fscanf(filep, "%d", &core);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
turbostat.c: In function ‘check_cpuid’:
turbostat.c:857:2: error: unknown register name ‘ebx’ in ‘asm’
  asm("cpuid" : "=a" (fms), "=c" (ecx), "=d" (edx) : "a" (1) : "ebx");
  ^~~
make[1]: *** [<builtin>: turbostat] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-power/pmtools-20110323-r1/work/pmtools/turbostat'
make: *** [Makefile:4: all] Error 2
 * ERROR: sys-power/pmtools-20110323-r1::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2019-04-27 19:17:25 UTC
Created attachment 574452 [details]
emerge --info