From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#19749: orpheus does not build on mips64 Date: Thu, 05 Feb 2015 11:08:11 -0500 Message-ID: <878ugcwdck.fsf@yeeloong.lan> References: <20150202222819.GA26430@debian> <87a90vcyyx.fsf@netris.org> <20150204162021.GA23747@debian.eduroam.u-bordeaux.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJP2J-0006Dd-TI for bug-guix@gnu.org; Thu, 05 Feb 2015 11:12:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJP2A-0004vy-H2 for bug-guix@gnu.org; Thu, 05 Feb 2015 11:12:07 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:43678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJP2A-0004vs-Eq for bug-guix@gnu.org; Thu, 05 Feb 2015 11:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YJP2A-0002CI-6D for bug-guix@gnu.org; Thu, 05 Feb 2015 11:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20150204162021.GA23747@debian.eduroam.u-bordeaux.fr> (Andreas Enge's message of "Wed, 4 Feb 2015 17:20:21 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 19749@debbugs.gnu.org Andreas Enge writes: > On Tue, Feb 03, 2015 at 01:04:38AM -0500, Mark H Weaver wrote: >> The config.guess problem can be easily worked around by passing >> --build= to configure. I would suggest something similar to >> what I did in the gmp package to get it working on armhf: >> (arguments `(#:configure-flags >> '(;; Build a "fat binary", with routines for several >> ;; sub-architectures. >> "--enable-fat" >> "--enable-cxx" >> >> ;; FIXME: gmp-6.0.0a's config.guess fails on >> ;; multi-core armhf systems. >> ,@(if (%current-target-system) >> '() >> (let ((triplet >> (nix-system->gnu-triplet (%current-system)))) >> (list (string-append "--build=" triplet))))))) >> Would you like to try this? > > Alternatively, could we not simply copy a newer config.guess as a patch > into the source tree? If yes, what would be preferable? The patch would be quite large. I think it's cleaner to pass --build. In fact, I think we should pass --build to _all_ builds by default, because on several architectures config.guess looks at /proc/cpuinfo and the output of uname to optimize for the particular CPU in the build machine, which I think we don't want. However, Ludovic resisted and I haven't yet had time to follow up on that. Thanks, Mark