GNU bug report logs -
#78193
Emacs compilation warnings with GCC 15 on Windows 10
Previous Next
Reported by: MAN ONE <pRoMMMModE <at> outlook.com>
Date: Thu, 1 May 2025 15:04:01 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78193 in the body.
You can then email your comments to 78193 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#78193
; Package
emacs
.
(Thu, 01 May 2025 15:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
MAN ONE <pRoMMMModE <at> outlook.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 01 May 2025 15:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi, the attachment is a build log of compiling Emacs on Windows 10 in Msys2's
UCRT environment, most of the warnings are from windows related files, so I
think it may be helpful to report it.
===========================================================================
Output of `gcc -v' :
Using built-in specs.
COLLECT_GCC=C:\msys64\ucrt64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-15.1.0/configure --prefix=/ucrt64 --with-local-prefix=/ucrt64/local --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib --enable-bootstrap --enable-checking=release --with-arch=nocona --with-tune=generic --enable-mingw-wildcard --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-backtrace=yes --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 --with-pkgversion='Rev1, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --disable-libstdcxx-debug --enable-plugin --with-boot-ldflags=-static-libstdc++ --with-stage1-ldflags=-static-libstdc++
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.1.0 (Rev1, Built by MSYS2 project)
===========================================================================
Emacs is configured with:
In GNU Emacs 31.0.50 (build 1, x86_64-w64-mingw32) of 2025-05-01 built
on LILILILILILILIL
Repository revision: b9632a9049d07de3a0d6f0ae005a28b38825ff82
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.5737)
Configured using:
'configure --without-dbus --without-pop 'CFLAGS=-O2 -march=native''
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
[build-log.txt (text/plain, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78193
; Package
emacs
.
(Sun, 01 Jun 2025 09:11:05 GMT)
Full text and
rfc822 format available.
Message #8 received at 78193 <at> debbugs.gnu.org (full text, mbox):
> From: MAN ONE <pRoMMMModE <at> outlook.com>
> Date: Thu, 1 May 2025 12:40:28 +0000
>
> Hi, the attachment is a build log of compiling Emacs on Windows 10 in Msys2's
> UCRT environment, most of the warnings are from windows related files, so I
> think it may be helpful to report it.
Thanks, I hope I've now fixed most of those.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78193
; Package
emacs
.
(Sun, 01 Jun 2025 12:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 78193 <at> debbugs.gnu.org (full text, mbox):
On Sun, Jun 1, 2025 at 4:10 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: MAN ONE <pRoMMMModE <at> outlook.com>
> > Date: Thu, 1 May 2025 12:40:28 +0000
> >
> > Hi, the attachment is a build log of compiling Emacs on Windows 10 in Msys2's
> > UCRT environment, most of the warnings are from windows related files, so I
> > think it may be helpful to report it.
>
> Thanks, I hope I've now fixed most of those.
>
FWIW, my automated MSYS2/MINGW64 builds from the development branch
have gone, overnight, from 148 warnings to 29. (Let me know if
sharing more detail is helpful; I'm assuming it could simply confuse
things since the focus here seems to have been UCTR builds..). The
output (binaries) for these builds are on my personal site, in case
they may be helpful. I have several years of build logs also on the
off chance deep analysis of these would prove interesting at some
point however I haven't made those available online so far.
https://corwin.bru.st/emacs-31
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78193
; Package
emacs
.
(Sun, 01 Jun 2025 12:53:04 GMT)
Full text and
rfc822 format available.
Message #14 received at 78193 <at> debbugs.gnu.org (full text, mbox):
> From: Corwin Brust <corwin <at> bru.st>
> Date: Sun, 1 Jun 2025 07:28:42 -0500
> Cc: MAN ONE <pRoMMMModE <at> outlook.com>, 78193 <at> debbugs.gnu.org
>
> On Sun, Jun 1, 2025 at 4:10 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > From: MAN ONE <pRoMMMModE <at> outlook.com>
> > > Date: Thu, 1 May 2025 12:40:28 +0000
> > >
> > > Hi, the attachment is a build log of compiling Emacs on Windows 10 in Msys2's
> > > UCRT environment, most of the warnings are from windows related files, so I
> > > think it may be helpful to report it.
> >
> > Thanks, I hope I've now fixed most of those.
> >
>
> FWIW, my automated MSYS2/MINGW64 builds from the development branch
> have gone, overnight, from 148 warnings to 29. (Let me know if
> sharing more detail is helpful; I'm assuming it could simply confuse
> things since the focus here seems to have been UCTR builds..).
Feel free to post the warnings here, I will see what can be done about
them.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78193
; Package
emacs
.
(Tue, 03 Jun 2025 08:59:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 78193 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I attached the new build log, compiled using commit 50e3bce315eb499917c1d208f87f84315f1a8b4e, indeed most warnings has gone.
Btw, should I keep using `make V=1` ?
[build.log (application/octet-stream, attachment)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 14 Jun 2025 14:00:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
MAN ONE <pRoMMMModE <at> outlook.com>
:
bug acknowledged by developer.
(Sat, 14 Jun 2025 14:00:04 GMT)
Full text and
rfc822 format available.
Message #22 received at 78193-done <at> debbugs.gnu.org (full text, mbox):
> From: MAN ONE <pRoMMMModE <at> outlook.com>
> CC: "78193 <at> debbugs.gnu.org" <78193 <at> debbugs.gnu.org>
> Date: Tue, 3 Jun 2025 08:58:33 +0000
>
> I attached the new build log, compiled using commit 50e3bce315eb499917c1d208f87f84315f1a8b4e, indeed most warnings has gone.
Thanks, I fixed the warnings that I care about. The rest should be
ignored.
> Btw, should I keep using `make V=1` ?
Not necessary, thanks.
I'm therefore closing this bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 13 Jul 2025 11:24:20 GMT)
Full text and
rfc822 format available.
This bug report was last modified 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.