Ticket #3763 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

make -j8 fails for ghc-6.12.1-pre

Reported by: juhpetersen Owned by:
Priority: normal Milestone: 7.0.1
Component: Build System Version: 6.12.1
Keywords: Cc: michal.terepeta@…
Operating System: Linux Architecture: x86
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I can provide more details I think but parallel make with 8 jobs failed for me with ghc-6.12.1-pre. make -j4 seems worked ok.

Attachments

build.log Download (7.4 KB) - added by michalt 3 years ago.
The build log.

Change History

Changed 3 years ago by igloo

  • milestone set to 6.12.2

Can you tell us what went wrong please?

Changed 3 years ago by simonmar

  • status changed from new to closed
  • resolution set to worksforme

No response from submitter, and I can't make it fail here. I have seen a problem where multiple ghc-pkg invocations trip over each other, but I can't seem to repeat it now. Let's close this ticket and re-open it (or a new one) if the problem reappears.

Changed 3 years ago by michalt

  • cc michal.terepeta@… added
  • failure changed from None/Unknown to Building GHC failed
  • status changed from closed to new
  • resolution worksforme deleted

I seem to be able to reproduce the bug. The build fails when used with at least -j8 (i.e. I couldn't reproduce it with -j set to 7 or lower). It seems that the mkdirhier script is run before it's actually ready. I'm attaching the build log. Please let me know if you need any more information.

Changed 3 years ago by michalt

The build log.

Changed 3 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 6.12.2 to 6.14.1

Thanks for the report. Happily, this is already fixed in the HEAD. 6.12 branch has

rts/dist/build/sm/Evac_thr.c : rts/sm/Evac.c
    "$(MKDIRHIER)" $(dir $@)
    cp $< $@

while HEAD has

rts/dist/build/sm/Evac_thr.c : rts/sm/Evac.c | $$(dir $$@)/.
    cp $< $@
Note: See TracTickets for help on using tickets.