From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Branch scratch/correct-warning-pos now bootstraps with or without native compilation. Date: Fri, 31 Dec 2021 09:39:58 +0200 Message-ID: <83sfu9gr3l.fsf@gnu.org> References: <84bl0x2424.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org, monnier@iro.umontreal.ca, akrl@sdf.org To: Brahimi Saifullah Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 31 08:46:29 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 1n3CcO-0001BA-Ea for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 08:46:28 +0100 Original-Received: from localhost ([::1]:38804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3CcM-00057O-Sc for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 02:46:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3CW0-0001ke-Rh for emacs-devel@gnu.org; Fri, 31 Dec 2021 02:39:52 -0500 Original-Received: from [2001:470:142:3::e] (port=42866 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3CW0-0003dF-A8; Fri, 31 Dec 2021 02:39:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DbrVYrtsFs+jAawROURpIyPGHZXldrSX1w4U9E1SnhM=; b=oYjwFyDGsLFl 7olhHUbjDI9XwuG00P/TEkEuNlVxzy2ymU0VMoXr4eRH8RgxV/xiyMMDSxwF3d04xfgWlVyFZM+cz h+ha5eWqzgj1wRFidEf2MfURqd3ij8fdgFKb/fDmFWFtR+sSv7kK5HP2GZQVcDyPAMeIvDEVxvsU4 EBRc14uPV05xu1mo3/tqhxywIu7iQReMjo+qAqRztcqC3UvrUoChzzpqncorboSeqJFNT8f+1kZFS oAAITuxrd+/3C3fFPibG+xj5ftfID0aQquFba/iaXt+C8zeEGD30hGSjQ09FUuJ63JVpNZijwNhKA BEw+0jec0NFVOzzGsZZkGg==; Original-Received: from [87.69.77.57] (port=1590 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3CW0-0000t4-8W; Fri, 31 Dec 2021 02:39:52 -0500 In-Reply-To: <84bl0x2424.fsf@gmail.com> (message from Brahimi Saifullah on Thu, 30 Dec 2021 18:09:07 -0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:283721 Archived-At: > From: Brahimi Saifullah > Date: Thu, 30 Dec 2021 18:09:07 -0300 > Cc: Andrea Corallo , Stefan Monnier , > emacs-devel@gnu.org > > CCLD temacs.exe > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_SYMBOL_WITH_POS_SYM': > C:\emacs\2912\src/comp.c:1487: undefined reference to `gcc_jit_context_new_location' > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function `emit_EQ': > C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\emacs\2912\src/comp.c:1499: undefined reference to `gcc_jit_context_new_location' > collect2.exe: error: ld returned 1 exit status > make[1]: *** [Makefile:691: temacs.exe] Error 1 > make[1]: Leaving directory '/c/emacs/2912/src' > make: *** [Makefile:452: src] Error 2 This function was not used previously in Emacs, so it should be added to the boilerplate code under WINDOWSNT at the beginning of comp.c, because the Windows build will load the function dynamically at run time.