From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id AB7F3384DD22 for ; Wed, 22 Feb 2023 14:03:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AB7F3384DD22 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52c.google.com with SMTP id cq23so30536984edb.1 for ; Wed, 22 Feb 2023 06:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=38ES9TYfecH4Gm75kKyb5b9EWQLTVcQSUNFAKCP2PyY=; b=pK9MbltItj1akZwhkkB5vQt7XwYunuhZpundROAk9lx9AVp3xwhb5O10eX+R7MX80n brN+IDR/beWpP4ecsHEY6GIyCD4lg9BQkyUhohtzc+rYGqVxMm51diCHtN4fkTX00r0u 1Fd4146hdhcuBKcAKXamyh5gKpLHos6tBrUSS6zcwMkbEQrB3HjE19p0NiZUF14T5zV0 0XY31dyuRz00FoEv2o2MXVkoBiZHVRwUYW7M2uFoE9iosxjMDiZONAOLnJsPmUPb9r9j Blf4oAh+OplVg7VkgJ+jWLifqflgyzL1WCSpAtNH7G2FIMEjRwRJIZsTUJCHEAsl80+Z 61OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=38ES9TYfecH4Gm75kKyb5b9EWQLTVcQSUNFAKCP2PyY=; b=lFC/qqmT6F+U6OJoMtcyKzLCy30XfzhndN+vXITkBDOz8MYE7rqLKfEyTOBxoUeSq4 6kWDkgzIqS7qRfxjLLi4SrHdkDs7dOSh5JZZPVf12HSNoUaPdKpuSWDTTBPsEI74gXUk wIJ+WKV6T4+t+cgnV+dC1chxyq0/bA2XVHTEpCwcn7u0CYRVrx6w+aCetRKi5nw4iDGf XIUbNdpqh4dnDFviBfWEvQi5InlFTZtWQsihxFn8fKOXTLwThNiA7qd9DuMnXoNFcN1t vRAY+1Dd00np/9D9bryXnERQWmEXIkN0OvgZm/6IcC4twhy3newWTELhE6ST8MfenxmS +jJQ== X-Gm-Message-State: AO0yUKU8fU9mxikLsiAGMuQbSCa9KWNHIClH0l6jbNcgCnOasxzhRfPC nve0CYzcVF2yf7t9Hd2lm8pmobswKbv4N2F5L0M= X-Google-Smtp-Source: AK7set8ngIjbmVJsWtzz/iuqnVMI/FVTb5SLbrqpNk+ktFuRWd/zGLcIeklYWZ6mQU7C4hBDZWsZuzEzaL1MM3dH5ec= X-Received: by 2002:a50:f611:0:b0:4ac:b7c1:9109 with SMTP id c17-20020a50f611000000b004acb7c19109mr3795406edn.6.1677074627288; Wed, 22 Feb 2023 06:03:47 -0800 (PST) MIME-Version: 1.0 References: <960EE623-1B17-4321-B77E-FBCD9496BE1F@gmail.com> <40fbb064f56845908f797400e5d9443b6cf97fe4.camel@redhat.com> In-Reply-To: <40fbb064f56845908f797400e5d9443b6cf97fe4.camel@redhat.com> From: Jonathan Wakely Date: Wed, 22 Feb 2023 14:03:36 +0000 Message-ID: Subject: Re: [GSoC][Static Analyzer] Some questions and request for a small patch to work on To: David Malcolm Cc: Shengyu Huang , gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 21 Feb 2023 at 22:55, David Malcolm via Gcc wrote: > IIRC I saw you post a few days ago about trying to build gcc on your M2 > laptop; did you manage this? Building GCC trunk from a git checkout, > and hacking in a "hello world" warning would be a great place to start. > See the guide above for some hints on how to make this process quicker, > and let me know if you need help if you run into difficulties. Given > that the analyzer is about emitting warnings, rather than generating > code, it may be that although we don't yet fully support your hardware, > we *might* already support it enough to allow for hacking on the > analyzer, perhaps with some judicious choices of "configure" options. I think GCC trunk won't even build on M2, you need Iain Sandoe's out-of-tree patches.