Bug 2232377 - i686 libstdc++_nonshared80.a lacking .hidden
Summary: i686 libstdc++_nonshared80.a lacking .hidden
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marek Polacek
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-16 14:45 UTC by Marek Polacek
Modified: 2023-08-16 18:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165913 0 None None None 2023-08-16 15:30:13 UTC

Description Marek Polacek 2023-08-16 14:45:45 UTC
gcc-toolset-12-gcc-12.2.1-7.4.el8 on i686 has a problem:

+ grep 'HIDDEN.*UND'
+ grep -v __dso_handle
   237: 00000000     0 NOTYPE  GLOBAL HIDDEN   UND _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEjjPKcj
   238: 00000000     0 NOTYPE  GLOBAL HIDDEN   UND _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_mutateEjjPKwj

causing

/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/i686-redhat-linux/12/ld: lib/libwebkit2gtk-4.0.so.37.63.5: hidden symbol `_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_mutateEjjPKwj' isn't defined
/opt/rh/gcc-toolset-12/root/usr/libexec/gcc/i686-redhat-linux/12/ld: final link failed: bad value

gcc12-libstdc++-compat.patch needs two .hidden directives for those two symbols.


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