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: Thu, 04 Feb 2021 15:52:54 +0000 Message-ID: <87eehv7ru1.fsf@russet.org.uk> References: <87lfca7lsb.fsf@russet.org.uk> <463a837ca8ddbf7533c403350d75125d@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> <83o8gzrgsi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22939"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: akrl@sdf.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 04 17:13:08 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 1l7hFi-0005qP-Tv for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 17:13:06 +0100 Original-Received: from localhost ([::1]:56108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7hFh-0003v1-TK for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Feb 2021 11:13:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7gwH-00087w-IG for emacs-devel@gnu.org; Thu, 04 Feb 2021 10:53:01 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:37290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7gwF-0008Da-AW; Thu, 04 Feb 2021 10:53:01 -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=NRUprVe/x4zGNaUbOF8dC4EWpzWMycsVY15n0MnqzNQ=; b=HpiODm4LDN6q+MCY36vwmxdiR 4rn3+d6H1f/fwYrlWwcqk9gTJb/TlaU/rz8Uouy6xats59f2srmOH9UApbIZivPbBPG1JRMcU87Kv wDjGUW16fTbrZ99tsFOda163YKVm1TTJzkTZCWpbfmuYmpwfPUuvZgerK3YbXOIoWdVeJQRhRnx3M x17Efy0uJicSCfP0p2+tzbGxXO6O/VuRWWcU3VgGS8XY3+WdfB1sP+FOCITdNXUDP+STonwruMZ7E SOfSyak2B0wrli5uyE3QlQEBcCmfkdOCu2N/98oQleJ/cwmwmhedzaDs6GkP8FLdjkPr5i/6PZjaJ vlQMDjr9w==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:59950 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 1l7gwB-00022Y-CK; Thu, 04 Feb 2021 15:52:55 +0000 In-Reply-To: <83o8gzrgsi.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 04 Feb 2021 17:31:09 +0200") 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:263878 Archived-At: Eli Zaretskii writes: >> From: Phillip Lord >> Cc: Andrea Corallo , Eli Zaretskii >> Date: Thu, 04 Feb 2021 14:39:50 +0000 >> >> At the moment, the compilation process only runs successfully when run >> from an mingw64 shell > > What does that mean, exactly? Isn't libgccjit being invoked by Emacs > itself? then how does the shell, any shell, enter the picture? If you invoke runemacs.exe it picks up its environment from the mingw64 shell. That means anything installed on the local machine to the /mingw64, any dlls, anything will be available to Emacs, even if they are not present in the bundle. If you invoke runemacs.exe by clicking on it in explorer, then it only looks for DLLs in the same directory (and what ever windows normally does I guess). So, I have the right dependencies installed on my build machine, but haven't packaged them up correctly. >> The error I am getting is this: >> >> Compiling >> c:/msys64/home/Administrator/emacs-upload/emacs-28.0.50-snapshot-feature_native-comp-windows-2021-02-04/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el... >> compiling to >> c:/Users/Administrator/AppData/Roaming/.emacs.d/eln-cache/28.0.50-14889799/cl-lib-8b938900-d1df28b7.eln >> x86_64-w64-mingw32-gcc-10.2.0: fatal error: cannot execute 'as': >> CreateProcess: No such file or directory >> compilation terminated. > > Why do you see the "x86_64-w64-mingw32-gcc-10.2.0" thing? are you > cross-building Emacs or something? Hmmm. I don't know why I see that. No, I am not cross building. >> I've tried putting as.exe manually into the package but that isn't >> enough. as.exe doesn't seem to have any dll dependencies itself. > > Is as.exe on PATH? If not, where is it? Not in my package at the moment. I have tried adding it next to the runemacs.exe, and expected that to work, but it didn't. When I become world dictator, I shall people from naming their software after common words! Phil