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

QTWebkit build fails with gcc 5.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.2
    • 5.5.0
    • WebKit
    • None
    • 650c6ee8e76bb574d3a1bea09e2494992d8f070e

    Description

      When compiling with gcc 5.0 We get link failures on missing putByIndexBeyondVectorLengthWithoutAttributes

      Problem is we are depending upon a behavior of compiler where we are expecting it to emit template and not optimize them away. gcc 5.0 bites us since it does optimize away one of instance after inlining

      gcc-5.0 - O2
      ==============

      readelf -sW JSObject.o | c++filt | grep putByIndexBeyondVectorLengthWithoutAttributes
      298: 00000000 284 FUNC WEAK HIDDEN 43 void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)22>(JSC::ExecState*, unsigned int, JSC::JSValue)
      300: 00000000 264 FUNC WEAK HIDDEN 45 void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)26>(JSC::ExecState*, unsigned int, JSC::JSValue)

      gcc-5.0 - O1
      ============

      readelf -sW a.o | c++filt | grep putByIndexBeyondVectorLengthWithoutAttributes
      505: 00000000 224 FUNC WEAK DEFAULT 128 void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)20>(JSC::ExecState*, unsigned int, JSC::JSValue)
      507: 00000000 252 FUNC WEAK DEFAULT 138 void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)22>(JSC::ExecState*, unsigned int, JSC::JSValue)
      510: 00000000 224 FUNC WEAK DEFAULT 147 void JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes<(unsigned char)26>(JSC::ExecState*, unsigned int, JSC::JSValue)

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            khem Khem Raj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes