From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 9E6A9385841A for ; Mon, 27 Feb 2023 13:45:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E6A9385841A Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wm1-x32d.google.com with SMTP id j19-20020a05600c1c1300b003e9b564fae9so7205778wms.2 for ; Mon, 27 Feb 2023 05:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BROyCcIygc4nNCp2HZ9vgINWVJXlXBylCVk0nvBexXs=; b=XuM7cBXsjHjm3AMqiEUTC3RN5ZdLuUHR/ok8bCdrOgKC1pYV2v9QTRQVls9IuHLlso 0Jv5FQ31tikv8EkBOLlwBOwyajAV/oB31g58lq/OkL+tAZpCDNKkY/yimdFx2kCLVVdd nBa89yfq885cAG1IHL1+Z4dFrmSIZkgeFrTUAT2kWuIVVSc3WlcApGne07SfCpHc9/i8 s0Fb4Q/ZTB3FYKzlR4/bv4bxgz/Cyx1eInd+W/dCcQp5xaRqxpBi6QRLLTIPur5606bX GlVz/ed3t3L+cJyRFkqyNCIID8MucMfKdSofNmTGzLjgi/slIxUbksVNA0Ma89scjwVB OZLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BROyCcIygc4nNCp2HZ9vgINWVJXlXBylCVk0nvBexXs=; b=yqGA0K5Up5gWjeNoG/y+6W4f+ZFdwWamWTw2m1KK30/IkZ+WFFDo060gy3FMeqORB/ Asr70m+kzj9PiLvK1qF8lqo3xbJsxnvlfAn6j5MNxUUaQbG4ZqUTKPfhBA2spLqGrxFP qRv6t3FYnHbeidTHjceyJ9ZPnAGkkEAJsoJbBWD3xUXyDz3opbznJBjoh8O18GjbCkrg hLn5Fy5/Wv6GMqrlXpYc0ZrgthwndFngZB+KutYUcgwU8K8N9vEGEL6onzhdSBasqjtu 8xIN5EzZ0xndHJ7UuteWIYILHIh+p0cgOAkfnLsivFJWHwa4y5OwWjRORsO4ZW6jWGmG VLEw== X-Gm-Message-State: AO0yUKVT6NGiE9RERxQhjZVXPbTAIjroYmXGpH+kESvy/3r/x/OjfPdK 85wfo+F2wnWEeohP0wKoxmI= X-Google-Smtp-Source: AK7set8Kj/ljonJdPLqCQVuPB8UbbMgiMaJflEBMs4g51QswkcHUQcDQ5+HyOazCUH1c6RBjWAmF4g== X-Received: by 2002:a05:600c:1e20:b0:3df:9858:c037 with SMTP id ay32-20020a05600c1e2000b003df9858c037mr6737503wmb.12.1677505534552; Mon, 27 Feb 2023 05:45:34 -0800 (PST) Received: from smtpclient.apple (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id l20-20020a05600c4f1400b003e20cf0408esm9726848wmq.40.2023.02.27.05.45.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Feb 2023 05:45:34 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: [GSoC][Static Analyzer] Some questions and request for a small patch to work on From: Iain Sandoe In-Reply-To: <86EF7DED-439B-4B43-9E0D-425CC4010495@gmail.com> Date: Mon, 27 Feb 2023 13:45:33 +0000 Cc: David Malcolm , GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: <572CCB25-4FA0-49C4-92CD-0ED07F910DDD@googlemail.com> References: <960EE623-1B17-4321-B77E-FBCD9496BE1F@gmail.com> <40fbb064f56845908f797400e5d9443b6cf97fe4.camel@redhat.com> <86EF7DED-439B-4B43-9E0D-425CC4010495@gmail.com> To: Shengyu Huang X-Mailer: Apple Mail (2.3696.120.41.1.2) X-Spam-Status: No, score=-2.7 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: Hi Shengyu > On 27 Feb 2023, at 13:35, Shengyu Huang via Gcc = wrote: > Sorry for the late reply. I just built gcc-12-2 on my machine with = bootstrap and it worked. great, >=20 > However, maybe due to some missing configuration, building without = bootstrap does not work on my machine (development branch or gcc-12-2). = Specifically, my configuration is as follows. >=20 > ``` > $HOME/dropbox/projects/gcc-darwin-arm64/configure --disable-bootstrap = --with-sysroot=3D/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk = --prefix=3D$PWD > ``` Please file an issue against the branch on github (since this is a = development branch it=E2=80=99s not appropriate to use the GCC bugzilla = yet). I think that there is at least one known issue with non-bootstrap builds = (to do with flags not recognised by clang) but not sure, yet, if this is = the same case. In general, if you want to build without boostrapping [as is often the = case with development] then the best thing to do is to bootstrap a = recent compiler [or the unmodified sources] and then use that GCC as = your build compiler (this ensures you have compatible flags and = builtins). thanks Iain