From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: failing packages Date: Sat, 17 Oct 2015 10:11:52 +0200 Message-ID: <87mvvhzzg7.fsf@elephly.net> References: <20151006124812.3e2c2f3f@debian-netbook> <20151016201135.GA14772@debian> <20151016210206.GA23225@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnMb5-0006d2-47 for guix-devel@gnu.org; Sat, 17 Oct 2015 04:12:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnMb1-00067B-RM for guix-devel@gnu.org; Sat, 17 Oct 2015 04:12:11 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnMb1-00066m-HF for guix-devel@gnu.org; Sat, 17 Oct 2015 04:12:07 -0400 In-reply-to: <20151016210206.GA23225@debian> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Andreas Enge writes: > How about non-sequencer? > http://hydra.gnu.org/build/725259/nixlog/1/tail-reload > > It fails with messages > g++: error: unrecognized command line option ‘-msse2’ > g++: error: unrecognized command line option ‘-mfpmath=sse’ > g++: error: unrecognized command line option ‘-msse2’ > g++: error: unrecognized command line option ‘-mfpmath=sse’ > g++: error: unrecognized command line option ‘-msse2’ > g++: error: unrecognized command line option ‘-mfpmath=sse’ > g++: error: unrecognized command line option ‘-msse2’ > g++: error: unrecognized command line option ‘-mfpmath=sse’ > > Shall we disable everything but x86_64? No. How about the attached patch? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-non-sequencer-Disable-SSE-when-not-building-on-x.patch >From dfde69d64fa16b653d87283930cddb2082e8fa49 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 17 Oct 2015 10:10:07 +0200 Subject: [PATCH] gnu: non-sequencer: Disable SSE when not building on x86_64. * gnu/packages/music.scm (non-sequencer)[arguments]: Add "--disable-sse" flag when not building on x86_64. --- gnu/packages/music.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index fe8e6f1..a72f754 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -274,7 +274,13 @@ Guile.") (build-system waf-build-system) (arguments `(#:tests? #f ;no "check" target - #:configure-flags '("--project=sequencer") + #:configure-flags + (list "--project=sequencer" + ;; Disable the use of SSE unless on x86_64. + ,@(if (not (string-prefix? "x86_64" (or (%current-target-system) + (%current-system)))) + '("--disable-sse") + '())) #:python ,python-2)) (inputs `(("jack" ,jack-1) -- 2.5.0 --=-=-=--