From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Li=C4=81u@debbugs.gnu.org, _?= =?UTF-8?Q?Kiong-G=C4=93_?= =?UTF-8?Q?=E5=BB=96=E5=AE=AE=E6=AF=85?= Newsgroups: gmane.emacs.bugs Subject: bug#45303: 28.0.50; [feature/native-comp] comp.c compilation error on Windows 10 Date: Thu, 17 Dec 2020 15:27:40 -0600 Message-ID: References: <838s9w6t8d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40744"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45303@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 17 22:28:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kq0ok-000ATx-R7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 22:28:10 +0100 Original-Received: from localhost ([::1]:56166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq0oj-000851-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 16:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq0oc-00084o-7A for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq0oc-0005hd-00 for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kq0ob-0007MF-RR for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Li=C4=81u@debbugs.gnu.org, _?= =?UTF-8?Q?Kiong-G=C4=93_?= =?UTF-8?Q?=E5=BB=96=E5=AE=AE=E6=AF=85?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Dec 2020 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs Original-Received: via spool by 45303-submit@debbugs.gnu.org id=B45303.160824048128280 (code B ref 45303); Thu, 17 Dec 2020 21:28:01 +0000 Original-Received: (at 45303) by debbugs.gnu.org; 17 Dec 2020 21:28:01 +0000 Original-Received: from localhost ([127.0.0.1]:37177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq0oa-0007M0-Tu for submit@debbugs.gnu.org; Thu, 17 Dec 2020 16:28:01 -0500 Original-Received: from mail-ej1-f43.google.com ([209.85.218.43]:39839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq0oX-0007Lh-V0 for 45303@debbugs.gnu.org; Thu, 17 Dec 2020 16:27:59 -0500 Original-Received: by mail-ej1-f43.google.com with SMTP id n26so158088eju.6 for <45303@debbugs.gnu.org>; Thu, 17 Dec 2020 13:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=keHwuglAfDYRUmb9b0TPWPNVor/IGgCpxrvw/NTAiUk=; b=gzyODp6vZhmPBkdEXyhkZyZcxSM+H8UL8Qui7Ia7UqsHRRjPtcQQXGoy7192t2wQC+ 3dxSOqIKug32IatyA0EKx+k7xxDbp+ALl2SkmxUd8QPXob2P9WO8C4938zA5RKsjGNFW GcTm2hQSeqed+0mt3WJQLji5fPl77a+fAK3AHNRiWXjkCLAg6JscW70txmEEt412LRkw 08n8aFSFdPMEdOmd7EZWmuqKO2proMlx5hxmyWEUhR6dHUot3oAasY/oV7MCEYdXk/8r XvzvKn5o0ex2BKTCJj1pspF3F+eFGgwdD5XgYxoNzaCmB/DF1zl1JzYF1xrsZCfzKc8e R6JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=keHwuglAfDYRUmb9b0TPWPNVor/IGgCpxrvw/NTAiUk=; b=JlZPczgs4AlXnv3L9rUzIeip/UjfvoGVPgI9ozxG7hnF0hmJM4yUhlZRwB1QrKsy2U awL58PmIfrgezW30pTp0KvxcMRUFInt5Y41tuFB3J4RoHiG+8kMHSTgw0batd8VIgX1K JN4IJfKx/yWsDAkjaQNJclaBc9uCVGORdc60o7Zbskue1CRn8eNHFC75x+xGh+R6iNYg wNVsbR12wcteJnLfRieKldnutjyCAOUG67v34tJJpQjAuo1g+ww26RJSaDJ35pxHHjy3 0Y50iTNO+12JJGaLIiOBMusxaZfSCiAwyl4ebEqbQ7me5KykWGL5EDYDSE0zCKsx6LDy wWQA== X-Gm-Message-State: AOAM5302t6PXpWsNmU/xcAtaywNuEv6+/fD1lVpDt9VOoFQ1heVvyzta oJUOMgy/VhmcnZ0CSCTDuVBU68hxrZYNFW3GB7s= X-Google-Smtp-Source: ABdhPJy11jwEIpm4D8qFNvwW8NgELpg5j+Gy6D2TNiVU9/R0gTUOFtykFcpvMDOgCBY9kOg/xXACV3zFRPJGQTlL2TI= X-Received: by 2002:a17:906:af79:: with SMTP id os25mr966215ejb.275.1608240472121; Thu, 17 Dec 2020 13:27:52 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196290 Archived-At: commit 87f6e93799 lead to successful compilation of comp.c, but lead to linker errors while generating temacs.exe: CCLD temacs.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `md5_gz_stream': C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/comp.c:713: undefined reference to `inflateInit2_' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/comp.c:730: undefined reference to `inflate' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/comp.c:741: undefined reference to `inflateEnd' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/comp.c:741: undefined reference to `inflateEnd' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `declare_imported_func': C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/comp.c:973: undefined reference to `gcc_jit_type_get_const' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: process.o: in function `status_message': C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/process.c:754: undefined reference to `strsignal' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: callproc.o: in function `call_process': C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/src/callproc.c:916: undefined reference to `strsignal' collect2.exe: error: ld returned 1 exit status make[1]: *** [Makefile:661: temacs.exe] Error 1 make[1]: Leaving directory '/home/VWinUser0/Downloads/emacs/native-comp/build/src' make: *** [Makefile:434: src] Error 2 On Thu, Dec 17, 2020 at 3:10 PM Andrea Corallo wrote: > > Eli Zaretskii writes: > > >> Date: Thu, 17 Dec 2020 20:57:29 +0000 > >> Cc: 45303@debbugs.gnu.org > >> From: Andrea Corallo via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> I've pushed 174f2a92eb, could you please have a try? I've no windows machine on > >> to test it myself. > > > > Don't you need to update also the epaths-force-w32 target in > > Makefile.in? > > Uops, pushed 87f6e93799 thanks > > Andrea >