Skip to content

armhf : Validate fails during bindisttest configure

The failure is:

/usr/bin/install -c -m 644  libraries/prologue.txt "/home/erikd/ghc-git/bindisttest/install   dir/share/doc/ghc/html/libraries/"
/usr/bin/install -c -m 755  libraries/gen_contents_index "/home/erikd/ghc-git/bindisttest/install   dir/share/doc/ghc/html/libraries/"
bindisttest/"install   dir"/bin/runghc bindisttest/HelloWorld > bindisttest/output
diff -U 1 bindisttest/output bindisttest/expected_output
bindisttest/"install   dir"/bin/ghc --make bindisttest/HelloWorld
[1 of 1] Compiling Main             ( bindisttest/HelloWorld.lhs, bindisttest/HelloWorld.o )

<no location info>:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM
ghc: could not execute: opt

Since this is armhf, this was built with llvm, and the configure process found the correct versions of the llvm tools; ie /usr/bin/llc-3.6 and /usr/bin/opt-3.6. Furthermore, file inplace/lib/settings file specifies the correct versions.

However, file bindisttest/install dir/lib/ghc-7.11.20150402/settings file just uses llc and opt which don't actually exist.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by erikd
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information