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

qt-4.8.6 webkit: fails to compile on MIPS64 n32 platforms

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.6
    • WebKit
    • None
    • Distribution: BuildRoot
      Cross-compiling for MIPS64 n32 platform

    Description

      It fails to compile on MIPS64 n32 platforms, at this point:

      qt-4.8.6/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Assertions.h:326

      /* COMPILE_ASSERT */
      #ifndef COMPILE_ASSERT
      #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
      #endif

      With an error message like this one:

      ./wtf/StdLibExtras.h: In instantiation of 'TO WTF::bitwise_cast(FROM) [with TO = int; FROM = double]':
      runtime/JSValueInlineMethods.h:495:44: required from here
      ./wtf/Assertions.h:326:47: error: size of array is negative
      #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]

      MIPS64 n32 is a 64-bit architecture which has 32-bit pointers and 32-bit long integers, so maybe that's the problem here.

      A complete build log is attached.

      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
            vincent- Vicente Olivert Riera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes