New: AT91SAM9260 Bootstrap compilation problem
https://bugs.busybox.net/show_bug.cgi?id=5450
Summary: AT91SAM9260 Bootstrap compilation problem
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: peter.stosz at freemail.hu
CC: buildroot at uclibc.org
Estimated Hours: 0.0
2012.08-rc2 clean install.
Target: AT91SAM9260EK. Only target set, nothing more changed. AT91 Bootstrap not compiled.
(Env: Debian 6 32bit)
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem
https://bugs.busybox.net/show_bug.cgi?id=5450
--- Comment #1 from Peter Stosz <[email protected]> 2012-08-15 22:39:09 UTC --- Created attachment 4496
--> https://bugs.busybox.net/attachment.cgi?id=4496
AT91 bootstrap make log
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5450
--- Comment #2 from Thomas Petazzoni <[email protected]> 2012-08-17 12:28:37 UTC --- 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:
(quoted diff) +0 -0
b/boot/at91bootstrap/at91bootstrap.mk
index d8caed7..35f6260 100644
boot/at91bootstrap/at91bootstrap.mk +0 -0
@@ -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
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5450
--- Comment #3 from Thomas Petazzoni <[email protected]> 2012-08-21 11:53:52 UTC --- Any news?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5450
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Thomas De Schampheleire <[email protected]> 2014-02-11 21:10:47 UTC --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.