From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id DD6AE3858D35 for ; Mon, 27 Feb 2023 13:35:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DD6AE3858D35 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-x535.google.com with SMTP id f13so25858739edz.6 for ; Mon, 27 Feb 2023 05:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=SE5zlP7VFkc0RyszVmGdJWJI2NdP1hVOj5zfxhthuMA=; b=YcQvB6rfEgRJ6YX434ZB5W3pWwWtYejXLRy9wzu2pBWl61iXH+/qmbhnREKxQ1rUaw T5QqavURlAF8rNGP/lIosPGuE6H/VFEa8JMckGmtIQcDaXthY4nwY9aEZGZQMa8kCf0l kJbOTQhIKtVzEgUDpXl2FyH2MyDRePjA2K0rRls1y4H1oEne57Ozr6LXUJLz1aZ+d52n 4OVb3M6G95GBt3KXUOltSK9sGuEWOkQUlcmc3A9/Hcjge1xNyVo40vLXVTBNEm6TJHGi 83X6yQT0XQNwJfBCl78qQ6bBv0PPxI3AW19pgQUfipw45YbE4wvUmaGV889Q+ZzMu49X GvqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SE5zlP7VFkc0RyszVmGdJWJI2NdP1hVOj5zfxhthuMA=; b=kkr6B5abIkeLjc8WL7kgOZvHOnvLlftPPY2jDdxdzmfRFManOMTXhSVLbH7qUfviIj svGMC+MYaq/qIwXDPASUPd+Zjwy22yAlw9x8vupMkjzgvKICTtiA+a0951NQDnXgDY2G iJTzkCz5qUFohxK2SRZHPwaU/xOJVKNSrQS+SAnt46rMH83Y40+5wIofhhvuww5VjGTe 9ys1o7s3nMk6vY+DlcBW2qX+6fJaSTqV8F5dH7dHjrkIvq4Ds6dvIMqEq26wxODmUbsu OnitUWLBGLSpVelYQ68xwInFF/LhvW59NTP8J2G7Xa1zHnWtqwFQ8fOdW4JhaxcOm+x9 a0Iw== X-Gm-Message-State: AO0yUKUXLhBYA20bbFpBBKHPqEWfe3nmIHhzynqw7sB+WptmzzWB5GfX i8JRGXCDp+SghTlBrIElXrI= X-Google-Smtp-Source: AK7set+5mrbYpzmfTO74ILWYfgN4UFXbrdejyKav64Km7DrGEqLnrfVPXj/oXsQger+0M6mdKhJoBA== X-Received: by 2002:a17:906:c55:b0:8b1:7dea:cc40 with SMTP id t21-20020a1709060c5500b008b17deacc40mr36363338ejf.9.1677504918227; Mon, 27 Feb 2023 05:35:18 -0800 (PST) Received: from smtpclient.apple ([213.55.220.19]) by smtp.gmail.com with ESMTPSA id gx18-20020a170906f1d200b008d2d2d617ccsm3317428ejb.17.2023.02.27.05.35.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Feb 2023 05:35:17 -0800 (PST) From: Shengyu Huang Message-Id: <86EF7DED-439B-4B43-9E0D-425CC4010495@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_617449CE-F9D8-49C5-BD33-4AC1CEC20189" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [GSoC][Static Analyzer] Some questions and request for a small patch to work on Date: Mon, 27 Feb 2023 14:35:04 +0100 In-Reply-To: Cc: David Malcolm , GCC Development To: Iain Sandoe References: <960EE623-1B17-4321-B77E-FBCD9496BE1F@gmail.com> <40fbb064f56845908f797400e5d9443b6cf97fe4.camel@redhat.com> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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: --Apple-Mail=_617449CE-F9D8-49C5-BD33-4AC1CEC20189 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Iain, Sorry for the late reply. I just built gcc-12-2 on my machine with bootstra= p and it worked. However, maybe due to some missing configuration, building without bootstra= p does not work on my machine (development branch or gcc-12-2). Specificall= y, my configuration is as follows. ``` $HOME/dropbox/projects/gcc-darwin-arm64/configure --disable-bootstrap --wit= h-sysroot=3D/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk --prefix= =3D$PWD ``` And I encountered the following error ``` Adding multilib support to Makefile in /Users/kumom/dropbox/projects/gcc-da= rwin-arm64/libgcc multidirs=3D with_multisubdir=3D make: *** [all] Error 2 ``` Should I file an issue for that? It is practically impossible to develop on= my machine if building without bootstrapping is not possible.=20 By the way, is it expected that I need to configure with `--with-sysroot=3D= /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk`? Without specifying = this, I will encounter (for both =E2=80=94disable-bootstrap and =E2=80=94en= able-bootstrap) ``` The directory that should contain system headers does not exist: /usr/include make[3]: *** [stmp-fixinc] Error 1 rm gcov.pod fsf-funding.pod lto-dump.pod gpl.pod cpp.pod gfdl.pod gcc.pod g= cov-dump.pod gcov-tool.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 ``` Best, Shengyu > On 22 Feb 2023, at 15:53, Iain Sandoe wrote: >=20 > Possibly my bad - there are some additional fixes needed for newer Darwin= on the 12 branch (I need to re-release 12.1 Darwin): >=20 > https://github.com/iains/gcc-12-branch/tree/gcc-12-1-darwin-pre-r1=20 > If that doesn=E2=80=99t work please file an issue. --Apple-Mail=_617449CE-F9D8-49C5-BD33-4AC1CEC20189--