Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 5234] New: kexec fails to build
@ 2012-05-19 23:57 bugzilla at busybox.net
  2012-10-16  2:16 ` [Buildroot] [Bug 5234] " bugzilla at busybox.net
  2013-05-26 14:25 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-05-19 23:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5234

           Summary: kexec fails to build
           Product: buildroot
           Version: 2012.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: baruch at ev-en.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 4358
  --> https://bugs.busybox.net/attachment.cgi?id=4358
patch to make kexec compile in cross-builds

Building kexec as part of buildroot with the uclibc library I get that the
bin-to-hex utility fails to build, this is because it requires libc.so.0 which
is not available on the host and is only generated as part of the buildroot
tree. To overcome this kexec needs to build bin-to-hex with the HOSTCC. I've
noticed that this was a patch in buildroot which was dropped at some point. So
I recreated it, I also sent it to upstream kexec-tools mailing list and hope it
will be accepted for future versions.

The patch as needed for buildroot is attached, it needs to be dropped into
packages/kexec/

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 5234] kexec fails to build
  2012-05-19 23:57 [Buildroot] [Bug 5234] New: kexec fails to build bugzilla at busybox.net
@ 2012-10-16  2:16 ` bugzilla at busybox.net
  2013-05-26 14:25 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-10-16  2:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5234

--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2012-10-16 02:16:00 UTC ---
Did you try with a newer version of Buildroot which uses kexec 2.0.3?
If it still fails, can you attach a sample .config since i can't reproduce?
A simple solution would be to pass the BUILD_CC and BUILD_CFLAGS variables to
configure, no kexec-tools patching needed and it's there to be used.
Thanks.

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 5234] kexec fails to build
  2012-05-19 23:57 [Buildroot] [Bug 5234] New: kexec fails to build bugzilla at busybox.net
  2012-10-16  2:16 ` [Buildroot] [Bug 5234] " bugzilla at busybox.net
@ 2013-05-26 14:25 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 14:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5234

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-05-26 14:24:44 UTC ---
I've just tested with the latest Buildroot, and bin-to-hex is properly built
with the host compiler and later used without problem.

...
cc   -O2 -Wall -o bin/bin-to-hex util/bin-to-hex.c
...
bin/bin-to-hex purgatory < purgatory/purgatory.ro > kexec/purgatory.c
...

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-26 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19 23:57 [Buildroot] [Bug 5234] New: kexec fails to build bugzilla at busybox.net
2012-10-16  2:16 ` [Buildroot] [Bug 5234] " bugzilla at busybox.net
2013-05-26 14:25 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox