Broken build: 32-bit FreeBSD, SmartOS, Solaris
cg
chengang31 at gmail.com
Fri Oct 10 11:30:09 UTC 2014
On 10/10/2014 5:51 PM, Karel Gardas wrote:
>
> It looks like this patch is the culprit:
>
> 5300099ed rts/Linker.c (Simon Marlow 2014-10-01
> 13:15:05 +0100 2372) oc->symbol_extras = NULL;
>
Yes, that is it and another line is x86_64 only (arch_name is):
if (image == NULL) {
+#if defined(x86_64_HOST_ARCH)
errorBelch("%" PATH_FMT ": failed to allocate memory for image",
arch_name);
+#endif
return NULL;
>> Note that the x86_64 counterparts of the affected builders completed
>> their builds fine -- except for Solaris, but that has been broken
>> already for a long time (relatively).
>
I would like to take the chance to ask a question:
How can I configure to build x86_64?
When I build GHC (with msys2), it always builds i386 and I haven't spotted
the option in ./configure to choose a x86_64 release.
Thanks,
cg
More information about the ghc-devs
mailing list