[GHC] #10973: Building git HEAD with a singe make job fails due to dependency problem
GHC
ghc-devs at haskell.org
Thu Oct 15 20:20:41 UTC 2015
#10973: Building git HEAD with a singe make job fails due to dependency problem
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Build System | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Description changed by erikd:
Old description:
> 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 it keeps failing if I run `make` without any `-j` option.
>
> Building with `make -j<N>` where `N` is 2 or more is fine.
>
> Looks like some sort of dependency problem.
New description:
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.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10973#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list