From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Obs on non-x86 Date: Thu, 14 Jul 2016 17:03:01 +0200 Message-ID: <20160714150301.GA17368@solar> References: <20160712070019.GA4828@solar> <20160712080627.GA4575@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiAQ-0008Nr-NB for guix-devel@gnu.org; Thu, 14 Jul 2016 11:03:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNiAM-0004RH-Dk for guix-devel@gnu.org; Thu, 14 Jul 2016 11:03:09 -0400 Received: from mailrelay7.public.one.com ([91.198.169.215]:62785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiAL-0004R0-TL for guix-devel@gnu.org; Thu, 14 Jul 2016 11:03:06 -0400 Content-Disposition: inline In-Reply-To: <20160712080627.GA4575@debian-netbook> 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: Efraim Flashner Cc: guix-devel@gnu.org On Tue, Jul 12, 2016 at 11:06:27AM +0300, Efraim Flashner wrote: > A quick fix would be to change `IF(NOT MSVC)' to `IF(MSVC)' and (without > checking) that would likely get the old functionality back, but I bet > there's somewhere else we can change it. This is a somewhat misleading fix, and if I understand things correctly, it disables the special instructions "-mmx" etc. everywhere; but we should keep them for x86_64. For instance, in the definition of zynaddsubfx we have (add-after 'unpack 'remove-sse-flags-from-generic-target (lambda _ (substitute* "src/CMakeLists.txt" (("-msse -msse2 -mfpmath=sse") "") (("-march=(athlon64|core2)" flag) (string-append flag " -msse -msse2 -mfpmath=sse"))) #t))))) I think this would warrant a bug report upstream, preferably by someone who uses the package. Andreas