qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] util/cacheinfo: add missing include


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] util/cacheinfo: add missing include
Date: Mon, 10 Jul 2017 16:38:21 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/10/2017 03:55 PM, Philippe Mathieu-Daudé wrote:
This include was forgotten when splitting cacheinfo.c out of
tcg/ppc/tcg-target.inc.c (see commit b255b2c8).

While compiling on powerpc:

       CC      util/cacheinfo.o
     qemu/util/cacheinfo.c: In function 'arch_cache_info':
     qemu/util/cacheinfo.c:137:33: error: 'AT_ICACHEBSIZE' undeclared (first 
use in this function)
              *isize = qemu_getauxval(AT_ICACHEBSIZE);
                                      ^
     qemu/util/cacheinfo.c:137:33: note: each undeclared identifier is reported 
only once for each function it appears in
     qemu/util/cacheinfo.c:140:33: error: 'AT_DCACHEBSIZE' undeclared (first 
use in this function)
              *dsize = qemu_getauxval(AT_DCACHEBSIZE);
                                      ^
     qemu/rules.mak:66: recipe for target 'util/cacheinfo.o' failed
     make: *** [util/cacheinfo.o] Error 1

For the record, what is the os version?
Because this doesn't happen here for Centos7.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]