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

Undefined reference to `__gxx_personality_v0' when building WebKitGTK with Clang on i686

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • rhel-9.7
    • CentOS Stream 9
    • gcc-toolset-13
    • None
    • No
    • None
    • ZStream
    • rhel-pt-gcc
    • ssg_platform_tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Regression Exception
    • None
    • None
    • i686
    • None

      I'm trying to build the webkit2gtk3 package for CentOS Stream 9. The build fails only on i686 architecture with the following error:

      /opt/rh/gcc-toolset-13/root/usr/lib/gcc/i686-redhat-linux/13/../../../../bin/ld: /opt/rh/gcc-toolset-13/root/usr/lib/gcc/i686-redhat-linux/13/libstdc++_nonshared.a(debug110.o): undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
      /opt/rh/gcc-toolset-13/root/usr/lib/gcc/i686-redhat-linux/13/../../../../bin/ld: /usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line
      clang++: error: linker command failed with exit code 1 (use -v to see invocation) 

      Here is the Koji task with full build log.

      Problem seems to be caused by WebKit's use of -fno-exceptions and -fno-rtti. Jakub says "the fix is amending the libstdc++.so linker script."

              mpolacek@redhat.com Marek Polacek
              mcatanza@redhat.com Michael Catanzaro
              Marek Polacek Marek Polacek
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: