From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70914: 29.3; Crashes often on Windows Date: Thu, 16 May 2024 22:28:58 +0300 Message-ID: <86r0e1h7yd.fsf@gnu.org> References: <86msouxamh.fsf@gnu.org> <86h6f0wsbv.fsf@gnu.org> <86seyjtgvd.fsf@gnu.org> <86ttizjdwm.fsf@gnu.org> <86h6eykiuk.fsf@gnu.org> <861q62jcok.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70914@debbugs.gnu.org, acorallo@gnu.org To: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 21:30:07 2024 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 1s7gnm-0003Jz-Om for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 21:30:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7gnh-0001bM-K1; Thu, 16 May 2024 15:30:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7gng-0001ap-7M for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 15:30:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7gnf-0005t4-Us for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 15:29:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7gni-0002pq-9T for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2024 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70914 X-GNU-PR-Package: emacs Original-Received: via spool by 70914-submit@debbugs.gnu.org id=B70914.171588775310864 (code B ref 70914); Thu, 16 May 2024 19:30:02 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 16 May 2024 19:29:13 +0000 Original-Received: from localhost ([127.0.0.1]:50539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7gmv-0002pA-Cs for submit@debbugs.gnu.org; Thu, 16 May 2024 15:29:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7gmr-0002p4-Ao for 70914@debbugs.gnu.org; Thu, 16 May 2024 15:29:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7gmj-0005nZ-9G; Thu, 16 May 2024 15:29:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=RoLC2jFuhldsA1NXATZUEQyjZrbUd8kbacytdelH+Pc=; b=nkCH/thVFpbleSBa5kHP QUNhHSJv1GjMLSCXHgOQK1PRKIXeexOvwGoSCxd0L4WI/kR48DKNbWOAnWBj24SyIo4NKQtQ2ff64 mnXWRbmnHDHaizzhIgEy92G/3AN//1mzhZVoNKOOlUpVAK+y7QJ1QFTX0nmF9XVeeQx6CHHWCAKnn n5hFXoxbqWYjdoQCrnAV8PIHhCd7ttpVc23iS39qrLPe6VJxMpq2CNR7PidvS/460Z6zHJR2l+yhv j5RFuxBGe1S+zVzImap1uDy8vWVK54smyhP0p/f2/VhsEHaMQnrWXpLQu+AuAV2zqp6NaEvi+QMRV 1ouomo+xG72mJg==; In-Reply-To: (message from Simen =?UTF-8?Q?Endsj=C3=B8?= on Thu, 16 May 2024 20:40:07 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285194 Archived-At: > From: Simen Endsjø > Date: Thu, 16 May 2024 20:40:07 +0200 > Cc: Eli Zaretskii , 70914@debbugs.gnu.org > > > But I guess is not an option here if one can't recompile. > > I'm not blocked from compiling code on the machine, but I guess there's > something wrong with my setup, because the instructions in nt/INSTALL.W64 > doesn't seem to work out of the box. > > Tried to start with a baseline by looking at > system-configuration-options of the stock install and configured with: > ./configure > --prefix=/d/tmp/emacs-bug-70914/emacs-29.3-stock-options > --with-modules --without-dbus --with-native-compilation=aot > --without-compress-install --with-sqlite3 --with-tree-sitter > CFLAGS=-O2 > > But when building, I get an error: > make -C src BIN_DESTDIR=''/mingw64/bin/'' \ > ELN_DESTDIR='/mingw64/lib/emacs/29.3/' all > make[2]: Entering directory '/d/tmp/emacs-bug-70914/emacs-git/src' > CC sysdep.o > sysdep.c: In function 'get_child_status': > sysdep.c:472:13: error: implicit declaration of function 'waitpid' > [-Wimplicit-function-declaration] > 472 | pid = waitpid (child, status, options); > | ^~~~~~~ > sysdep.c:472:13: warning: nested extern declaration of 'waitpid' > [-Wnested-externs] > sysdep.c: In function 'child_status_changed': > sysdep.c:518:43: error: 'WNOHANG' undeclared (first use in this function) > 518 | return get_child_status (child, status, WNOHANG | options, 0); > | ^~~~~~~ > sysdep.c:518:43: note: each undeclared identifier is reported only > once for each function it appears in > sysdep.c:519:1: warning: control reaches end of non-void function > [-Wreturn-type] > 519 | } > | ^ > make[2]: *** [Makefile:424: sysdep.o] Error 1 > make[2]: Leaving directory '/d/tmp/emacs-bug-70914/emacs-git/src' > make[1]: *** [Makefile:544: src] Error 2 I guess you are using GCC 14, in which case see bug#70889 for the reasons and the workaround. It would be interesting to know whether Emacs without native compilation crashes in the same way.