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 2086118 - Backport fix for resolving 'ar' and 'nm' giving ELFCLASS32 errors
Summary: Backport fix for resolving 'ar' and 'nm' giving ELFCLASS32 errors
Keywords:
Status: CLOSED DUPLICATE of bug 2039117
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: binutils
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks: 2091051
TreeView+ depends on / blocked
 
Reported: 2022-05-13 23:24 UTC by Brandon Clark
Modified: 2023-07-18 14:19 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2091051 (view as bug list)
Environment:
Last Closed: 2022-05-30 06:48:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-122033 0 None None None 2022-05-13 23:26:19 UTC

Description Brandon Clark 2022-05-13 23:24:26 UTC
Description of problem:
Customer running RHEL 8.4 is observing similar error to upstream fedora bug 1836618. This listing is in regards to backporting the fix from this listing to RHEL 8.6, if it has not been implemented at this time.

Version-Release number of selected component (if applicable):
binutils-2.30-93.el8.x86_64
RHEL 8 up to at least 8.4

How reproducible:
Customer is able to consistently reproduce this behavior.
I have personally not been able to reproduce the behavior.

Actual results:
Error observed:
ar: /usr/bin/../bin/../lib/bfd-plugins/LLVMgold.so: wrong ELF class: ELFCLASS32

Expected results:
Code compiles without error.

Additional info:
I am asking if the customer is able to test on a machine running RHEL 8.6 at this current time and will update here with their result.

Comment 1 Nick Clifton 2022-05-16 14:29:22 UTC
(In reply to Brandon Clark from comment #0)
> Customer running RHEL 8.4 is observing similar error to upstream fedora bug
> 1836618. This listing is in regards to backporting the fix from this listing
> to RHEL 8.6, if it has not been implemented at this time.

A fix to RHEL 8.6 has already been implemented.  This was for:

  https://bugzilla.redhat.com/show_bug.cgi?id=2039117
 
> I am asking if the customer is able to test on a machine running RHEL 8.6 at
> this current time and will update here with their result.

If the customer cannot use RHEL 8.6 then they may be able to work around the 
problem by removing the llvm-libs.i686 package.  Assuming that they are happy
to do so.  If not, then this will have to become a z-stream BZ in order to get
the fix backported to 8.4.

Comment 2 Brandon Clark 2022-05-16 23:12:27 UTC
Hello again,

The customer has implemented the workaround on another test system of removing the 32-bit llvm-libs package. They confirmed that their code is compiling successively after doing so. With that said, they are still interested in the z-stream update and are creating a piece of test code specifically for troubleshooting.

Brandon Clark, RHCE
Red Hat Global Support Services

Comment 4 Oneata Mircea Teodor 2022-05-30 06:48:12 UTC

*** This bug has been marked as a duplicate of bug 2039117 ***


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