GNU bug report logs - #35410
27.0.50; 32-bit build of master failing with MSYS2

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: martin rudalics <rudalics@HIDDEN>; dated Wed, 24 Apr 2019 07:33:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 35410 <at> debbugs.gnu.org:


Received: (at 35410) by debbugs.gnu.org; 11 Jul 2019 18:23:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 14:23:48 2019
Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hldjQ-0006jx-IG
	for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 14:23:48 -0400
Received: from mail-io1-f43.google.com ([209.85.166.43]:35785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1hldjP-0006jl-6t
 for 35410 <at> debbugs.gnu.org; Thu, 11 Jul 2019 14:23:48 -0400
Received: by mail-io1-f43.google.com with SMTP id m24so14711473ioo.2
 for <35410 <at> debbugs.gnu.org>; Thu, 11 Jul 2019 11:23:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=W7bP9pOkNYSDzT8uQUjRZ0rhFq7PpallqZlCwtP9E7U=;
 b=I2aRU2uq6tBVpMPDHMHy/OXmlVOpix1u+QSGBzM0Rj546O/0aKFvx2bsT39MUF8VlE
 o3N38t1Elh/dUsf2LuZuxuvFkO5N4w9lOx93Ll1H2S7LzoRpDupmPHvY6WOz0fL+J9L/
 K3azy9DJUKUvd/pLWUgmGUqQAU3lf18PnN43dNp4HnpuSoeTJkE7ft2JBYJMBvm2/6We
 Nk0fsxHQsXuOHCWHuZe0/wYgnEw2CJY97X3oAExU6juNoIOJfLHoWHvsPPkD7YynOzNV
 KsCcr37P/ptzQ56OqIaNc6QcOND81ph0DMWz3KdFLi77uEAzebSKXlb1cJOrwblHpcR1
 2FkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=W7bP9pOkNYSDzT8uQUjRZ0rhFq7PpallqZlCwtP9E7U=;
 b=m9j0ADg6rxAlXGthS3iu/HpyGYT0mmTRTYI16o3lCdqS4WiyLDh9AtGiu4XTTLxo4D
 zf3YmWKWk3b1cw4OddwEd/r9CBwfg7PPh2Sh2bbJbWVHaaMLXDBSqEuiuP3wI3fF5VoX
 yxaw82mNqdX2o4XzovMYIUnM8hhxdmvziPo5O+awncsoOwyUCLzVRjwt/60hRk1wcl/2
 Tk2hgnHiL/caJYV/pkS908JQKbs45YIYO6D7AAuSLtVAcPxAvnNANQYvZ6A6sW+XycEt
 fH02xjfmVd9jcwmKhFd36MuaHSwIjXkrlBvM/pwMEqRwO/5UTD6gJN0hWNKwDt+PbYMG
 Ek7g==
X-Gm-Message-State: APjAAAXCPZyxYyq3p164VUMnNC3Rc6izByHQTAoTAXYe6pCUSf5/gNUw
 GRj8BFUJHWTK0yQizC7ZMb3R6l4e
X-Google-Smtp-Source: APXvYqy1vTHZt+TgaMsduOFPUlwMM9fcxz5jt7L3x9QbpD1oV3BXKaloeousYE052esMoEFUCg1qEA==
X-Received: by 2002:a02:3904:: with SMTP id l4mr6103338jaa.81.1562869421218;
 Thu, 11 Jul 2019 11:23:41 -0700 (PDT)
Received: from vhost2
 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196])
 by smtp.gmail.com with ESMTPSA id v13sm5582395ioq.13.2019.07.11.11.23.40
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 11 Jul 2019 11:23:40 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#35410: 27.0.50; 32-bit build of master failing with MSYS2
References: <70f5c078-3939-29e7-345a-65ff30ad6e4f@HIDDEN>
Date: Thu, 11 Jul 2019 14:23:42 -0400
In-Reply-To: <70f5c078-3939-29e7-345a-65ff30ad6e4f@HIDDEN> (martin rudalics's
 message of "Wed, 24 Apr 2019 09:28:50 +0200")
