From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sat, 05 Aug 2023 12:04:47 +0200 Message-ID: <4266545.pEEEotNZAM@nimes> References: <1428589171.162865.1691134964773@mail1.libero.it> <87msz68gbi.fsf@yahoo.com> <83tttet2lg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32476"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Paul Eggert , Eli Zaretskii , emacs-devel@gnu.org To: angelo.g0@libero.it Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 05 12:05:38 2023 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 1qSEAE-0008Da-CK for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Aug 2023 12:05:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSE9a-0006I3-P2; Sat, 05 Aug 2023 06:04:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSE9Y-0006Ha-Bo for emacs-devel@gnu.org; Sat, 05 Aug 2023 06:04:56 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.218]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSE9W-0003Oa-9K; Sat, 05 Aug 2023 06:04:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691229888; cv=none; d=strato.com; s=strato-dkim-0002; b=coPGoDBRIMDKgJq3Cz7gZULL+BAsHJaISRc+2xGVX6N+NlsGHZZrwqQyxpiwI/YwWd s1HgQErkXCtZIROPaWDUxKzHKu99ejkLNlqJ/UnSoRqBUM9U/LcLOVdwTBdYcfpHEoQH xw5Oig0Ukssc8T8eJxPXjCQHSE2WYvuXQfKL30Erpz2NOnnikzzNZWRJ5nrXJ0F5hRMG i0vMfIoF7Ul0zlwOi6Mymu6OuZeQiEW+WWn8M8EE7+8nAfrJxQskV0jpzxyH+CDflHOa LA598c9ml25Y6aGRv7dio5mhXW7zsOhnpzF1/tvizvPx7JJvhG+uDv4ih2I5XsAgrF4A 8Wng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1691229888; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=ZtMm/6QsQ4D7fd2hFi7WHSu6Ymz+KpZy1jIyOjvB4yQ=; b=RCoTs9LrJqnL2u+vsyLh/IdUD40r/pjY8dH2E05H8OczjmceJckW6a+yvrujWOm/7p yP7Shw9JL9S5iLNbB6D7g+47c+MaQ0GuglsUVbksEiTxnb2tT3BPoyRC+gVYmbypER1f sowcfrBLlANvOgfVR/+xND4cztluC35JscwAceq9JAwlvdLxAukSstEcgp4BwBJPJ4Yy kpZectAvtZXREap0Y203lNkJiSSKCWhOR1Ipx1a1Gj5hsazv6tcTGtfDZ0tHcCuE7oPO A7KQuam+SNDEZjuUl7MzisltbRuiYTt2JmwhzB5Qrz9AloAEpsO1egO95jngfESiD5xF zI/w== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1691229888; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=ZtMm/6QsQ4D7fd2hFi7WHSu6Ymz+KpZy1jIyOjvB4yQ=; b=B1nDVNjKQaVvqcg7Mw/2et6AOiw3et4oODI5rTbrfPZZMrsZWo6PU1mVHoHr7uM4oQ 3TyV3B+34jyQ3HPkiW2Ymt3hb4ley2aNO1L/S3l1HtueOukhcKMe+aLE4NNUiFAaaYwv SlNysNirokovzu+PTtl/RoeKdJek0+yUAtV+IYKUmh4XfwIABlk+UGDT6q2wPSC1gz1d l7U24v6soyAWnaG76jc5dVqWuwJrxKhTtOtrurWFtsTe1QScu3WxXqcZh7rD/1qFKK5R ZekCEExzaFmT9f3dezRt79nhARkXDf4mQF+DaB/7XUF2iNVCdyWrq+SqPX3Ac34DZUc7 ATdw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1691229888; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=ZtMm/6QsQ4D7fd2hFi7WHSu6Ymz+KpZy1jIyOjvB4yQ=; b=VlxvXQzwgO6olD5XVNpT6hOA00rTdzrPP8XqHoP5rp9KXtMauKlz0fYjhdKnDe6fXj obGXNIjqA1T1Zb95FfBw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOQjvJO92xURICTbiXlAvORnk3W3A==" Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id x129eaz75A4lWeb (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 5 Aug 2023 12:04:47 +0200 (CEST) In-Reply-To: <83tttet2lg.fsf@gnu.org> Received-SPF: none client-ip=81.169.146.218; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308309 Archived-At: Eli Zaretskii wrote: > Then we should ask them to add that, or help us solve this in another > proper way. >=20 > Paul and Bruno, can you please advise how to resolve this issue? We > need to disable the compilation of these *printf modules on > MS-Windows, since the Windows build doesn't need them, and compiling > them causes compile-time errors. The usual method of omitting a > module, like we do in nt/gnulib-cfg.mk, seems not to work in the above > case for some reason. >=20 > Another possible way forward is for Gnulib to modify asprintf.c so > that it does compile with MinGW (and then it will be left unused on > Windows in libgnu.a). Before thinking about how to disable things, the first thought should be how to fix the compilation error =E2=80=94 since that's generally easier and also may help other packages than Emacs. This asprintf() declaration in mingw's is guarded by __USE_MINGW_ANSI_STDIO. I've checked the Emacs source code, and it appears to set __USE_MINGW_ANSI_STDIO to 1, just like Gnulib does. Therefore I need more info from the reporter (Angelo [1]), for analysis: 1) Please do "make -k V=3D1" twice and attach the log of the second run. (Logs without V=3D1 often hide important details. Also, I'd like to know whether the same error also occurs with vasprintf.c.) 2) Please attach the file config.status. I need to the see value of REPLACE_ASPRINTF and related variables. 3) Also, if you still have the output of 'configure' (the many "checking for ..." lines), it would be good if you could attach that as well. 4) Finally, please attach the C:/msys64/mingw64/include/stdio.h =E2=80=94 b= ecause there are so many versions of mingw. Thanks. Bruno [1] https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg00044.html