Skip to contentSkip to conversation

New: grub fails to build for x86_64 target architecture

Buildroot bugzilla at busybox.net 1 participant 3 messages Apr 4, 2012 – Dec 4, 2013

lore
Share & tools
lore
#0 lore raw

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

Summary: grub fails to build for x86_64 target architecture
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: zkdigisec at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 4232
--> https://bugs.busybox.net/attachment.cgi?id=4232
grub autoconf log file

When buildroot is configured for x86_64 as the target architecture, grub configuration fails with the following error message:

checking for x86_64-linux-gcc... (cached) /home/user/Downloads/buildroot-2012.02/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [/home/user/Downloads/buildroot-2012.02/output/build/grub-0.97/.stamp_configured] Error 77

The problem seems to be that the 32-bit libraries are not available (or used) in the 64-bit cross-compiler toolchain.

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 5024] grub fails to build for x86_64 target architecture

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

--- Comment #1 from Thomas Petazzoni <[email protected]> 2013-11-14 00:22:14 UTC --- I've posted a series of patches at
http://lists.busybox.net/pipermail/buildroot/2013-November/082351.html that fix
this 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.
#2 lore raw

[Buildroot] [Bug 5024] grub fails to build for x86_64 target architecture

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Thomas Petazzoni <[email protected]> 2013-12-04 20:40:44 UTC --- The patch series has been committed now.

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.