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

tst_toolsupport::offsets(QFilePrivate::fileName) fails on x32 ABI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 RC, 6.8.0 FF
    • 6.6.2
    • Core: Other
    • None
    • Linux/X11
    • 24245d2a8 (dev), 8007f6acb (6.7)

    Description

      It seems like on x32 ABI (the x86_64 instructions with 32bit pointers) alignment rules are same as on regular 64 bit apps.

       

      FAIL!  : tst_toolsupport::offsets(QFilePrivate::fileName) Compared values are not the same
        Actual   (actual): 300
        Expected (expect): 264
        Loc: [/root/b/tst_toolsupport.cpp(67)]

      Fix is attached, however, a long comment on top of that test file that I'm not sure how to handle:

      //
      // Note:
      //
      // When this test here fails and the change leading to the failure
      // intentionally changed a private class, adjust the test here and bump
      // the TypeInformationVersion field in src/corelib/global/qhooks.cpp
      // in the same commit as the modification to the private class.
      //
      // Please also notify downstream users of the information checked here
      // such as Qt Creator developers, of such a change by putting them
      // on Cc: on the respective change on gerrit.
      //

      Attachments

        For Gerrit Dashboard: QTBUG-122720
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            hate-engine Andrey Batyiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes