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 1988732 - grub2: Disable annobin for big-endian linking on ppc64le
Summary: grub2: Disable annobin for big-endian linking on ppc64le
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: grub2
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Bootloader engineering team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-31 14:33 UTC by Florian Weimer
Modified: 2021-09-08 17:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1989178 (view as bug list)
Environment:
Last Closed: 2021-09-01 10:43:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1983727 1 unspecified CLOSED redhat-rpm-config: Turn on annobin plugin when linking in LTO mode 2023-09-15 01:11:42 UTC
Red Hat Issue Tracker RHELPLAN-91777 0 None None None 2021-07-31 14:34:00 UTC

Description Florian Weimer 2021-07-31 14:33:26 UTC
Bug 1983727 switches on the annobin plugin for linker invocations. Unfortunately, that causes a grub2 configure test to fail with relocation errors:

+{standard input}: Assembler messages:
+{standard input}:16: Error: reloc 1 not supported by object file format
+{standard input}:17: Error: reloc 1 not supported by object file format
+{standard input}:543: Error: reloc 1 not supported by object file format
+{standard input}:544: Error: reloc 1 not supported by object file format
+{standard input}:618: Error: reloc 1 not supported by object file format
+{standard input}:619: Error: reloc 1 not supported by object file format
+{standard input}:122: Error: reloc 1 not supported by object file format
+{standard input}:123: Error: reloc 1 not supported by object file format
+{standard input}:228: Error: reloc 1 not supported by object file format
+{standard input}:229: Error: reloc 1 not supported by object file format
+{standard input}:334: Error: reloc 1 not supported by object file format
+{standard input}:335: Error: reloc 1 not supported by object file format
+{standard input}:440: Error: reloc 1 not supported by object file format
+{standard input}:441: Error: reloc 1 not supported by object file format

It seems necessary to extend the annobin removal from CFLAGS to LDFLAGS.

Comment 1 Florian Weimer 2021-07-31 14:41:07 UTC
Merge request: https://gitlab.com/redhat/centos-stream/rpms/grub2/-/merge_requests/7

Built against c9s-build-side-221-stack-gate, which has redhat-rpm-config-187-1.el9.

Comment 2 Florian Weimer 2021-07-31 17:15:21 UTC
Booting with a scratch build on this side tag still works, and the reported GCC version has changed:

grub> version
GNU GRUB  version 2.06~rc1
Platform powerpc-ieee1275
Compiler version 11.2.1 20210728 (Red Hat 11.2.1-2)
grub>


Note You need to log in before you can comment on or make changes to this bug.