From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Branch scratch/correct-warning-pos now bootstraps with or without native compilation. Date: Fri, 31 Dec 2021 23:28:27 +0000 Message-ID: References: <84bl0x2424.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30306"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrea Corallo , Stefan Monnier , emacs-devel@gnu.org To: Brahimi Saifullah Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 01 00:29:25 2022 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 1n3RKv-0007fd-1a for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Jan 2022 00:29:25 +0100 Original-Received: from localhost ([::1]:54160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3RKs-0005xi-Sl for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 18:29:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3RK5-0005J1-0Q for emacs-devel@gnu.org; Fri, 31 Dec 2021 18:28:33 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:33703 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1n3RK2-0001KL-PM for emacs-devel@gnu.org; Fri, 31 Dec 2021 18:28:32 -0500 Original-Received: (qmail 55267 invoked by uid 3782); 31 Dec 2021 23:28:28 -0000 Original-Received: from acm.muc.de (p4fe1597e.dip0.t-ipconnect.de [79.225.89.126]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 01 Jan 2022 00:28:28 +0100 Original-Received: (qmail 26340 invoked by uid 1000); 31 Dec 2021 23:28:27 -0000 Content-Disposition: inline In-Reply-To: <84bl0x2424.fsf@gmail.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:283772 Archived-At: Hello Brahimi. On Thu, Dec 30, 2021 at 18:09:07 -0300, Brahimi Saifullah wrote: > I can't seem to build this on Windows. > CCLD temacs.exe > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_SYMBOL_WITH_POS_SYM': > C:\emacs\2912\src/comp.c:1487: undefined reference to `gcc_jit_context_new_location' > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_EQ': > C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' > collect2.exe: error: ld returned 1 exit status > make[1]: *** [Makefile:691: temacs.exe] Error 1 > make[1]: Leaving directory '/c/emacs/2912/src' > make: *** [Makefile:452: src] Error 2 Yes, these calls to gcc_jit_context_new_location were just there to produce diagnostic information. I'd forgotten I'd put them in, and I wasn't aware they hadn't been made available in Windows. (I don't have a Windows box I can test on.) Anyway, I've taken them out. So, if you haven't implemented Eli's solution, please feel free to download this year's version, and try again. Thank you indeed for trying this out and spotting a mistake. :-) Happy New Year! -- Alan Mackenzie (Nuremberg, Germany).