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 1445644 - ifuncmod1.so ifuncmod3.so ifuncmod5.so tests fail during "make check" with binutils 2.27
Summary: ifuncmod1.so ifuncmod3.so ifuncmod5.so tests fail during "make check" with bi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: glibc
Version: 7.4
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Arjun Shankar
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1471969
TreeView+ depends on / blocked
 
Reported: 2017-04-26 08:39 UTC by Sergey Kolosov
Modified: 2018-04-10 14:00 UTC (History)
6 users (show)

Fixed In Version: glibc-2.17-203.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-04-10 13:58:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
partial "make check" log (15.10 KB, text/plain)
2017-04-26 08:39 UTC, Sergey Kolosov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1440250 0 unspecified CLOSED elf/check-localplt test fails with binutils 2.27 2021-06-10 12:10:01 UTC
Red Hat Product Errata RHSA-2018:0805 0 None None None 2018-04-10 14:00:11 UTC

Internal Links: 1440250

Description Sergey Kolosov 2017-04-26 08:39:27 UTC
Created attachment 1274115 [details]
partial "make check" log

Description of problem:
ifuncmod1.so ifuncmod3.so ifuncmod5.so fail during "make check" with binutils 2.27

Version-Release number of selected component (if applicable):

glibc-2.17-192.el7
binutils-2.27-7.base.el7

How reproducible:
build glibc, make check

Steps to Reproduce:

1. rpmbuild -bc ~/rpmbuild/SPECS/glibc.spec
2. cd ~/rpmbuild/BUILD/glibc-*/build-*/ && make check

Actual results:
ifuncmod1.so ifuncmod3.so ifuncmod5.so tests fails

Expected results:
ifuncmod1.so ifuncmod3.so ifuncmod5.so must be passed

Additional info:

The bug is reproduced on x86_64 arch only.

partial "make check" log is attached

Comment 2 Arjun Shankar 2017-04-26 10:45:57 UTC
Florian mentioned that this could be related to upstream commit e0ed2fb4. Applying this and rebuilding the glibc rpms didn't reproduce the errors.

Comment 3 Carlos O'Donell 2017-07-20 06:53:28 UTC
We should fix this.

commit e0ed2fb40a0e29c43cf60addc74741dab15f2e05
Author: H.J. Lu <hjl.tools>
Date:   Fri Mar 6 04:55:56 2015 -0800

    Replace __attribute__((visibility("protected")))
    
    With copy relocation, address of protected data defined in the shared
    library may be external.  Compiler shouldn't asssume protected data will
    be local.  But due to
    
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248
    
    __attribute__((visibility("protected"))) doesn't work correctly, we need
    to use asm (".protected xxx") instead.
    
            * elf/ifuncdep2.c (global): Replace
            __attribute__((visibility("protected"))) with
            asm (".protected global").
            * elf/ifuncmod1.c (global): Likewise.
            * elf/ifuncmod5.c (global): Likewise.

Comment 8 errata-xmlrpc 2018-04-10 13:58:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0805


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