Status and future of the LLVM backend

Ben Gamari bgamari.foss at
Mon Dec 8 13:20:06 UTC 2014

Joachim Breitner <mail at> writes:

> Hi,
> Am Samstag, den 06.12.2014, 16:19 +0100 schrieb Joachim Breitner:
>> nevermind, I found
>> and
>> and will try with these.
>> Once I get it to compile I’ll give a complete list of patches that I had
>> to backport, with the recommendation to include them in GHC 7.8.4.
> and the build went further, I now have


> Again Google finds me a bug, but this time one that has no fix
> associated with it:
> Ben, can you help me out here?
I've been unable to reproduce this issue in my environment. The build
succeeded using your packaging on my Odroid XU running Debian Jessie.

Unfortunately every subsequent build seems to fail with this
build system issue,

    "inplace/bin/ghc-cabal" configure libraries/integer-gmp dist-install "" --with-ghc="/mnt/ext/ghc/debian/ghc-7.8.20141119/inplace/bin/ghc-stage1" --with-ghc-pkg="/mnt/ext/ghc/debian/ghc-7.8.20141119/inplace/bin/gh
    c-pkg"  --disable-library-for-ghci --enable-library-vanilla --enable-library-profiling --enable-shared --with-hscolour="/usr/bin/HsColour" --configure-option=CFLAGS=" -fno-stack-protector   " --configure-option=L
    DFLAGS="   " --configure-option=CPPFLAGS="   " --gcc-options=" -fno-stack-protector       " --with-gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --
    with-ranlib="/usr/bin/ranlib" --with-alex="/home/ben/.cabal/bin/alex" --with-happy="/home/ben/.cabal/bin/happy"
    Configuring integer-gmp-
    configure: WARNING: unrecognized options: --with-compiler, --with-gcc
    configure: error: cannot run /bin/bash ./config.sub
    libraries/integer-gmp/ recipe for target 'libraries/integer-gmp/dist-install/' failed

It seems that this is likely due to dh_autoreconf which overwrites all
config.subs with /usr/share/misc/config.sub. It's totally unclear to me
how the first build succeeded, however.

Have you seen this in the past?


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list