Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42989

undefined symbol 'cti_vm_throw' in gcc with lto enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.4.0 RC
    • Qt Script
    • None

    Description

      QtScript fails at linking step with gcc-4.9.2 with following flags used:

      x86_64-pc-linux-gnu-g++ Wl,-O1 -Wl,as-needed -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -flto-compression-level=9 -fno-fat-lto-objects -Wl,-no-undefined -fuse-ld=gold -shared -Wl,-Bsymbolic-functions

      error message:
      /var/tmp/portage/dev-qt/qtscript-5.4.0_rc/temp/ccehWCZQ.ltrans0.ltrans.o(.text+0x4c): error: undefined reference to 'cti_vm_throw'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            karolherbst Karol Herbst
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change