Thanks Carter. I will check out your build

Any ideas as to why mine failed? I am on OS 10.11.1 with Xcode 7.1 compiling using clang with make -j5

After the error shown below I typed make again and got:

...
checking whether clang is gcc... yes
checking compiler clang -m32 -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling
checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling
configure: error: could not find a working compiler, see config.log for details
make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1
make: *** [all] Error 2



On Mon, Nov 9, 2015 at 12:07 AM, Carter Schonwald <carter.schonwald@gmail.com> wrote:
nope, my error was a bad copy and paste :) 

heres a link to my build (uses the GCC style rts build, which should be more performant than the default clang one last i checked, also has html docs and should work OS X >= 10.7)


(http:// also works)


shasum -a512 ghc-7.10.2.20151105-x86_64-apple-darwin.tar.bz2
003a23929a17e9d01f52ef0a9388b6af51d409eda12627b20500c820f44da1e21976a46da7a50d040072cf5243a05d8f6a4344899fe3c2d8fb3f4f101ef29dce  

for those who want to check the check the sha sum



On Sun, Nov 8, 2015 at 9:36 PM, George Colpitts <george.colpitts@gmail.com> wrote:
I get

make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1
make[1]: *** Waiting for unfinished jobs....
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking for _ prefix in compiled symbols... yes
checking whether .eh_frame section should be read-only... expr: syntax error
no
checking for __attribute__((visibility("hidden")))... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: build in x86_64-apple-darwin (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
# wc on OS X has spaces in its output, which libffi's Makefile
# doesn't expect, so we tweak it to sed them out
mv libffi/build/Makefile libffi/build/Makefile.orig
sed "s#wc -w#wc -w | sed 's/ //g'#" < libffi/build/Makefile.orig > libffi/build/Makefile
"touch" libffi/stamp.ffi.static-shared.configure
make: *** [all] Error 2

Is that the same error you are getting?


On Sun, Nov 8, 2015 at 9:34 PM, Carter Schonwald <carter.schonwald@gmail.com> wrote:
I'm having trouble setting the make file flags to make the Mac build use the intree gmp.  I'm going to dig into this a bit more this evening. 


On Sunday, November 8, 2015, Ben Gamari <ben@well-typed.com> wrote:
Ben Gamari <ben@well-typed.com> writes:

> Ben Gamari <ben@well-typed.com> writes:
>
>> Hello everyone,
>>
>> We are pleased to announce the second release candidate for GHC 7.10.3:
>>
>>     https://downloads.haskell.org/~ghc/7.10.3-rc2/
>>
> It has been brought to my attention that the configure script in this
> source tarballs is out of date. Because of this `configure` will
> still fail on OS X. Reports suggest that there may be other issues
> unrelated to the configure issue on OS X as well.
>
Further testing suggests that perhaps the only issue is the out-of-date
`configure` script. Mac OS X users with `autotools` installed should be
able to run `./boot` in the source tree to bring `configure` up-to-date,
at which point this release candidate should be buildable.

I'll cut an -rc3 with a fixed `configure` script today.

Cheers,

- Ben


_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs