Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407627 - sys-power/pmtools-20110323 turbostat.c:857:2: error: PIC register clobbered by ‘ebx’ in ‘asm’
Summary: sys-power/pmtools-20110323 turbostat.c:857:2: error: PIC register clobbered b...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL: https://github.com/torvalds/linux/tre...
Whiteboard:
Keywords:
Depends on:
Blocks: 408089
  Show dependency tree
 
Reported: 2012-03-10 03:49 UTC by Anton Kochkov
Modified: 2014-02-17 06:13 UTC (History)
3 users (show)

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


Attachments
full build log (pmtools-build.log,6.11 KB, text/plain)
2012-03-10 03:49 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2012-03-10 03:49:28 UTC
Created attachment 304793 [details]
full build log

i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe  -Wl,-O1 -Wl,--as-needed  turbostat.c   -o turbostat
turbostat.c: In function ‘get_msr’:
turbostat.c:120:4: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘off_t’ [-Wformat]
turbostat.c:120:4: warning: format ‘%jd’ expects argument of type ‘intmax_t’, but argument 5 has type ‘ssize_t’ [-Wformat]
turbostat.c: In function ‘get_core_id’:
turbostat.c:676:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
turbostat.c: In function ‘get_physical_package_id’:
turbostat.c:659:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
turbostat.c: In function ‘check_cpuid’:
turbostat.c:857:2: error: PIC register clobbered by ‘ebx’ in ‘asm’
make[1]: *** [turbostat] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-power/pmtools-20110323/work/pmtools/turbostat'
make: *** [all] Error 2
emake failed

emerge --info output: https://bugs.gentoo.org/attachment.cgi?id=304777
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-06-17 04:52:33 UTC
Appears fixed in the new upstream.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-02-17 06:13:11 UTC
turbostat should be it's own package I think, I've removed turbostat from the install on pmtools-20110323-r1

I'm going to close this bug and alter bug 408089 to be for a new package for turbostat.