X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B17063834426
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1615748772;
	bh=KEozfTLCoZUN5Y6FuJpEj8vQ3r1qWyJfJ/gBdTQoPIc=;
	h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive:
	 List-Post:List-Help:List-Subscribe:From:Reply-To:From;
	b=gg26thbCMWduAUl+73KG9bmZiKzKDr1RG9nX4fI+l341J3/5X0EJST/HNhp0vTZRk
	 Be18ZN/xJtgxxKENB5A4Vwi4XSF8U836B1xYnvmaFT2EC4HNSZlaqGS8QlPN9hDqwX
	 6Y3ndjlq3JV1shElx7ElObTLxxQk4seEq44AcW0Q=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 15F173857C52
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
Subject: Re: libgccjit
Date: Sun, 14 Mar 2021 19:06:01 +0000
Message-ID: <86h7ldpnc6.fsf@gmail.com>
References: <037d5d0a-db79-d769-cedd-2c25684add8a@cornell.edu>
 <YEnuDNuBo1mVcaZs@calimero.vinschen.de>
 <629c22b5-9c89-51dd-57a1-13af6b0a87df@gmail.com>
 <8735wyol2k.fsf@Rainer.invalid> <87y2eqmdl4.fsf@Rainer.invalid>
 <d41af840-ccdf-f287-dab5-3d833af01e11@gmail.com>
 <87pn01n1p2.fsf@Rainer.invalid>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:RC0S3F5K8/INqIFB+oW+jIXjhX4=
X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,
 FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
 HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NML_ADSP_CUSTOM_MED,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Andy Moreton via Cygwin <cygwin@cygwin.com>
Reply-To: Andy Moreton <andrewjmoreton@gmail.com>
Content-Type: text/plain; charset="gb2312"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 12EJ6Iww013667

On Sun 14 Mar 2021, Achim Gratz wrote:

> Jonathan Yong via Cygwin writes:
>> Thanks for trying.
>> Does injecting dlfcn.h work?
>
> The include is not used because it is tied to --enable-plugins.  Plugins
> do not work because the configury determines that shared objects do not
> work.  If I manually force the inclusion some other stuff goes missing
> apparently, but let me try to re-start the build from the beginning with
> the patch already appliedĄ­ well, it stops at the same problem again:
>
> make[3]: *** No rule to make target 'xgcc', needed by 'x86_64-pc-cygwin-gcc-10.exe'.  Stop.
>
> But really, the first steps would apparently be to make --enable-plugins
> do something sane on Cygwin (there seems to have been work on this for
> MingW64, but it doesn't look like there are patches anywhere I can
> find).

The build scripts for Mingw64 in the MSYS2 distro are here:

  https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-gcc

The PKGBUILD file is the build script (same tooling as Arch linux), and
the local patches there may help guide similar fixes for Cygwin.

    AndyM

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

