Skip to content

Building git HEAD with a singe make job fails due to dependency problem

If I clone git HEAD and do:

perl boot && ./configure && make

The build fails with:

/usr/bin/ld: cannot find -lHSghc-boot-0.0.0.0
collect2: error: ld returned 1 exit status

and after that point it keeps failing no matter what I do. Doing a make clean followed by make -j<N> with N >= 2 is fine.

Akso building from scratch with:

perl boot && ./configure && make -j<N>

with N of 2 or more is fine.

Looks like some sort of dependency problem.

Edited by erikd
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information