Skip to contentSkip to conversation

New: AT91SAM9260 Bootstrap compilation problem

Buildroot bugzilla at busybox.net 1 participant 5 messages Aug 15, 2012 – Feb 11, 2014 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

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.
#1 lore raw

[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.
#2 lore raw

[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem

In reply to bugzilla at busybox.net

https://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.
#4 lore raw

[Buildroot] [Bug 5450] AT91SAM9260 Bootstrap compilation problem

In reply to bugzilla at busybox.net

https://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.