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 1802238 - Broken symbolic links in the gcc-toolset-9-gcc package
Summary: Broken symbolic links in the gcc-toolset-9-gcc package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc-toolset-9
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Marek Polacek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-12 17:07 UTC by Jaromir Hradilek
Modified: 2023-07-18 14:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-18 21:48:32 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaromir Hradilek 2020-02-12 17:07:17 UTC
Description of problem:
When browsing the discussions on the Customer Portal, I noticed a thread about a missing libasan library in the gcc-toolset-9-gcc package:

https://access.redhat.com/discussions/4724561

After installing this package on my RHEL 8 machine, I noticed that this problem is not limited just to libasan, but there is the total number of 9 broken symbolic links that point to their i686 counterparts that are not present in the system and don't seem to be included in any other package that I have access to with my subscription.


Version-Release number of selected component (if applicable):
gcc-toolset-9-gcc-9.1.1-2.4.el8.x86_64


How reproducible:
Always.

Steps to Reproduce:
1. Install the latest version of the gcc-toolset-9-gcc package:

   # dnf install gcc-toolset-9-gcc

2. Look for broken symbolic links in the /opt/rh/gcc-toolset-9/ directory:

  # find /opt/rh/gcc-toolset-9/ -xtype l


Actual results:
[root@eight ~]# find /opt/rh/gcc-toolset-9/ -xtype l
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libasan.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libasan_preinit.o
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libatomic.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libitm.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libquadmath.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libubsan.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libstdc++.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libstdc++_nonshared.a
/opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/32/libstdc++fs.a
[root@eight ~]#


Expected results:
[root@eight ~]# find /opt/rh/gcc-toolset-9/ -xtype l
[root@eight ~]#


Additional info:
[root@eight ~]# dnf provides /opt/rh/gcc-toolset-9/root/usr/lib/gcc/i686-redhat-linux/9/libasan.a
Updating Subscription Management repositories.
Last metadata expiration check: 0:57:20 ago on Wed 12 Feb 2020 05:07:54 PM CET.
Error: No Matches found

Comment 1 Marek Polacek 2020-02-12 17:12:19 UTC
Not a bug, this is intentional.  Same in DTS.

Comment 2 Marek Polacek 2020-02-18 21:48:32 UTC
(The symlinks will be satisfied if the corresponding *.i686 packages are installed.)

Closing, though we could use Recommends: instead of Requires: on newer RHELs.


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