Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7546

i686 libstdc++_nonshared80.a lacking .hidden

    • None
    • None
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 16
    • 17
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Release Note Not Required
    • None

      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.

              mpolacek@redhat.com Marek Polacek
              mpolacek@redhat.com Marek Polacek
              Marek Polacek Marek Polacek
              Vaclav Kadlcik Vaclav Kadlcik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: