Re: [PATCH] lscpu: fix cpuid code on x86/PIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 10, 2009 at 04:37:18PM -0400, Mike Frysinger wrote:
> If we build lscpu as PIE, we currently get a build failure:
> lscpu.c: In function 'main':
> lscpu.c:333: error: can't find a register in class 'BREG' while reloading 'asm'
> lscpu.c:333: error: 'asm' operand has impossible constraints
> make[2]: *** [lscpu.o] Error 1
> 
> So we need a little bit of register shuffling to keep gcc happy.
> 
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> ---
>  sys-utils/lscpu.c |   16 +++++++++++++---
>  1 files changed, 13 insertions(+), 3 deletions(-)

 Applied, thanks.

    Karel
-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux