From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: libgd security update / i686 issues Date: Thu, 28 Jul 2016 10:40:49 +0200 Message-ID: <20160728084049.GB1693@solar> References: <20160728072337.GA1011@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSgsI-0005dF-C1 for guix-devel@gnu.org; Thu, 28 Jul 2016 04:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSgsC-0005do-9L for guix-devel@gnu.org; Thu, 28 Jul 2016 04:41:01 -0400 Received: from mailrelay6.public.one.com ([91.198.169.200]:36606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSgsB-0005dg-Sk for guix-devel@gnu.org; Thu, 28 Jul 2016 04:40:56 -0400 Content-Disposition: inline In-Reply-To: <20160728072337.GA1011@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org On Thu, Jul 28, 2016 at 03:23:37AM -0400, Leo Famulari wrote: > I built it on x86_64, and also cross-built to i686-linux. The 32-bit rounding > issue that Mark fixed with commit 27326064 was reported upstream [1], > and the suggested workaround is to add "-msse -mfpmath=sse" to CFLAGS > [2]. Well, the bug report states that the result is correct on armv7. Apparently i686 is not IEEE compliant by default, while armv7 is. So it should be okay to apply the flags only on i686. We assume that SSE, but not SSE2 or later are supported, see our Qt package. Andreas