Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 698708

Summary: grub requires building against glibc-static.i686 on x86_64 based systems
Product: Red Hat Enterprise Linux 6 Reporter: Robert M Williams <rwilliam>
Component: grubAssignee: Peter Jones <pjones>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1   
Target Milestone: rc   
Target Release: 6.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When rebuilding the grub package on the x86_64 architecture, the glibc-static.i686 package must be used. Using the glibc-static.x86_64 package will not meet the build requirements.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-21 15:22:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 702988    
Attachments:
Description Flags
Patch for grub-0.97 failing to build on x86_64 hosts none

Description Robert M Williams 2011-04-21 14:59:47 UTC
Description of problem:
grub requires building against glibc-static.i686 on x86_64 based systems

Version-Release number of selected component (if applicable):
grub-0.97-70.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:
grub build fails unless build against static 32-bit version of glibc

Expected results:
grub builds on x86_64 platforms without need to specify specific library

Additional info:

Comment 3 David Cantrell 2011-04-21 15:22:02 UTC
grub has to build this way, even on x86_64 systems.  It must build against
glibc-static.i686 and /usr/lib/crt1.o.

Comment 4 David Cantrell 2011-04-21 15:22:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
If you want to rebuild the grub package, you must use the glibc-static.i686 package and not the glibc-static.x86_64 package to meet the build requirements.

Comment 6 Ryan Lerch 2011-05-10 23:30:39 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-If you want to rebuild the grub package, you must use the glibc-static.i686 package and not the glibc-static.x86_64 package to meet the build requirements.+When rebuilding the grub package on the x86_64 architecture, the glibc-static.i686 package must be used. Using the glibc-static.x86_64 package will not meet the build requirements.

Comment 7 Nico Kadel-Garcia 2012-07-07 22:10:18 UTC
Created attachment 596819 [details]
Patch for grub-0.97 failing to build on x86_64 hosts

This *actually solves* the grub dependency problem of requiring glibc-static.i686 on x86_64 architecture, and applies the solution only to the x86_64 build environment to avoid adventures on PPC or other architectures.