GNU bug report logs -
#70890
29.3; GCC14.1 MinGW compilation error
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70890 in the body.
You can then email your comments to 70890 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70890
; Package
emacs
.
(Sun, 12 May 2024 09:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Cyril Arnould <2006parcy <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 12 May 2024 09:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Oops, I've used the wrong email account. Is it possible to redirect
this bug to cyril.arnould <at> outlook.com?
Am 12.05.2024 um 09:29 schrieb Cyril Arnould:
> I wanted to check how the MinGW related issues #63365 and #63752 behave
> under GCC 14.1, however I did not get that far. Running the following:
>
>
> git clone https://git.savannah.gnu.org/git/emacs.git
> cd emacs
> ./autogen.sh
> ./configure
> make
>
>
> I get the error:
>
>
> sysdep.c: In function 'get_child_status':
> sysdep.c:479:13: error: implicit declaration of function 'waitpid'
> [-Wimplicit-function-declaration]
> 479 | pid = waitpid (child, status, options);
> | ^~~~~~~
> sysdep.c:479:13: warning: nested extern declaration of 'waitpid'
> [-Wnested-externs]
> sysdep.c: In function 'child_status_changed':
> sysdep.c:525:43: error: 'WNOHANG' undeclared (first use in this function)
> 525 | return get_child_status (child, status, WNOHANG | options, 0);
> | ^~~~~~~
> sysdep.c:525:43: note: each undeclared identifier is reported only
> once for each function it appears in
> sysdep.c:526:1: warning: control reaches end of non-void function
> [-Wreturn-type]
> 526 | }
> | ^
> make[2]: *** [Makefile:452: sysdep.o] Error 1
> make[2]: Leaving directory '/e/git/emacs-debug-gcc14/emacs/src'
> make[1]: *** [Makefile:554: src] Error 2
> make[1]: Leaving directory '/e/git/emacs-debug-gcc14/emacs'
> make[1]: Entering directory '/e/git/emacs-debug-gcc14/emacs'
> ***
> *** "make all" failed with exit status 2.
> ***
> *** You could try to:
> *** - run "make bootstrap", which might fix the problem
> *** - run "make V=1", which displays the full commands invoked by make,
> *** to further investigate the problem
> ***
> make[1]: *** [Makefile:418: advice-on-failure] Error 2
> make[1]: Leaving directory '/e/git/emacs-debug-gcc14/emacs'
> make: *** [Makefile:374: all] Error 2
>
>
> Currently I'm on commit 67b1da215c9. According to the GCC 14 porting
> page "It is no longer possible to call a function that has not been
> declared", so I guess that's the issue here. I've noticed that in
> src/syswait.c, <sys/wait.h> is only included if HAVE_SYS_WAIT_H is
> defined, which it isn't. If I do include <sys/wait.h> nonetheless in
> this file, the compilation continues.
>
> For the record, I run into an internal compiler issue in thread.c
> after that, but that's not on emacs to solve I guess.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70890
; Package
emacs
.
(Sun, 12 May 2024 10:23:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 70890 <at> debbugs.gnu.org (full text, mbox):
merge 70890 70889
thanks
> Date: Sun, 12 May 2024 10:24:11 +0200
> From: Cyril Arnould <2006parcy <at> gmail.com>
>
> Oops, I've used the wrong email account. Is it possible to redirect
> this bug to cyril.arnould <at> outlook.com?
This is an exact duplicate of bug#70889 you submitted; merging them.
Merged 70889 70890.
Request was from
Eli Zaretskii <eliz <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 12 May 2024 10:23:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 16 Jun 2024 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.