Status and future of the LLVM backend

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


Joachim Breitner <mail at joachim-breitner.de> writes:

> Hi,
>
>
> Am Samstag, den 06.12.2014, 16:19 +0100 schrieb Joachim Breitner:
>> nevermind, I found
>> https://ghc.haskell.org/trac/ghc/ticket/9552 and
>> https://git.haskell.org/ghc.git/patch/2a8ea4745d6ff79d6ce17961a64d9013243fc3c6
>> 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

snip

> Again Google finds me a bug, but this time one that has no fix
> associated with it:
> https://ghc.haskell.org/trac/ghc/ticket/8951
>
> 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-0.5.1.0...
    configure: WARNING: unrecognized options: --with-compiler, --with-gcc
    configure: error: cannot run /bin/bash ./config.sub
    libraries/integer-gmp/ghc.mk:4: recipe for target 'libraries/integer-gmp/dist-install/package-data.mk' 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?

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141208/541f819f/attachment.sig>


More information about the ghc-devs mailing list