From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: [feature/native-comp] breakage on build Date: Fri, 05 Feb 2021 20:44:19 +0000 Message-ID: <878s82453w.fsf@russet.org.uk> References: <87lfca7lsb.fsf@russet.org.uk> <39105f71034e0902a749994dda9c4704@russet.org.uk> <83mtwq8kf3.fsf@gnu.org> <83k0ru8jnx.fsf@gnu.org> <83im7e8icf.fsf@gnu.org> <838s8a8adr.fsf@gnu.org> <83sg6h6s6d.fsf@gnu.org> <8335yf7qtf.fsf@gnu.org> <831rdy5i2r.fsf@gnu.org> <87y2g5p0q8.fsf@russet.org.uk> <87im7799s9.fsf@russet.org.uk> <87wnvn5yoz.fsf@russet.org.uk> <87eehuomn2.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22134"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , "akrl--- via Emacs development discussions." To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 05 21:45:05 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l87yT-0005gB-Tc for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 21:45:05 +0100 Original-Received: from localhost ([::1]:53890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l87yS-0004qc-Uq for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 15:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l87xr-0004Pp-II for emacs-devel@gnu.org; Fri, 05 Feb 2021 15:44:27 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:46046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l87xq-0000dS-0Q; Fri, 05 Feb 2021 15:44:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vBHllS6y3jbyVWL4y9MmuKF5Ud0o/ButYnpHl7uh8sA=; b=JJoUWfEkwnDy7iFN+1WlOgGxe u4fEfwDLO8LajkNxw02O5pSsxkFsi9DfWIxjjHR0thLqnqDx3X80hxqzutOwuL85OlaTG7npgsjSA tFFsQ4RpNOlwTuGH7GIRL4VWbBji5yirRuG9Q0nxSYHDsg2ED6tZ3Lc3bCuE01RQmZ612fOYvQL92 x1Aeka5eiH09IWfl34BA/6dEmpWkTigF9M+27g5lIC2Qr0bgHB47L/t1SaPF4JJC9QzqmeqjS58+9 33eSPH+Ev6HLbfXeJU9tM20+HE1tVzTRuq6GglZ7irxzOBbeZK9LpDt+cTk0af2DmwfObdF0Dk2Ww baryp9GFA==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:47788 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l87xk-0006AH-17; Fri, 05 Feb 2021 20:44:20 +0000 In-Reply-To: (Andrea Corallo's message of "Fri, 05 Feb 2021 11:35:51 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264010 Archived-At: Andrea Corallo writes: > Phillip Lord writes: > >>> >>> Hi Phillip, >>> >>> you should see the full error in the *Async-native-compile-log* >>> buffer. >> >> >> Oh, yes, looking in the wrong buffer, silly me. >> >> It's ld/as not finding things that is causing the problem. >> >> Phil > > Probably saying something stupid here as I've no idea how this packaging > process works in Windows or exactly what it means but anyway... It means that I compile under mingw64, then I have a hacky shell script that works out what Emacs' dependencies are which zips them all up. In essence, what I am really doing is creating a minimal mingw64 installation with just enough stuff to run Emacs correctly. There would be a certain amount of sense in not doing it, and just assume people will use chocolaty or msys2 directly. But that's not very windowish. > In GNU/linux I do something similar in my Docker recipe where I need to > move all the libgccjit stuff from the build container to the one I ship. > > How I do it is just to configure and compile libgccjit using --prefix > and then in the target directory I know I've everything I need for that > [1]. > > Just an idea, hope it helps. I think that this is not enough. You'll have libgccgit inside your --prefix, but are you not reliant on the rest of your container for any dependencies of libgccjit? Phil