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 1960236 - gcc-10.3.1 segfaults when compiling binutils
Summary: gcc-10.3.1 segfaults when compiling binutils
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: annobin
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Nick Clifton
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-13 11:27 UTC by Alexandra Petlanová Hájková
Modified: 2021-09-17 14:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-15 02:34:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexandra Petlanová Hájková 2021-05-13 11:27:17 UTC
Description of problem:
gcc-10.3.1 segfaults when compiling binutils

How reproducible:
rpmbuild -bb  --clean /root/rpmbuild/SPECS/binutils.spec


x86_64-redhat-linux-g++ -DHAVE_CONFIG_H -I.  -I. -I./../include -I./../elfcpp -DLOCALEDIR="\"/opt/rh/gcc-toolset-10/root/usr/share/locale\"" -DBINDIR="\"/opt/rh/gcc-toolset-10/root/usr/bin\"" -DTOOLBINDIR="\"/opt/rh/gcc-toolset-10/root/usr/bin\"" -DTOOLLIBDIR="\"/opt/rh/gcc-toolset-10/root/usr/lib\""   -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=archive.o -I./../zlib -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o archive.o archive.cc
annobin: archive.cc: ICE: unknown debug info type
annobin: archive.cc: ICE: Please contact the annobin maintainer with details of this problem
annobin: archive.cc: ICE: unknown debug info level
annobin: archive.cc: ICE: Please contact the annobin maintainer with details of this problem
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbol
In file included from object.h:33,
                 from readsyms.h:29,
                 from archive.cc:36:
archive.h: In member function ‘virtual const string& gold::Archive::do_filename() const’:
archive.h:273:3: internal compiler error: Segmentation fault
  273 |   do_filename() const
      |   ^~~~~~~~~~~
Please submit a full bug report,


Versions:
gcc-toolset-10-gcc-10.3.1-1.el8.x86_64
gcc-toolset-10-binutils-2.35-6.el8.x86_64

Comment 1 Marek Polacek 2021-05-13 19:31:02 UTC
This is an annobin problem, I think it needs to be rebuilt with gcc-toolset-10-gcc-10.3.1-1.el8.

Comment 2 Marek Polacek 2021-05-15 02:34:34 UTC
We're not going to ship gcc-toolset-10-gcc-10.3.1-1.el8 in RHEL 8.5.0, so I'm closing this BZ.


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