GNU bug report logs -
#19749
orpheus does not build on mips64
Previous Next
Reported by: Andreas Enge <andreas <at> enge.fr>
Date: Mon, 2 Feb 2015 22:29:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 19749 <at> debbugs.gnu.org (full text, mbox):
Andreas Enge <andreas <at> enge.fr> 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=<triplet> 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
This bug report was last modified 6 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.