From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#45303: #45303 [feature/native-comp] building error on Windows Date: Tue, 22 Dec 2020 19:46:19 +0000 Message-ID: <86ft3xfwtw.fsf@gmail.com> References: <6HNZxbkVfqHfTgtuHlg6wDQ-5-IO2RJ3Gfl2yB1EDgMj9jxk1OXCDkH3C39wGF6on6DXntrjHR2xJ0IxI0WaYCeuwqOXGz_rztdgkalA3Z8=@pm.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3702"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) To: 45303@debbugs.gnu.org Cancel-Lock: sha1:K0wz5yzr4mos/sAEpc6UpFL3bkg= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 22 20:51:11 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 1krngc-0000pp-49 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 20:51:10 +0100 Original-Received: from localhost ([::1]:49774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krngb-0002Zs-6l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 14:51:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krngU-0002Za-RN for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 14:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krngU-00032D-JD for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 14:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krngU-0002Gt-Hm for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 14:51:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Dec 2020 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16086666078653 (code B ref -1); Tue, 22 Dec 2020 19:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Dec 2020 19:50:07 +0000 Original-Received: from localhost ([127.0.0.1]:50975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krnfb-0002FV-JC for submit@debbugs.gnu.org; Tue, 22 Dec 2020 14:50:07 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krnfa-0002FN-D9 for submit@debbugs.gnu.org; Tue, 22 Dec 2020 14:50:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krnfa-0002NV-52 for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 14:50:06 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:54246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krnfY-0002V9-Bg for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 14:50:05 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1krnfV-000A6e-Mt for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 20:50:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:196585 Archived-At: On Tue 22 Dec 2020, gliao.tw--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Hi Andrea and Pal, > > the attached file is the patch applicable to snapshot after commit > [9676e4d7766cea647a4e2b9e27fad97479b418de](http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=feature/native-comp&id=9676e4d7766cea647a4e2b9e27fad97479b418de) > > Kiong-Ge. > diff -ruN src-orig/nt/mingw-cfg.site src/nt/mingw-cfg.site > --- src-orig/nt/mingw-cfg.site 2020-12-22 15:36:18.429108443 +0000 > +++ src/nt/mingw-cfg.site 2020-12-22 15:37:18.099953457 +0000 > @@ -156,3 +156,5 @@ > # We don't want to build Emacs so it depends on bcrypt.dll, since then > # it will refuse to start on systems where that DLL is absent. > gl_cv_lib_assume_bcrypt=no > +# force strsignal from gnulib to be used (cf https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45303#83) > +ac_cv_func_strsignal=no This comment is not quite right: Eli pointed out that emacs does not use the gnulib replacement function on Windows. Adding this line to mingw.site ensures that HAVE_STRSIGNAL is not defined in config.h, so the strsignal macro in src/syssignal.h gets used. AndyM