| Summary: | AT91SAM9260 Bootstrap compilation problem | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Peter Stosz <peter.stosz> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | AT91 bootstrap make log | ||
|
Description
Peter Stosz
2012-08-15 22:37:56 UTC
Created attachment 4496 [details]
AT91 bootstrap make log
Thanks for reporting this bug! After a quick analysis, it sounds like the AT91Bootstrap makefile is not parallel-build capable: it runs the "clean" procedure and the build procedure in parallel, so depending on the scheduling and other conditions, it may happen that some .o files get removed after they have been produced. Can you try the below change and see if it fixes the problem for you: diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk index d8caed7..35f6260 100644 --- a/boot/at91bootstrap/at91bootstrap.mk +++ b/boot/at91bootstrap/at91bootstrap.mk @@ -31,7 +31,7 @@ AT91BOOTSTRAP_POST_PATCH_HOOKS += AT91BOOTSTRAP_APPLY_CUSTOM_PATCHES endif define AT91BOOTSTRAP_BUILD_CMDS - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) + $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)/$(AT91BOOTSTRAP_MAKE_SUBDIR) endef define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS Any news? The patch proposed in comment #2 has been applied with commit 3ebb2e80844088de6ea8a923762ac2c47437d810 in buildroot 2013.08. Therefore I'm closing this bug. Please reopen if you still experience the same problem. |