Received: from eggs.gnu.org ([208.118.235.92]:42961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUDfX-0004Zg-GF for qemu-devel@nongnu.org; Mon, 22 Apr 2013 06:08:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUDfW-0006xT-3S for qemu-devel@nongnu.org; Mon, 22 Apr 2013 06:08:19 -0400 Received: from mail-da0-x22c.google.com ([2607:f8b0:400e:c00::22c]:46982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUDfV-0006xE-U0 for qemu-devel@nongnu.org; Mon, 22 Apr 2013 06:08:18 -0400 Received: by mail-da0-f44.google.com with SMTP id z20so3051746dae.3 for ; Mon, 22 Apr 2013 03:08:17 -0700 (PDT) Message-ID: <51750C0A.50509@ozlabs.ru> Date: Mon, 22 Apr 2013 20:08:10 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1366616571-4321-1-git-send-email-aik@ozlabs.ru> <51750A76.6080504@ozlabs.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] translate-all: fix compiler warning and linked error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 04/22/2013 08:03 PM, Peter Maydell wrote: > On 22 April 2013 11:01, Alexey Kardashevskiy wrote: >> On 04/22/2013 07:00 PM, Peter Maydell wrote: >>> NB that this compile failure only happens if you configure >>> with --enable-profiler. >> >> >> I also thought I can enable/disable it via ./configure but in fact I cannot: >> >> alexey@ka1:~/pcipassthru/qemu-impreza$ ./configure --help | grep prof >> alexey@ka1:~/pcipassthru/qemu-impreza$ > > --enable-profiler exists but it is undocumented (ie not mentioned > in the --help text). In fact I have no idea how you tripped over > this missing include if you don't know about --enable-profiler, > since configure's default is to not enable this code. Ah. Looked closer to my scripts and found --enable-profiler (leftover from something). I was confused by the fact that there is no "--disable-profiler", the ./configure script prints an error. -- Alexey