Comment 11 for bug 1042388

Revision history for this message
Predrag Radovic (predrg) wrote :

Until proper patch is available I'm using attached temp workaround.

After some testing GHC and produced executables appear to work correctly in foreign arch chroot.

I'm sure there will be issues but I only need compilation to work in foreign arch chroot because I will deploy produced executables to Raspberry Pi anyway.

cabal-installing works too but I had to comment out anything related to Template Haskell from (to be installed) packages.

versions:

qemu 1.4.1 (static build)
host: Linux proton 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 20:31:08 CEST 2013 x86_64 GNU/Linux
foreign: Linux proton 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 20:31:08 CEST 2013 armv6l GNU/Linux
chroot created from 2013-02-09-wheezy-raspbian.img
ghc 7.4.1-4+rpi1 armhf