From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqc4-0007zW-Dw for qemu-devel@nongnu.org; Wed, 05 Oct 2016 14:08:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brqc1-0005I2-KG for qemu-devel@nongnu.org; Wed, 05 Oct 2016 14:08:16 -0400 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:36667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqc1-0005Hr-Fh for qemu-devel@nongnu.org; Wed, 05 Oct 2016 14:08:13 -0400 Received: by mail-oi0-x241.google.com with SMTP id h186so12050233oia.3 for ; Wed, 05 Oct 2016 11:08:13 -0700 (PDT) Sender: Richard Henderson References: <1474048017-26696-1-git-send-email-rth@twiddle.net> <1474048017-26696-14-git-send-email-rth@twiddle.net> <8760p9te18.fsf@linaro.org> <20161005000229.GA1744@flamenco> <87k2dnrqnr.fsf@linaro.org> From: Richard Henderson Message-ID: Date: Wed, 5 Oct 2016 11:08:10 -0700 MIME-Version: 1.0 In-Reply-To: <87k2dnrqnr.fsf@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4 13/35] tcg: Add atomic helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , "Emilio G. Cota" Cc: qemu-devel@nongnu.org On 10/05/2016 04:17 AM, Alex Bennée wrote: > /tmp/qemu-test/src/tcg/tcg-op.c:2296:255: error: ‘gen_helper_atomic_xor_fetchl_be’ undeclared here (not in a function) > > Which makes me wonder in we should be including: > > #include "exec/helper-proto.h" > > And if this is generating all the prototypes it should. No, there was a patch posted for this as well. Hopefully that hasn't been lost as well, since the fix was more involved. Something about the macro expansion on the non-__atomic path taken by gcc 4.2. I had to test on centos 6 to see it myself. r~