From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45303: #45303 [feature/native-comp] building error on Windows Date: Sun, 20 Dec 2020 18:58:09 +0000 Message-ID: References: <83k0te6c7i.fsf@gnu.org> <86im8w4t7y.fsf@gmail.com> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45303@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 20 19:59:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kr3vM-0007AP-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 19:59:20 +0100 Original-Received: from localhost ([::1]:48348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr3vL-0006yu-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 13:59:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr3v4-0006xx-9E for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2020 13:59:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kr3v4-0005bA-2S for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2020 13:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kr3v3-0001se-UE for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2020 13:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Dec 2020 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs Original-Received: via spool by 45303-submit@debbugs.gnu.org id=B45303.16084906937172 (code B ref 45303); Sun, 20 Dec 2020 18:59:01 +0000 Original-Received: (at 45303) by debbugs.gnu.org; 20 Dec 2020 18:58:13 +0000 Original-Received: from localhost ([127.0.0.1]:45632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr3uG-0001rc-MH for submit@debbugs.gnu.org; Sun, 20 Dec 2020 13:58:12 -0500 Original-Received: from mab.sdf.org ([205.166.94.33]:52624 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr3uF-0001rS-9J for 45303@debbugs.gnu.org; Sun, 20 Dec 2020 13:58:11 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kr3uD-00034a-5I; Sun, 20 Dec 2020 18:58:09 +0000 In-Reply-To: <86im8w4t7y.fsf@gmail.com> (Andy Moreton's message of "Sun, 20 Dec 2020 11:22:57 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196492 Archived-At: Andy Moreton writes: > On Sat 19 Dec 2020, Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > >> Pal Gloss writes: >> >>> Hi, >>> >>> thank you for the quick fixes >>> >>> I do not understand 3b53a591faed03679382a601b93da7fe6ce3b4af: the way >> >> No you are right, this morning I was a little in a rush and I might have >> failed grepping, hopefully ab985f41db is better. >> >> [...] >> >>> I just checked and these %emacs_dir% are also present in a "normal" emacs >>> 27.1 (installed via msys2/mingw pacman, not self-built). >>> >>>> Right so (unless I'm forgetting something) just the zlib linker error >>>> should be remaining, correct? >>> >>> It was not only zlib that was missing, but also gccjit (my hack sets both: LIBGCCJIT = -lz -lgccjit) >> >> With 407fb16583 I think '-lgccjit' should be unnecessary on Windows now, >> is it? > > There is one piece missing from that commit: another define around > L379 to replace gcc_jit_type_get_const with fn_gcc_jit_type_get_const. > > AndyM Thanks, hope 18ca9ea08a fix it. Is no easy to write code without being able to test it (read patches are very welcome). Thx! Andrea