From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.devel Subject: Re: Current master doesn't build on Win10 (nor does emacs-28) Date: Sun, 24 Oct 2021 20:31:55 +0200 Message-ID: References: <86mtn1nkz6.fsf@gnu.org> <838ryl6nff.fsf@gnu.org> <86o87glimf.fsf@gmail.com> <86ee8bef2f.fsf_-_@gmail.com> <83k0i22t6i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (windows-nt) Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 24 20:33:55 2021 Return-path: Envelope-to: ged-emacs-devel@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 1meiJf-0007pO-9y for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 20:33:55 +0200 Original-Received: from localhost ([::1]:54042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meiJe-0007P7-9c for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 14:33:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meiHq-0005AU-AD for emacs-devel@gnu.org; Sun, 24 Oct 2021 14:32:03 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:48317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meiHn-0000Tw-Uv; Sun, 24 Oct 2021 14:32:01 -0400 Original-Received: from VSL7V7PW ([92.116.135.84]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mleo0-1n5UGU3fnu-00iiEO; Sun, 24 Oct 2021 20:31:56 +0200 In-Reply-To: <83k0i22t6i.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 Oct 2021 21:07:01 +0300") X-Provags-ID: V03:K1:4dIA6W7MiOcS83dzwNPTAYVCc1tfXiOoeK6vbPtCGJWiLFHtkc6 PUeicps03LFO8s20+S9J/pAkyRaZ8AoK1V66eY113+7Fz1IXjdnAkNKS7qt3rRQV/4XO++H iOHq/Hcn9e1Mep2m1WLuF72kbILXOSdUlpIF2qP6LBFFj2cEXuGAkt6goe5hqcpEO4g+YQS N8x8szEYn0HIwFyTSgh6w== X-UI-Out-Filterresults: notjunk:1;V03:K0:/mDqsoeJFIw=:AdO4rviYA3pyJx3owsdVXq YcWnHBnQCyFj9T14HA8G0j0B5pTrcEzfLNBdjshlDreI29RxEzgMCNE/yF8Z918hgrHZ+FZic EOvIWKfzSSqsK7Gp4+EaPvpTqUK3EmTSjVFbHrqhlDlm5L7XrQCJjpLt62LFPlZK4VT/+e0C/ 6dWQuw8WiJ/1TnSq71Wlzhy0SROHD4KaZl9ykcXxHU8qp6hBSd8M/Da2X3OeoLVdnYuQXgQSM wP+GJIwmdvYXDfsyjfB6bSpZkW2q5S6NfX0meokJtHvzP57JVxwXIrzQ48tHIYqvRWijJG2Qz IHiBuOrD6np0r2jgGQYsJXRRPVeKZLbC/VeYvoX3DstHBuj8xMmc6wvTjXov7svTWFw5v+q0p gTzBh00HGasAHQmmD0LmDR1uC31h4R/t5uz9teszoI7mwWjnVVMRHEEkDX2dRZNYvH/kcLTa1 UIyWllyVc1nIJpOdMAmpsiPLe7kL2IYZ+gUfNpDZwVQF7JiTYT8p4jEEvm5rkH8+A9uBEnBKq MEA722hRB7dxkfDxLgu+3MqBeQpj6TfU7b+XvuSO7CZpJEODzMxvrPjWUWXU/u0FWbu/UtMm9 JMBjPkqqGXH36umPRKsrgfn+s8mqH69tivz/o7jw712qmcUNYWlpRmirU/kss7+X+N62uHHuN jCmQPaJ8VvcF2tpPNuMrQ1X5pQTXjvIIGqqv015uR2upUngU8vtWC4FQ3LJAUK8WVRBih6Scx TTwzO3TI2Le+JEcV Received-SPF: none client-ip=217.72.192.75; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277676 Archived-At: Eli Zaretskii writes: >> From: "H. Dieter Wilhelm" >> Date: Sun, 24 Oct 2021 19:56:26 +0200 >> Cc: emacs-devel@gnu.org >> >> >> # if __GNUC__ >= 11 && !defined strdup >> >> /* For -Wmismatched-dealloc: Associate strdup with free or rpl_free. */ >> >> _GL_FUNCDECL_SYS (strdup, char *, >> >> (char const *__s) >> >> _GL_ARG_NONNULL ((1)) >> >> _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); >> >> # endif >> >> >> >> >> >> Hopefully Paul Eggert will be along soon to come up with a proper fix in >> >> gnulib. >> > >> > Note that this problem also occurs on emacs-28, and the workaround above >> > also works. Thus this needs a gnulib fix before the release. >> >> I can't reproduce this for the emacs-28 branch with a pull from >> yesterday evening! It seems that >> >> make bootstrap >> >> make install >> >> is running through without any errors. The MSYS2 and MinGW collections >> are quite recent, but it seems gcc 11 is not installed. gcc --version >> => 10.3.0 > > It only happens with GCC 11, that's why you don't see it. I see, thanks. Is it possible to install both versions of gcc and the necessary libraries? (I've seen that when I would install mingw-w64-x68_64-gcc the gcc 10.3.0 executable will be overwritten.)