From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 4FF8E3858D1E for ; Wed, 16 Mar 2022 16:08:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4FF8E3858D1E Received: by mail-wm1-x334.google.com with SMTP id p184-20020a1c29c1000000b0037f76d8b484so1674210wmp.5 for ; Wed, 16 Mar 2022 09:08:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Tn/X+RR5v0aENxkG/TnyEYKEO+3qpsEFFLfbOybgOtU=; b=yuvTV2Pb+7f+uR3UXCdKIb+QgYMH9GQSyLm/8/aw8T/P6wcopLM6ykY/KTUCp+6D2A K9fIpBPLj0rsQpKGgjmoi8VQRju2B6RT16aQVi86xjAAtpIbuQmR9przbpluNGbti3i7 MWrQ/JtiLr4L3FZVlV5mZBhTVpOOdN1HiJEoqRkyzJ487JFJl57QmYVBXaNy0h8vRlIt ufsLjw4+wIs6Qecb8ZxmmO9uer3ZLg5RkvebduAHcFqGbPP06a1fSO/Kv12pi+pdLmBG ojNx+0SeoYuQxDVp0HrjrQIuNuRU2W0D/lb4+Vs+P1UqGY6Sa1w0odC65HEKLUJk2sqv WSSA== X-Gm-Message-State: AOAM530gitmS7y2n4tK5mBrBRn1agWTbuo4a8uUV7t0EQC+aq6LZ2IpD XWqgTGa2vXJtReflYBOYaeA= X-Google-Smtp-Source: ABdhPJxJpm6/UEoMdQDFixmzsULm0HVJv0xmf9E+ONbr4PBePYp25xnQkfoPEmkIKAHB2JudeU7ipA== X-Received: by 2002:a7b:c456:0:b0:38b:8f45:8c51 with SMTP id l22-20020a7bc456000000b0038b8f458c51mr7136187wmi.100.1647446915310; Wed, 16 Mar 2022 09:08:35 -0700 (PDT) Received: from [192.168.1.214] (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id i10-20020a0560001aca00b00203daf3759asm2147276wry.68.2022.03.16.09.08.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Mar 2022 09:08:34 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH] doc: Document Solaris D bootstrap requirements [PR 103528] From: Iain Sandoe In-Reply-To: Date: Wed, 16 Mar 2022 16:08:34 +0000 Cc: GCC Patches Content-Transfer-Encoding: quoted-printable Message-Id: <17DB28F6-968A-4717-94EA-D88E7D8D9E90@googlemail.com> References: To: Rainer Orth X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2022 16:08:38 -0000 Hi Rainer, > On 16 Mar 2022, at 15:55, Rainer Orth = wrote: >=20 >>> I've omitted the Darwin-specific stuff so far documented in PRs = d/103577 >>> and d/103578: >>>=20 >>> * needs --enable-libphobos >>> * top of gcc-11 branch only >>> * backport of -static-libphobos patch >>> * Darwin/i386 doesn't work at all >>=20 >> =E2=80=94 hopefully we will not need to add that =E2=80=94 >>=20 >> The actual problem is known (FWIW there is also some wrong code = generated for >> x86_64, we just happen to link it to something harmless instead of = failing >> to link). >=20 > I see. One issue I see during x86_64-darwin testing (10.7 only?) is > that the forkgc2 test hangs and has to be killed manually. yes, there are known issues with GC and threading - but those do not = break bootstrap since the compiler is single-threaded. >> - I remain hopeful that a solution for 11.x can be found before = gcc-12 branches, >> since without m32 support it is hard for me to fit D into regular = Darwin >> testing (at >> present D is effectively untested on Darwin since the change to = require a D >> bootstrap) >> .. at one stage, D did work on m32 Darwin. >=20 > I suspected that the 32-bit issue might be due to several stdint types > being wrong, which was just fixed on master. At least the issue = seemed > similar to PR d/104738. I'm building a 64-bit trunk gdc as we speak = in > order to try that as a bootstrap compiler for a 32-bit build. The issue on 11.x is related to code that tries to synthesize = section-start symbols, it causes a link fail on m32 - which is a bootstrap breaker. .. if that has been fixed for m32 codegenon master then, yes - = presumably we could build an x86_64 compiler and use that =E2=80=9C-m32=E2=80=9D to = make an i686 bootstrap. Iain.