crosscompiling fails wihout -j1 flag
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
for example
```
cabal --with-gcc=arm-linux-gnueabi-gcc-5 --with-ghc=arm-unknown-linux-gnueabi-ghc \
--with-ghc-pkg=arm-unknown-linux-gnueabi-ghc-pkg --with-ld=arm-linux-gnueabi-ld \
--with-strip=arm-linux-gnueabi-strip --reinstall -v install pipes
```
outputs https://gist.github.com/ra1u/d20112e9819bd9680a59#file-cabal-fail
but adding flag `-j1` works fine
cabal version is 1.22.1.1
Contributor guide
Research direction
Start by reproducing the cross-compilation command shown in the issue with Cabal 1.22.1.1 and compare its output with the same command using -j1. Read the linked failure gist to identify the parallel-build failure; done means the cross-compilation install succeeds without requiring -j1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100