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.
Debuginfo conflict with *libatomic* files on 64-bit ARM architecture between _gcc_ and _gcc-libraries_ resolved
Previously, on the 64-bit ARM architecture the *libatomic* library was included in the _gcc-libraries_ package but *libatomic* was built also during creation of the _gcc_ package. As a consequence, debuginfo packages for both of the mentioned packages contained files for *libatomic* and conflicted. The conflict has been resolved. As a result, debuginfo packages for _gcc_ and _gcc-debuginfo_ no longer cause a conflict.
Currently, gcc-4.8.5-16.el7 for aarch64 doesn't ship libatomic, so
gcc-libraries on aarch64 comes with libatomic, to support DTS-built
applications.
Upstream 4.8 doesn't support libatomic on aarch64: in libatomic/configure.tgt
you'll find
case "${target}" in
aarch64*)
# This is currently not supported in AArch64.
UNSUPPORTED=1
;;
But redhat/gcc-4.8 actually supports libatomic on aarch64; the bits above were removed in
<https://gcc.gnu.org/viewcvs/gcc/branches/redhat/gcc-4_8-branch/libatomic/configure.tgt?r1=195337&r2=212553>.
But the spec file for rhel7 gcc has:
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm}
%global build_libatomic 1
%else
%global build_libatomic 0
%if %{build_libatomic}
%files -n libatomic
[...]
which means that we *build* libatomic on aarch64, it just isn't included in
a subpackage. But it still ends up in the debuginfo! So gcc-debuginfo and
gcc-libraries-debuginfo clash.
I believe we should:
* fix rhel7 gcc spec file so it actually includes the libatomic subpackage on aarch64,
* drop the libatomic subpackage from gcc-libraries.
So the debuginfos don't clash anymore:
# rpmquery -a | grep gcc | grep debuginfo
gcc-debuginfo-4.8.5-26.el7.aarch64
gcc-base-debuginfo-4.8.5-26.el7.aarch64
gcc-libraries-debuginfo-7.2.1-1.1.1.el7.aarch64
I don't know what exactly changed, but libatomic remains a part of gcc-libraries, its debuginfo is in gcc-libraries-debuginfo, gcc-debuginfo no more contains conflicting files. So it makes sense and works for me.
VERIFIED.
(In reply to Michael Petlan from comment #7)
> So the debuginfos don't clash anymore:
>
> # rpmquery -a | grep gcc | grep debuginfo
> gcc-debuginfo-4.8.5-26.el7.aarch64
> gcc-base-debuginfo-4.8.5-26.el7.aarch64
> gcc-libraries-debuginfo-7.2.1-1.1.1.el7.aarch64
>
> I don't know what exactly changed, but libatomic remains a part of
> gcc-libraries, its debuginfo is in gcc-libraries-debuginfo, gcc-debuginfo no
> more contains conflicting files. So it makes sense and works for me.
Correct, the change was in the end in gcc, so this is expected.
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:0849
Currently, gcc-4.8.5-16.el7 for aarch64 doesn't ship libatomic, so gcc-libraries on aarch64 comes with libatomic, to support DTS-built applications. Upstream 4.8 doesn't support libatomic on aarch64: in libatomic/configure.tgt you'll find case "${target}" in aarch64*) # This is currently not supported in AArch64. UNSUPPORTED=1 ;; But redhat/gcc-4.8 actually supports libatomic on aarch64; the bits above were removed in <https://gcc.gnu.org/viewcvs/gcc/branches/redhat/gcc-4_8-branch/libatomic/configure.tgt?r1=195337&r2=212553>. But the spec file for rhel7 gcc has: %ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} %global build_libatomic 1 %else %global build_libatomic 0 %if %{build_libatomic} %files -n libatomic [...] which means that we *build* libatomic on aarch64, it just isn't included in a subpackage. But it still ends up in the debuginfo! So gcc-debuginfo and gcc-libraries-debuginfo clash. I believe we should: * fix rhel7 gcc spec file so it actually includes the libatomic subpackage on aarch64, * drop the libatomic subpackage from gcc-libraries.