[ANNOUNCE] 7.10.3 release candidate 2 - problems compiling source on Mac OS with clang

George Colpitts george.colpitts at gmail.com
Mon Nov 9 14:49:58 UTC 2015


redid with just make rather than make -j5. I get


...
chmod +x libraries/integer-gmp2/gmp/ln
# Their cmd invocation only works on msys. On cygwin it starts
# a cmd interactive shell. The replacement works in both environments.
mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh
libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig
sed 's#cmd //c echo "\$1"#cmd /c "echo $1"#' <
libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig >
libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh
cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o igncr;
export SHELLOPTS; \
   PATH=`pwd`:$PATH; \
   export PATH; \
   cd gmpbuild && \
   CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \
         --enable-shared=no \
         --host=x86_64-apple-darwin --build=x86_64-apple-darwin
/bin/sh: SHELLOPTS: readonly variable
checking build system type... /bin/sh: SHELLOPTS: readonly variable
/bin/sh: SHELLOPTS: readonly variable
x86_64-apple-darwin
checking host system type... /bin/sh: SHELLOPTS: readonly variable
/bin/sh: SHELLOPTS: readonly variable
x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: SHELLOPTS: readonly variable
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking whether clang is gcc... yes
checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha ev6
char spilling
checking ABI=32
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 9:32 AM, Ben Gamari <ben at smart-cactus.org> wrote:

> George Colpitts <george.colpitts at gmail.com> writes:
>
> > I get
> >
> > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1
> > make[1]: *** Waiting for unfinished jobs....
>
> It looks like the build failed somewhere before this point. Could you
> provide a more complete log?
>
> Cheers,
>
> - Ben
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20151109/4764acb7/attachment-0001.html>


More information about the ghc-devs mailing list