emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42822: closed (Build of master db3a7df fails with MINGW64 console of


From: GNU bug Tracking System
Subject: bug#42822: closed (Build of master db3a7df fails with MINGW64 console of MSYS2)
Date: Thu, 13 Aug 2020 15:49:03 +0000

Your message dated Thu, 13 Aug 2020 08:48:44 -0700
with message-id 
<CADwFkm=9u7TrTeyt=e8gT6Pvp6CgjUoSreNX0C10hQme-sxPNQ@mail.gmail.com>
and subject line Re: bug#42822: Build of master db3a7df fails with MINGW64 
console of MSYS2
has caused the debbugs.gnu.org bug report #42822,
regarding Build of master db3a7df fails with MINGW64 console of MSYS2
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42822: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42822
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Build of master db3a7df fails with MINGW64 console of MSYS2 Date: Wed, 12 Aug 2020 08:27:41 +0900 (JST)
I checked out master db3a7df and built it with MINGW64 console of
MSYS2 on 64bit Windows 10 version 1909. Then I got following error.

----------------------------------------------------------------------
  CC       search.o
  CC       regex-emacs.o
  CC       undo.o
  CC       alloc.o
  CC       pdumper.o
pdumper.c: In function 'dump_read_all':
pdumper.c:5078:60: error: conversion from 'size_t' {aka 'long long unsigned 
int'} to 'unsigned int' may change value [-Werror=conversion]
 5078 |       ssize_t chunk = read (fd, (char *) buf + bytes_read, 
chunk_to_read);
      |                                                            ^~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
make[1]: *** [Makefile:401: pdumper.o] Error 1
make[1]: Leaving directory '/c/Users/yasu/Work/Emacs/master/emacs/src'
make: *** [Makefile:424: src] Error 2
(MINGW64)yasu@rolling[1188]% 
----------------------------------------------------------------------

According to the result of git bisect, following commit is the cause
of the problem.

----------------------------------------------------------------------
commit 9e4e4775364490d31406f247237934dd7f203808 (HEAD)
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Aug 11 02:16:54 2020 -0700

    In pdumper, simplify INT_MAX computation

    * src/pdumper.c (dump_read_all): Avoid unnecessary cast.
    Also, round down to page size, as sysdep.c does.
    Also, don t assume INT_MAX <= UINT_MAX (!).
----------------------------------------------------------------------

If I go back to master db3a7df and revert this commit, then build
completes successfully.

---
Yasuhiro KIMURA



--- End Message ---
--- Begin Message --- Subject: Re: bug#42822: Build of master db3a7df fails with MINGW64 console of MSYS2 Date: Thu, 13 Aug 2020 08:48:44 -0700 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Yasuhiro KIMURA <yasu@utahime.org> writes:

> I confirmed the preblem is fixed with commit 4491a55a.

I'm therefore closing this bug report.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]