From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Emacs pretest 28.0.90 is out Date: Thu, 09 Dec 2021 20:56:28 +0800 Message-ID: <87r1am9bsz.fsf@yahoo.com> References: <87fsr6pn9r.fsf@yahoo.com> <834k7l3nko.fsf@gnu.org> <87o85tlv9o.fsf@yahoo.com> <87a6hdlukl.fsf@yahoo.com> <83pmq925hc.fsf@gnu.org> <87tufljldf.fsf@yahoo.com> <87pmq9jh21.fsf@yahoo.com> <83k0ggzg6v.fsf@gnu.org> <87r1angb8d.fsf@yahoo.com> <838rwvxofc.fsf@gnu.org> <877dcfdy7a.fsf@yahoo.com> <83mtlbw75d.fsf@gnu.org> <8735n2cyui.fsf@yahoo.com> <83k0geuoi1.fsf@gnu.org> <87czm6ax3c.fsf@yahoo.com> <838rwuukkx.fsf@gnu.org> <878rwuavr7.fsf@yahoo.com> <831r2mug6n.fsf@gnu.org> <83zgpat0di.fsf@gnu.org> <87v8zy9c4o.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27611"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 13:57:53 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 1mvIzf-0006yF-MY for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 13:57:51 +0100 Original-Received: from localhost ([::1]:47274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvIzd-0003Z2-Ru for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 07:57:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvIyX-0002nN-8n for emacs-devel@gnu.org; Thu, 09 Dec 2021 07:56:41 -0500 Original-Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]:41743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvIyV-0005D8-GQ for emacs-devel@gnu.org; Thu, 09 Dec 2021 07:56:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639054598; bh=6B19aFLUdF38biZXAY3yk+tb7EFfhBJhuG1mj1avNn8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=rcQN51I6pkBzZSsCX/PSkw8aX50hLaDVTeQrS/XjQTx7BxcIKt2APyNS5vIUa0qqd2Nm0GZahV9/7KIHiiqZy7l3vmwqlK/d9AOzQ9NeFJ7mwqOLaJdxFnGpuIUnvQ9ydY+b+zcCWcTh0cNbII99lEvu+BNLQIIpxapne7dGaAAWGJngrVHUtxyxlQnLg1cAZ/Df7VZjzMOTwcR/tdB5Z/KR+nfQCR53HDc1GGQkZ6SJ1elJi9qZ4L1gpo5gb3IJ2QRMXutdU7L9jMJtZtAuzXkkcTonIBjk7Z0BPHy/AILfkdR0aygR4Y2JhsTlIgVlHsYOrQTQF+vXWoCcilH9+w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639054598; bh=TXYDIzYLNIw3oGEmJpUlX7fj4DQfuELmYvdGSxqrEhO=; h=X-Sonic-MF:From:To:Subject:Date:From:Sub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DatcPPSRFZWcg6lOpZdqFRXRv806LADkSoBeSwFIM bi59HANSfRtyRZ2.jOoGmozBqwzgbav_wlIEgyopVjk4VWXFZZ.y0eRkVrEq.pQLF8rD3.Hb9aGH T3WIH48ozvO2Bo.1BtZMY2u3H3ZMqV92neBC8My99a X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Thu, 9 Dec 2021 12:56:38 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4ffc3ce4dea8bb97200a9b0fd3a099b2; Thu, 09 Dec 2021 12:56:33 +0000 (UTC) In-Reply-To: <87v8zy9c4o.fsf@yahoo.com> (Po Lu's message of "Thu, 09 Dec 2021 20:49:27 +0800") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.204; envelope-from=luangruo@yahoo.com; helo=sonic311-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:281490 Archived-At: Po Lu writes: > Eli Zaretskii writes: > >>> Date: Thu, 09 Dec 2021 14:16:16 +0200 >>> From: Eli Zaretskii >>> Cc: emacs-devel@gnu.org >>> >>> > After implementing the missing functions, the linker complained about >>> > duplicate copies of mktime, one in libc.a, and the other in gnulib's >>> > mktime module >>> >>> If we have mktime from Gnulib, then why does linker pull mktime from >>> libc.a as well? It's supposed to be satisfied by the first function >>> by that name that it sees in any library it links in. >> >> I think I know the answer: it's because we use localtime, which DJGPP >> defines on the same source file as mktime. >> >> I see that in the Emacs 26.2 build, the function mktime in Gnulib's >> mktime.c module was renamed to rpl_mktime, which is how the duplicate >> definition problem was resolved. The current Gnulib's mktime.c module >> still allows that (search mktime.c for "rpl"), so all you need to do >> is arrange for the relevant cpp macro to be defined. This is supposed >> to be done by sed2v2.inp, so I guess it is somehow not working now? > > It seems that `REPLACE_MKTIME' is 0 in gnulib.mk. I see the issue now, > thanks! Now I'm really lost: temacs.exe is 14.1 MB, but trying to run it from the Makefile or like this: C:\DJGPP\src\emacs-28.0.90\src> temacs Results in "This program is too large to fit in memory." Any ideas? Maybe I should fiddle with compiler and linker versions? Or perhaps there is some attribute that must be set for this to work on MS-DOS? Thanks in advance!