GNU bug report logs - #42305
28.0.50; Compilation warnings with mini-gmp

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eli Zaretskii <eliz@HIDDEN>; dated Fri, 10 Jul 2020 07:21:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 22 Oct 2020 13:37:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 09:37:45 2020
Received: from localhost ([127.0.0.1]:51840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVamn-0003sI-4m
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:37:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36772)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kVaml-0003s6-10
 for 42305 <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:37:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43428)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kVamf-0005D4-Jk; Thu, 22 Oct 2020 09:37:37 -0400
Received: from [176.228.60.248] (port=3590 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kVame-0004bC-PR; Thu, 22 Oct 2020 09:37:37 -0400
Date: Thu, 22 Oct 2020 16:37:50 +0300
Message-Id: <83r1pql6tt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <874kmmmm00.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 22 Oct 2020 15:24:47 +0200)
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN> <878sc4kl1e.fsf@HIDDEN>
 <86pn5b8ng8.fsf@HIDDEN> <87a6wepjkl.fsf@HIDDEN>
 <83v9f2l7hu.fsf@HIDDEN> <874kmmmm00.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org, andrewjmoreton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: andrewjmoreton@HIDDEN,  42305 <at> debbugs.gnu.org
> Date: Thu, 22 Oct 2020 15:24:47 +0200
> 
> > No, I said it _should_ produce the same results.
> >
> > But I think the other factor here is GCC.
> 
> Sorry, I misunderstood you.  My gcc version is:
> 
> larsi@xo:~/src/emacs/native-compile$ gcc --version
> gcc (Debian 10.2.0-13) 10.2.0

Yes.  The one which gave me trouble was 4.8...




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 22 Oct 2020 13:25:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 09:25:00 2020
Received: from localhost ([127.0.0.1]:51824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVaaR-0001Sm-Rp
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:25:00 -0400
Received: from quimby.gnus.org ([95.216.78.240]:43204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kVaaQ-0001SX-O2
 for 42305 <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:24:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=15G9Gn2C3izntxHQKR86WtnsKvB7Feg0ulE3cHoe83o=; b=i624K+4uDLy+5dA6rLggJXqGEX
 G0vrxL4X6JO+r5qUwHUgHyK58V9TF9fUiDrbgcO/X+CNDLntrnHgIB3iz9oQTegdT2dL8+eqBc1rt
 RHFDK6mMjIhIrp7kT74GJefka+0CDZnJApnugZDI8bjYoGhqmkjkkb6qVVEXqjsswV0w=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kVaaG-0003nC-DO; Thu, 22 Oct 2020 15:24:51 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN> <878sc4kl1e.fsf@HIDDEN>
 <86pn5b8ng8.fsf@HIDDEN> <87a6wepjkl.fsf@HIDDEN>
 <83v9f2l7hu.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUiHR0oIyIhHBxc
 RC2+m2LiuEj////JheCOAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QKFg0YDYqxlGEAAAG6SURBVDjL
 lZNLcuMwDERBTGVPqZI9DeUAo1A5QCL5BBbvf5V0A5TtODOLsOxSCY9A4ydJw3Fyf5iIWpHh8WRJ
 WST9BCLyXzD82kP+CSgfIH03MyeC/AhuoR49aNcHjRQCP8VHO8n3UOiT1GXb6tsdgDUB1K21ts73
 HpnsFea21bmI2OGBv4xn2PcDWACISHJQ61/cLmLmBWZEOjHQpc7IVjEneqQ05CwO1soylB6FMiAy
 vjPSfAVej4+TWa0f7JQWdQ/0hSABXOYBQzqARxMZX9q+V3ZKkbCZ9KYVe2/7GsDugdDu2oeHFKV9
 gjSSEvU3JYgzsWx0wJQXCUrpYK2ou1+17oH3EwDm1C2KIjljAD3X6nZzdW5JCrFlrW8BPJvBQTa1
 aVsq7UVcdPAfcjF93rbVCYH19cL7NC7n9ul5Zt+rFEBf9udzu7hLjlC5uMdTw5bsShDi3l58c1Pb
 cFzjAMb+my5zr4PiKQZDaH84aYtpczFT76YfPrlvBJEw2x9DYFbc5vDw9nh0tL0D/3T7fHw1Crbt
 CpJcDzzkFqoPXgNEqJsp9p8pBLByjWI+bNMOPIBg48coqDj4AnoJVPyyycP5AAAAJXRFWHRkYXRl
 OmNyZWF0ZQAyMDIwLTEwLTIyVDEzOjI0OjEzKzAwOjAwtmdmEAAAACV0RVh0ZGF0ZTptb2RpZnkA
 MjAyMC0xMC0yMlQxMzoyNDoxMyswMDowMMc63qwAAAAASUVORK5CYII=
X-Now-Playing: Jay Glass Dubs's _Epitaph_: "Intro"
Date: Thu, 22 Oct 2020 15:24:47 +0200
In-Reply-To: <83v9f2l7hu.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 22 Oct
 2020 16:23:25 +0300")
Message-ID: <874kmmmm00.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: Lars
 Ingebrigtsen <larsi@HIDDEN> >> Date: Thu,
 22 Oct 2020 13:48:58 +0200 >> Cc: 42305 <at> debbugs.gnu.org
 >> >> Andy Moreton <andrewjmoreton@HIDDEN> writes: >> >> > Does "configure
 --withou [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org, andrewjmoreton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Lars Ingebrigtsen <larsi@HIDDEN>
>> Date: Thu, 22 Oct 2020 13:48:58 +0200
>> Cc: 42305 <at> debbugs.gnu.org
>> 
>> Andy Moreton <andrewjmoreton@HIDDEN> writes:
>> 
>> > Does "configure --without-libgmp" help ?
>> 
>> That's what I tried, and Eli said "no":
>
> No, I said it _should_ produce the same results.
>
> But I think the other factor here is GCC.

Sorry, I misunderstood you.  My gcc version is:

larsi@xo:~/src/emacs/native-compile$ gcc --version
gcc (Debian 10.2.0-13) 10.2.0


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 22 Oct 2020 13:23:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 09:23:18 2020
Received: from localhost ([127.0.0.1]:51820 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVaYo-0001Pv-FK
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:23:18 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33478)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kVaYn-0001Pj-I5
 for 42305 <at> debbugs.gnu.org; Thu, 22 Oct 2020 09:23:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43261)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kVaYi-0003Ic-AT; Thu, 22 Oct 2020 09:23:12 -0400
Received: from [176.228.60.248] (port=2517 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kVaYh-0007ul-Jo; Thu, 22 Oct 2020 09:23:12 -0400
Date: Thu, 22 Oct 2020 16:23:25 +0300
Message-Id: <83v9f2l7hu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87a6wepjkl.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 22 Oct 2020 13:48:58 +0200)
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN> <878sc4kl1e.fsf@HIDDEN>
 <86pn5b8ng8.fsf@HIDDEN> <87a6wepjkl.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org, andrewjmoreton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Thu, 22 Oct 2020 13:48:58 +0200
> Cc: 42305 <at> debbugs.gnu.org
> 
> Andy Moreton <andrewjmoreton@HIDDEN> writes:
> 
> > Does "configure --without-libgmp" help ?
> 
> That's what I tried, and Eli said "no":

No, I said it _should_ produce the same results.

But I think the other factor here is GCC.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 22 Oct 2020 11:49:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 07:49:09 2020
Received: from localhost ([127.0.0.1]:51609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVZ5h-0007Iy-9q
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 07:49:09 -0400
Received: from quimby.gnus.org ([95.216.78.240]:42060)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kVZ5f-0007In-Ud
 for 42305 <at> debbugs.gnu.org; Thu, 22 Oct 2020 07:49:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=mXYSaXbIrKoYEP40F0HwsAyz5Y5o1cwcz6SMw1oq37o=; b=AJ3rNU3j2Seb3CQs8rp6mQ49oK
 lz4J5zP7r1p+JuVgGjZiV2Mba7MNJyqfDIvzjTWSCMz1zhJkmeTlDZz4HPN5rdg0LHLIkWYAeTOSW
 N02GHSo5WrE0xEaKFt7wEqWsHL/Wq6WjwgcOSufi1jYCRubM5pjX61/IWZ8rpgGSDQys=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kVZ5X-0002Ud-Eg; Thu, 22 Oct 2020 13:49:01 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Andy Moreton <andrewjmoreton@HIDDEN>
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN> <878sc4kl1e.fsf@HIDDEN>
 <86pn5b8ng8.fsf@HIDDEN>
X-Now-Playing: Matmos's _Plastic Anniversary_: "Collapse Of The Fourth Kingdom"
Date: Thu, 22 Oct 2020 13:48:58 +0200
In-Reply-To: <86pn5b8ng8.fsf@HIDDEN> (Andy Moreton's message of "Wed, 21
 Oct 2020 19:04:55 +0100")
Message-ID: <87a6wepjkl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Andy Moreton <andrewjmoreton@HIDDEN> writes: > Does
 "configure
 --without-libgmp" help ? That's what I tried, and Eli said "no": 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Andy Moreton <andrewjmoreton@HIDDEN> writes:

> Does "configure --without-libgmp" help ?

That's what I tried, and Eli said "no":

> > Is this with
> > 
> > ./configure --without-libgmp
>
> No, this is on a system without GMP.  config.log says:


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Oct 2020 18:05:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 21 14:05:12 2020
Received: from localhost ([127.0.0.1]:50515 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVIU3-0004hR-UO
	for submit <at> debbugs.gnu.org; Wed, 21 Oct 2020 14:05:12 -0400
Received: from lists.gnu.org ([209.51.188.17]:35046)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kVIU1-0004hI-IX
 for submit <at> debbugs.gnu.org; Wed, 21 Oct 2020 14:05:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59562)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kVIU1-0001uU-9q
 for bug-gnu-emacs@HIDDEN; Wed, 21 Oct 2020 14:05:09 -0400
Received: from static.214.254.202.116.clients.your-server.de
 ([116.202.254.214]:38430 helo=ciao.gmane.io)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kVITz-0001s7-EZ
 for bug-gnu-emacs@HIDDEN; Wed, 21 Oct 2020 14:05:08 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kVITt-0005iv-6f
 for bug-gnu-emacs@HIDDEN; Wed, 21 Oct 2020 20:05:01 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Andy Moreton <andrewjmoreton@HIDDEN>
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
Date: Wed, 21 Oct 2020 19:04:55 +0100
Message-ID: <86pn5b8ng8.fsf@HIDDEN>
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN> <878sc4kl1e.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:ql+46DZyhajdQnHWr3zvIqUpE18=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/21 10:24:31
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: 5
X-Spam_score: 0.5
X-Spam_bar: /
X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001,
 FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

On Sun 18 Oct 2020, Lars Ingebrigtsen wrote:

> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> No, this is on a system without GMP.  config.log says:
>
> Ah, I don't have any systems without GMP I think, so I can't test this
> any further...

Does "configure --without-libgmp" help ?

    AndyM





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 18 Oct 2020 08:15:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 18 04:15:06 2020
Received: from localhost ([127.0.0.1]:36126 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kU3qM-0006GM-Ed
	for submit <at> debbugs.gnu.org; Sun, 18 Oct 2020 04:15:06 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48682)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kU3qJ-0006FW-Va
 for 42305 <at> debbugs.gnu.org; Sun, 18 Oct 2020 04:15:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=/z0fey//9+Z5GH5kcOgQLOGYtwvS7Pl7QW1e+ofVPlQ=; b=IlhDLtE7uIIDir43EoHH8nF3Wz
 67Jv0+JKOccrpJYipvLQoEDmy6FUSr5AE2kY2ePfTopYCx9/aNefk1A2qkVpTBYkzQa4cGbcBqRlu
 MIGNtX+Ed1z2QVxrKrhiqc4hGtO6BrgXgjqLS4KOctQZ9g9MZt5DPRZr8XOvwV1ZCzgg=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kU3qA-0006JM-HP; Sun, 18 Oct 2020 10:14:58 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
 <83eelxt86s.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVDNUhYT2KHdIYf
 GCT0zK+oXWX////KAn60AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QKEgciIGgyBOwAAAG7SURBVDjL
 XZRBcsMgDEWlquzBHvY2SfakTA/Qjr13Oub+V6mEwNAyWWT0pP9BCAMAoHV1TZQSB6z8Iv+BC9yS
 LECnoFVMISRdkg14FTgXbqmhCBYHsAzAdXMX1g6InTq4UwMp4VhxXzqA0eP+TQ1E7CCE+zZ386sk
 CLhdQCuwgu/5OmIBVk4Z2GNu5qjnsKI3jQcEBQQqlkYgyaCdWUZQmkjFy7awycXcWqBS0uJ+24oU
 WydJqDuKHFeA5V7AaTfAnwr6BZd05/N2ASpAlPBV8qsUJQHISv5lNN5AqWPXPNd4ATMUQNHl/Lnl
 LkUVPH0+TB6kSDdFbz4TXlLcQQUoIJpt8KCyW5yRwXsHFitIi8/QAceoaGGyJhszANSOTOTM8e4H
 DwbiFGg1x3mMB+Qbj8iPZkV77gOQKREaA1q//QM8IPNHsHB5XyC4eXossfV2yxVMqyOew96RrHfq
 pgViCKuFP8AKwGd4vJz1/yr4UcXw+Fmduu/b0QDPFLKWU5PcgeMR4We+Kjh3HajyDig9xV7BVywf
 DlAgYk7c9/OQgUYlc5m2qQJTkgWgTnpEnsM9v7wagzyoOtEK8i+W2o66dNtRxAAAACV0RVh0ZGF0
 ZTpjcmVhdGUAMjAyMC0xMC0xOFQwNzozNDozMiswMDowMGkk31EAAAAldEVYdGRhdGU6bW9kaWZ5
 ADIwMjAtMTAtMThUMDc6MzQ6MzIrMDA6MDAYeWftAAAAAElFTkSuQmCC
X-Now-Playing: Rocket To The Sky's _Cigars_: "Cigars"
Date: Sun, 18 Oct 2020 10:14:53 +0200
In-Reply-To: <83eelxt86s.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 17 Oct
 2020 14:15:23 +0300")
Message-ID: <878sc4kl1e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: > No,
 this is on a system
 without GMP. config.log says: Ah, I don't have any systems without GMP I
 think, so I can't test this any further... 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> No, this is on a system without GMP.  config.log says:

Ah, I don't have any systems without GMP I think, so I can't test this
any further...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 17 Oct 2020 11:15:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 17 07:15:30 2020
Received: from localhost ([127.0.0.1]:33579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kTkBO-0002fY-48
	for submit <at> debbugs.gnu.org; Sat, 17 Oct 2020 07:15:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kTkBM-0002fL-II
 for 42305 <at> debbugs.gnu.org; Sat, 17 Oct 2020 07:15:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53892)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kTkBH-0001tk-7H; Sat, 17 Oct 2020 07:15:23 -0400
Received: from [176.228.60.248] (port=2413 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kTkBG-0000wo-Kn; Sat, 17 Oct 2020 07:15:23 -0400
Date: Sat, 17 Oct 2020 14:15:23 +0300
Message-Id: <83eelxt86s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87pn5htbhm.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sat, 
 17 Oct 2020 12:04:05 +0200)
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN> <87pn5htbhm.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 42305 <at> debbugs.gnu.org
> Date: Sat, 17 Oct 2020 12:04:05 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > The configuration with mini-gmp, when GMP is not installed, doesn't
> > compile cleanly.  First, compilation in lib/ emits this warning:
> >
> >     CC       mini-gmp-gnulib.o
> >   mini-gmp-gnulib.c:28:10: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
> >   # pragma GCC diagnostic ignored "-Wsuggest-attribute=malloc"
> 
> Is this with
> 
> ./configure --without-libgmp

No, this is on a system without GMP.  config.log says:

  configure:18948: checking gmp.h usability
  configure:18948: gcc -std=gnu11 -c  -O0 -g3     conftest.c >&5
  configure:18948: $? = 0
  configure:18948: result: yes
  configure:18948: checking gmp.h presence
  configure:18948: gcc -std=gnu11 -E     conftest.c
  configure:18948: $? = 0
  configure:18948: result: yes
  configure:18948: checking for gmp.h
  configure:18948: result: yes
  configure:18954: checking for library containing __gmpz_roinit_n
  configure:18985: gcc -std=gnu11 -o conftest  -O0 -g3       conftest.c -lX11   >&5
  /tmp/cchXnJLF.o: In function `main':
  /home/e/eliz/git/emacs/branch/conftest.c:221: undefined reference to `__gmpz_roinit_n'
  collect2: error: ld returned 1 exit status
  configure:18985: $? = 1
  ...
  configure:19002: result: no

The results should be identical, though, AFAIU.

> If so, I'm not able to reproduce the bug on Debian bullseye.

With what version of GCC?  This could be dependent on the compiler
version; mine in that case is

  gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4

as was reported originally.  (This is on fencepost.gnu.org, btw.)

> But I see that mini-gmp-gnulib.c was updated a couple of weeks after
> you reported this.  Are you still seeing these warnings on your
> system?

The warning in mini-gmp-gnulib.c is indeed gone, but GMP-related
warnings in our own sources still remain.  Examples:

  floatfns.c: In function ‘rescale_for_division’:
  floatfns.c:374:10: warning: assignment from incompatible pointer type [enabled by default]
	 pn = t;
	    ^
  floatfns.c:382:10: warning: assignment from incompatible pointer type [enabled by default]
	 pn = t;
	    ^
    CC       fns.o
  data.c: In function ‘bignum_arith_driver’:
  data.c:2821:9: warning: assignment from incompatible pointer type [enabled by default]
     accum = &mpz[0];
	   ^
  data.c:2843:13: warning: assignment from incompatible pointer type [enabled by default]
	 accum = &mpz[0];
	       ^
  data.c: In function ‘Flogcount’:
  data.c:3157:11: warning: assignment from incompatible pointer type [enabled by default]
      nonneg = &mpz[0];
	     ^
    CC       emacs-module.o
    CC       timefns.o
  timefns.c: In function ‘frac_to_double’:
  timefns.c:622:9: warning: assignment from incompatible pointer type [enabled by default]
	 d = &mpz[1];
	   ^
  timefns.c:630:9: warning: assignment from incompatible pointer type [enabled by default]
	 n = &mpz[0];
	   ^
  timefns.c: In function ‘lisp_to_timespec’:
  timefns.c:923:21: warning: initialization from incompatible pointer type [enabled by default]
     mpz_t const *qt = q;
		       ^
  timefns.c: In function ‘time_arith’:
  timefns.c:1151:10: warning: assignment from incompatible pointer type [enabled by default]
      hzmin = hzmin1;
	    ^
  timefns.c: In function ‘time_cmp’:
  timefns.c:1265:10: warning: assignment from incompatible pointer type [enabled by default]
	 za = &mpz[0];
	    ^
  timefns.c:1266:10: warning: assignment from incompatible pointer type [enabled by default]
	 zb = &mpz[1];
	    ^




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at 42305 <at> debbugs.gnu.org:


Received: (at 42305) by debbugs.gnu.org; 17 Oct 2020 10:04:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 17 06:04:17 2020
Received: from localhost ([127.0.0.1]:33385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kTj4T-0002lY-IN
	for submit <at> debbugs.gnu.org; Sat, 17 Oct 2020 06:04:17 -0400
Received: from quimby.gnus.org ([95.216.78.240]:38466)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kTj4R-0002lH-Qc
 for 42305 <at> debbugs.gnu.org; Sat, 17 Oct 2020 06:04:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=AvD4mr0btrBC9AlpcOwg5LvVPx3z5fbOXn2XaSZQMaU=; b=UESWqFXQ5GQmeZSgM+0FDbSFuc
 fzE4RaPdsqKA5WjCN2eL0Cjplo4GTWOICAQSvsiTb1n/aPAm3fYwT7yLym25a0fO70ZIFilbdZXki
 s2AvyKCtrEW7UUkEr41q0O7WdTvzX+NT2ui+NU0PlLQbz+u7RHB/dMTXpSmHmLDEcQnY=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kTj4I-0002Lb-QD; Sat, 17 Oct 2020 12:04:09 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
References: <E1jtnKF-0006LR-UA@HIDDEN>
X-Now-Playing: Machinedrum's _Vapor City Citizenship Programme_: "Vapor City
 - Vizion Centre Mix"
Date: Sat, 17 Oct 2020 12:04:05 +0200
In-Reply-To: <E1jtnKF-0006LR-UA@HIDDEN> (Eli Zaretskii's message of
 "Fri, 10 Jul 2020 03:20:03 -0400")
Message-ID: <87pn5htbhm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > The configuration with
 mini-gmp, when GMP is not installed, doesn't > compile cleanly. First,
 compilation
 in lib/ emits this warning: > > CC mini-gmp-gnulib.o >
 mini-gmp-gnulib.c:28:10: warning: unk [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42305
Cc: 42305 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> The configuration with mini-gmp, when GMP is not installed, doesn't
> compile cleanly.  First, compilation in lib/ emits this warning:
>
>     CC       mini-gmp-gnulib.o
>   mini-gmp-gnulib.c:28:10: warning: unknown option after =E2=80=98#pragma=
 GCC diagnostic=E2=80=99 kind [-Wpragmas]
>   # pragma GCC diagnostic ignored "-Wsuggest-attribute=3Dmalloc"

Is this with

./configure --without-libgmp

?  If so, I'm not able to reproduce the bug on Debian bullseye.  But I
see that mini-gmp-gnulib.c was updated a couple of weeks after you
reported this.  Are you still seeing these warnings on your system?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jul 2020 07:20:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 10 03:20:07 2020
Received: from localhost ([127.0.0.1]:42178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jtnKJ-0000SJ-3e
	for submit <at> debbugs.gnu.org; Fri, 10 Jul 2020 03:20:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:45076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jtnKH-0000S8-LE
 for submit <at> debbugs.gnu.org; Fri, 10 Jul 2020 03:20:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44832)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1jtnKH-0006Qb-Eg
 for bug-gnu-emacs@HIDDEN; Fri, 10 Jul 2020 03:20:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45927)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>) id 1jtnKH-0004tm-5l
 for bug-gnu-emacs@HIDDEN; Fri, 10 Jul 2020 03:20:05 -0400
Received: from eliz by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <eliz@HIDDEN>) id 1jtnKF-0006LR-UA
 for bug-gnu-emacs@HIDDEN; Fri, 10 Jul 2020 03:20:04 -0400
From: Eli Zaretskii <eliz@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; Compilation warnings with mini-gmp
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-Id: <E1jtnKF-0006LR-UA@HIDDEN>
Date: Fri, 10 Jul 2020 03:20:03 -0400
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

The configuration with mini-gmp, when GMP is not installed, doesn't
compile cleanly.  First, compilation in lib/ emits this warning:

    CC       mini-gmp-gnulib.o
  mini-gmp-gnulib.c:28:10: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
  # pragma GCC diagnostic ignored "-Wsuggest-attribute=malloc"

Next, compilation in src/ yields further warnings:

  data.c: In function ‘bignum_arith_driver’:
  data.c:2811:9: warning: assignment from incompatible pointer type [enabled by default]
     accum = &mpz[0];
	   ^
  data.c:2833:13: warning: assignment from incompatible pointer type [enabled by default]
	 accum = &mpz[0];
	       ^
  data.c: In function ‘Flogcount’:
  data.c:3147:11: warning: assignment from incompatible pointer type [enabled by default]
      nonneg = &mpz[0];
	     ^

  floatfns.c: In function ‘rescale_for_division’:
  floatfns.c:374:10: warning: assignment from incompatible pointer type [enabled by default]
	 pn = t;
	    ^
  floatfns.c:382:10: warning: assignment from incompatible pointer type [enabled by default]
	 pn = t;
	    ^

  timefns.c: In function ‘frac_to_double’:
  timefns.c:622:9: warning: assignment from incompatible pointer type [enabled by default]
	 d = &mpz[1];
	   ^
  timefns.c:630:9: warning: assignment from incompatible pointer type [enabled by default]
	 n = &mpz[0];
	   ^
  timefns.c: In function ‘lisp_to_timespec’:
  timefns.c:923:21: warning: initialization from incompatible pointer type [enabled by default]
     mpz_t const *qt = q;
		       ^
  timefns.c: In function ‘time_arith’:
  timefns.c:1151:10: warning: assignment from incompatible pointer type [enabled by default]
      hzmin = hzmin1;
	    ^
  timefns.c: In function ‘time_cmp’:
  timefns.c:1265:10: warning: assignment from incompatible pointer type [enabled by default]
	 za = &mpz[0];
	    ^
  timefns.c:1266:10: warning: assignment from incompatible pointer type [enabled by default]
	 zb = &mpz[1];
	    ^

This is using

eliz@fencepost:~/git/emacs/trunk$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


In GNU Emacs 28.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version 2.24.23, cairo version 1.13.1)
 of 2020-07-10 built on fencepost.gnu.org
Repository revision: 9ade7ea7b77ec40c16deb4dff139ce7127a703e2
Repository branch: master
System Description: Trisquel GNU/Linux Belenos (7.0)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --with-gif=no --with-tiff=no --with-jpeg=no --with-modules

Configured features:
XPM PNG CAIRO SOUND GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS
LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK2
X11 XDBE XIM MODULES THREADS PDUMPER

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv bytecomp
byte-compile cconv tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 47162 6676)
 (symbols 48 6045 1)
 (strings 32 15344 1830)
 (string-bytes 1 501765)
 (vectors 16 7245)
 (vector-slots 8 75540 8480)
 (floats 8 22 301)
 (intervals 56 181 0)
 (buffers 992 10)
 (heap 1024 3481 920))





Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#42305; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 22 Oct 2020 13:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.