Make fails for Building a GHC cross-compiler for Apple iOS target (i386-apple-darwin11)
I followed the instructions for Building a GHC cross-compiler for Apple iOS targets (http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS).
I ran the ./configure --target=i386-apple-darwin11 --prefix=/usr/local/ghc-ios-sim/ which ran successfully. However, make failed with the below error:
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:145:0:
no such instruction: `vmovss 40(%ebx), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:146:0:
no such instruction: `vmovss %xmm0, -4(%ebp)'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:155:0:
no such instruction: `vmovsd 64(%ebx), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:156:0:
no such instruction: `vmovsd %xmm0, -8(%ebp)'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:165:0:
no such instruction: `vmovsd 208(%ebx), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:166:0:
no such instruction: `vmovsd %xmm0, -8(%ebp)'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:663:0:
no such instruction: `vmovss 4(%ebp), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:664:0:
no such instruction: `vmovss %xmm0, 40(%ebx)'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:681:0:
no such instruction: `vmovsd 4(%ebp), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:682:0:
no such instruction: `vmovsd %xmm0, 64(%ebx)'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:699:0:
no such instruction: `vmovsd 4(%ebp), %xmm0'
/var/folders/cv/1jdvk8bj2sjd_zz5x0d9w05h0000gn/T/ghc50871_0/ghc50871_0.s:700:0:
no such instruction: `vmovsd %xmm0, 208(%ebx)'
make[1]: *** [rts/dist/build/HeapStackCheck.o] Error 1
make: *** [all] Error 2
Setup details my end:
GCC: head
Mac OS X version: 10.8.4
GCC: 4.2.1
LLVM: 3.2svn
XCode: 4.6.3
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |