From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9B0AC433C1 for ; Sun, 21 Mar 2021 18:24:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 593C161947 for ; Sun, 21 Mar 2021 18:24:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 593C161947 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO2kg-0000R9-BN for qemu-devel@archiver.kernel.org; Sun, 21 Mar 2021 14:24:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO2jH-0008Fh-FI for qemu-devel@nongnu.org; Sun, 21 Mar 2021 14:23:11 -0400 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:34553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lO2jD-0000F8-Gc for qemu-devel@nongnu.org; Sun, 21 Mar 2021 14:23:11 -0400 Received: by mail-ot1-x32f.google.com with SMTP id k14-20020a9d7dce0000b02901b866632f29so13764562otn.1 for ; Sun, 21 Mar 2021 11:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Pj1PAyxsiuUEPDDgb2yHswzTVjSTyuDVe+SG0k7qMU4=; b=bsOTQU2+MfPaiGGGjEvk1gQvM2hai+UDXAxSqYtBrQ+un+ZfPCdOyJ9lSyrq6l1ev4 2XWm2FklY0hA1PL0WeKe0R3eVSPLB8jtu1D0H6s3DHPKhTH6UkqFHwa8MkWnP8AYZsQc 2lhem8bcrqu3JD4klKaSBSYOAxK3lxo9MrXOLIN0IBL32kPC4NS5sh1n0/Pel1ATCWaI Q246ivLbCrT8XJwOBDKEijvbijCjlbx4OtNcOapBZNn1UTsRW9S4X+u10WqzOhq7hjXF XSEXP56RpzzDvrukOf/M6Ym/Ln64G/+Rvs6koG0/MYsEf2SmAShiZwh/cFVhVUsf8bGX DPJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Pj1PAyxsiuUEPDDgb2yHswzTVjSTyuDVe+SG0k7qMU4=; b=dSTsxhJ5xgs0AKq8MKiOQfMBvKF7qIoqMx5qjqCOUWwAITjqy/j22KaVkQtsEImBlm WornXjdwmZWqYAzCtYDzyKVsxYe8A8x+7QxyKjwPCve8clc1OHi29+k39aodML2xetBl vuReEnVL/0+9v+V4MwvDNarf/Pts4JunwmtO9dF3raswCv0cFmUV5eH7mzdz6v+9mwy/ blpn3M7ZxDKGBo0wejmw0C07FkNzmnVFpJidxjOmPw77uhf5Zfk04Zg/iRI50L4bh6Ow xlDWYRPH/dsY2/dQwZSQ8yB8JUqFQrx2z4lwNBwu1tIfTBGd62nB1bxLQf2ZQHeusm+R Lo2A== X-Gm-Message-State: AOAM5332gMSaD6rBBJJv+CX+hN7YzBfKG81BdrdpJFlOA58GzTHhWEPC JtVnAJznLRoQdadVKq65XMiDlg== X-Google-Smtp-Source: ABdhPJzbTELCQ7oaCe7WXX3Vwh3GlmN03pyiin3zbmCcDpV+KwVWhhA5deebIwjRbzJVi8uyTvCYXg== X-Received: by 2002:a9d:129:: with SMTP id 38mr8803443otu.50.1616350985590; Sun, 21 Mar 2021 11:23:05 -0700 (PDT) Received: from [10.10.121.52] (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id v22sm2568508oop.4.2021.03.21.11.23.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Mar 2021 11:23:05 -0700 (PDT) Subject: Re: [PATCH] configure: Improve alias attribute check To: Paolo Bonzini References: <20210320042753.69297-1-gshan@redhat.com> <5a6e5d96-7b23-7a56-3096-fb80155cac26@redhat.com> <107a73a0-aafe-bfce-7c28-8ed5fe6c022f@linaro.org> <4c8d854e-a8a1-2a44-5a02-96a5ce5598bc@linaro.org> From: Richard Henderson Message-ID: <0cad2de8-1150-be7c-237b-9f3ddea52473@linaro.org> Date: Sun, 21 Mar 2021 12:23:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::32f; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aldy Hernandez , Thomas Huth , Gavin Shan , qemu-devel , Laurent Vivier , qemu-arm , Shan Gavin , Philippe Mathieu Daude Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 3/21/21 11:46 AM, Paolo Bonzini wrote: > HRM, what about biting the bullet and making exec-vary.c a C++ source?... Then > instead of making it conditional an attribute((alias)), we make it conditional > on having a C++ compiler. Doesn't help. The gcc bug I filed talks about c++, because that's the closest analogy. But set_preferred_target_page_bits is called *much* later than a constructor. Though still before any use of the variable in question, for which we have an --enable-debug-tcg assertion. r~