Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684524 - sys-power/pmtools-20110323-r1 - turbostat.c: In function ‘check_cpuid’: turbostat.c:857:2: error: unknown register name ‘ebx’ in ‘asm’
Summary: sys-power/pmtools-20110323-r1 - turbostat.c: In function ‘check_cpuid’: turbo...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 19:16 UTC by ernsteiswuerfel
Modified: 2019-04-28 11:50 UTC (History)
1 user (show)

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


Attachments
build.log (pmtools-20110323-r1:20190427-183826.log,11.38 KB, text/plain)
2019-04-27 19:16 UTC, ernsteiswuerfel
Details
emerge --info (file_684524.txt,5.95 KB, text/plain)
2019-04-27 19:17 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 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 2019-04-27 19:17:25 UTC
Created attachment 574452 [details]
emerge --info