That fixed it! Thanks guys!
On Sun, Dec 15, 2013 at 3:17 AM, Luke Iannini
Oops, the wiki had a typo!
Step 3 should have been:
rm libffi-tarballs/libffi-3.0.11.tar.gz wget https://github.com/ghc-ios/libffi-tarballs/blob/master/libffi-3.0.13z.tar.gz... -O libffi-tarballs/libffi-3.0.13z.tar.gz
I’ve fixed it now, can you try those commands and let me know if it helps?
Cheers Luke
On Sat, Dec 14, 2013 at 9:57 AM, Schell Scivally
wrote: So it looks like I've run into a problem when building the arm cross-compiler:
libtool: compile: arm-apple-darwin10-clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -fno-stack-protector -w -c ../src/arm/sysv.S -Wp,-MD,src/arm/.deps/sysv.TPlo -o src/arm/sysv.o
*../src/arm/sysv.S:137:1: **warning: **macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect*
.macro ARM_FUNC_START name
*^*
*../src/arm/sysv.S:224:2: **error: **invalid instruction*
stmeqia r2, {r0, r1}
* ^*
*<instantiation>:5:14: **error: **invalid symbol redefinition*
.globl _$0; _$0:
* ^*
*../src/arm/sysv.S:269:1: **note: **while in macro instantiation*
ARM_FUNC_START ffi_closure_SYSV
*^*
*../src/arm/sysv.S:137:1: **warning: **macro defined with named parameters which are not used in macro body, possible positional parameter found in body which will have no effect*
.macro ARM_FUNC_START name
*^*
*../src/arm/sysv.S:224:2: **error: **invalid instruction*
stmeqia r2, {r0, r1}
* ^*
*<instantiation>:5:14: **error: **invalid symbol redefinition*
.globl _$0; _$0:
* ^*
*../src/arm/sysv.S:269:1: **note: **while in macro instantiation*
ARM_FUNC_START ffi_closure_SYSV
*^*
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: src/arm/sysv-armv7.o (No such file or directory)
rm: src/arm/sysv-armv7.o: No such file or directory
rm: src/arm/sysv-armv7s.o: No such file or directory
make[5]: *** [src/arm/sysv.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-all] Error 2
make[1]: *** [libffi/stamp.ffi.static.build] Error 2
make: *** [all] Error 2
On Sat, Dec 14, 2013 at 9:19 AM, Schell Scivally
wrote: Yup - that seemed to clear it up. I've successfully built the simulator cc and am working on the arm cc. Thanks!
On Fri, Dec 13, 2013 at 6:12 PM, Luke Iannini
wrote: Hi Schell,
That one was supposed to have been fixed: https://ghc.haskell.org/trac/ghc/ticket/7700 so perhaps try doing a "make distclean" and starting again (perl boot, configure etc.) now that you've fixed your gcc issue?
Cheers Luke
On Fri, Dec 13, 2013 at 4:14 PM, Schell Scivally
wrote:
It seems I've run into another error:
Configuring ghc-pkg-6.9...
ghc-cabal: At least the following dependencies are missing:
terminfo -any
make[1]: *** [utils/ghc-pkg/dist-install/package-data.mk] Error 1
make: *** [all] Error 2
-- Schell Scivally http://blog.efnx.com http://github.com/schell http://twitter.com/schellsan
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
-- Schell Scivally http://blog.efnx.com http://github.com/schell http://twitter.com/schellsan
-- Schell Scivally http://blog.efnx.com http://github.com/schell http://twitter.com/schellsan
-- Schell Scivally http://blog.efnx.com http://github.com/schell http://twitter.com/schellsan