Message-ID: <85muhkctw1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: martin rudalics writes: > Trying a 32-bit MSYS2 build of
 master
 on Windows 10 configured with > CFLAGS='-O3' gets me here: > >
 w32.o:w32.c:(.text+0xa29f):
 undefined reference to `_imp___futime32' > collect2.exe: error: ld re [...]
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (npostavs[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [209.85.166.43 listed in list.dnswl.org]
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gmx.at]
 1.3 PDS_NO_HELO_DNS        High profile HELO but no A record
X-Debbugs-Envelope-To: 35410
Cc: 35410 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

martin rudalics <rudalics@HIDDEN> writes:

> Trying a 32-bit MSYS2 build of master on Windows 10 configured with
> CFLAGS=3D'-O3' gets me here:
>
> w32.o:w32.c:(.text+0xa29f): undefined reference to `_imp___futime32'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [Makefile:643: temacs.exe] Fehler 1
> make[1]: Verzeichnis =E2=80=9E/c/emacs/trunk/opt-32/src=E2=80=9C wird ver=
lassen
> make: *** [Makefile:423: src] Fehler 2
>
> A build configured with CFLAGS=3D'-O0 -g3' proceeds without problems.
> The 32-builds use gcc 7.4.0.  64-bit builds with the same options
> proceed without problems using gcc 8.3.0.

Seems to work okay here, but my ming32 gcc is 7.2.0.  Is this still a
problem?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35410; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Apr 2019 07:32:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 24 03:32:11 2019
Received: from localhost ([127.0.0.1]:54926 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hJCO2-0006JV-Pl
	for submit <at> debbugs.gnu.org; Wed, 24 Apr 2019 03:32:11 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33534)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1hJCO1-0006JK-Nc
 for submit <at> debbugs.gnu.org; Wed, 24 Apr 2019 03:32:09 -0400
Received: from lists.gnu.org ([209.51.188.17]:57363)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1hJCNw-0007wP-Gs
 for submit <at> debbugs.gnu.org; Wed, 24 Apr 2019 03:32:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47821)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1hJCNv-0005iF-AW
 for bug-gnu-emacs@HIDDEN; Wed, 24 Apr 2019 03:32:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rudalics@HIDDEN>) id 1hJCKq-0003UL-8Z
 for bug-gnu-emacs@HIDDEN; Wed, 24 Apr 2019 03:28:53 -0400
Received: from mout.gmx.net ([212.227.15.15]:58799)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1hJCKp-0003SO-WF
 for bug-gnu-emacs@HIDDEN; Wed, 24 Apr 2019 03:28:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1556090931;
 bh=cmPFuXJciQLoKULvQ6AhKrvD8uel7jERjHZ1oQKu70I=;
 h=X-UI-Sender-Class:To:From:Subject:Date;
 b=LGH6oB48YpVRx3NyuvNQIVd57nMf5WW0zr6YIpSusWu+h17hWzbSKqViN86cxeoqH
 aoNjVXHxK4nH6PO72hxDIrccXsBEjonYSF1IGoKDt6ATUzkhhEDNBuZmNmp/0j/V5V
 YBT4r/Ie9SS9J89+VJx8aIS4IivjypitEiKEujOA=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([212.95.5.219]) by mail.gmx.com (mrgmx001
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MDymt-1haYTF3rId-00HOSU for
 <bug-gnu-emacs@HIDDEN>; Wed, 24 Apr 2019 09:28:51 +0200
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Subject: 27.0.50; 32-bit build of master failing with MSYS2
Message-ID: <70f5c078-3939-29e7-345a-65ff30ad6e4f@HIDDEN>
Date: Wed, 24 Apr 2019 09:28:50 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:LJQjmaVdN5gqHWN7BqOrNJI0vcAZWVLfjL4HBAG4BdlQQxAofgP
 p2/RRJIfuIHZQmXYkbg0PMa24fLVoqxKm2qprNa1bOh5HWUHr3EeUiTwhbJsBlYsYN+f7kI
 IN831HU/bBkC6WAW7sW5Qmnn6WrRop0TzJJ6eHJd1KW/OKs8gVw6g6OZlV547nxkW4gef+w
 p+9nVuVJLK0JqcgNWehmg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:XvpJ3DT/f6U=:OzzMxusRYafs7SdAyrJDFe
 4F9IrntzxV4NIfe5FNORgkDCOT8jpjb7RE43azWcH5KSSdZLkcuh8Kg1RNcCuPXj0yyvb014n
 6LvdRCLUHXCCKYO2bR1AqnxtiSqK9VPygNGLoeyrcr1R8ne9vLM9YpuIjj0niLBjh+In6sGTw
 mdIOgFKJt4P9JgLnYlGxZMf0PMC7SJLXahKwqRqTomgB/zJApT4OomhA4o1RkMy0yFRZui4UH
 gkncQB2Dcntlk/+ACnSDwEk/Z2a14tbIQ17C1DujuOBhGKCygsB1eT4GQRX+dqFqDPbbcyawI
 nFOcjKuh2hwU8uTexD5bvzuLaa48by44cKUsV9nuTmMnE72TBfYg7YiEiW5kvKTZc51+cFCDG
 g29p7QDvrsGl7qcLBMw14/2JlrAEBboeuDPP5iA4bijEgvwvch4AuSxrwknuUJW5AU7BTWR6c
 7BL8s+51x4sqmf74CGl/LUL3JEF48qLxTKR3Wl5QAZPKR0vtPMXczZG7uv/IgJKwAmApLvr+1
 9W14D66IxI7mL+ZssDk+gzj9YFPX4niZO2BWIS8EzrLTG+mQSAZfUJR6QLIBH7AiwnkS3RVSy
 fX4RGNS+FX6UeG8hEnyaIdZdXKvIPCxMOjZyB9q+zr9olQUNxO94Yk/UhoJ1IcX0o/Tr5amOF
 nyB57lQBpPNWlMlcsa60+1KtESdyzDjSKoVIX9oga/P03iwZ6/F+DKyv/Xg2ItDjYfHI37F/+
 TGQ9vdaZ3PtFLDvMIVJPaNmmEk7m9610DroXPy7OvJbhkf7rMcH0h/pBDAYfotmbePRmuya8D
 xKVg5ZWvk1PDVnkUrNLyqCZoKjQhWvJrOK6sTxChVPlXPCNBBi/2zeI/AYFa9o/ToSl3s4bY0
 P8Tp9iQOx6YSdAV1bxTdWMqIXm3c4uTFVTFpJnbxao7fO8IXwVdmYmZZ2tK1xU1MXNsf0RLJk
 RD9rDD/bO6g==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.15.15
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Trying a 32-bit MSYS2 build of master on Windows 10 configured with
CFLAGS=3D'-O3' gets me here:

w32.o:w32.c:(.text+0xa29f): undefined reference to `_imp___futime32'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:643: temacs.exe] Fehler 1
make[1]: Verzeichnis =E2=80=9E/c/emacs/trunk/opt-32/src=E2=80=9C wird ver=
lassen
make: *** [Makefile:423: src] Fehler 2

A build configured with CFLAGS=3D'-O0 -g3' proceeds without problems.
The 32-builds use gcc 7.4.0.  64-bit builds with the same options
proceed without problems using gcc 8.3.0.

A workaround here is to add a check to mingw_time.h like

/* The @#$%^&! MinGW developers stopped updating the values of
    __MINGW32_VERSION, __MINGW32_MAJOR_VERSION, and
    __MINGW32_MINOR_VERSION values in v4.x of the runtime, to
    "discourage its uses".  So the values of those macros can no longer
    be trusted, and we need the workaround below, to have a single set
    of macros we can trust.  (The .17 minor version is arbitrary.)  */
#ifdef __MINGW32__
#include <_mingw.h>
# ifndef __CRT__NO_INLINE
#  define __CRT__NO_INLINE
# endif
#endif

martin





Acknowledgement sent to martin rudalics <rudalics@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#35410; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 11 Jul 2019 18:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.