Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26109

s390x detected as 32bit in mtr tests

Details

    Description

      mysql-test/include/have_32bit.inc
      mysql-test/include/have_64bit.inc
      storage/mroonga/mysql-test/mroonga/include/mroonga/check_64bit.inc

      All check 64 bit based on 64 appearing in @@version_compile_machine. On s390x this isn't the case.

      version_compile_machine is derived from SYSTEM_TYPE which though a lot of hackery in cmake/package_name.cmake defines PLATFORM. In s390x's case this is based on CMAKE_SYSTEM_PROCESSOR which in the unix case is from uname -m. On s390x this is exactly "s390x" hence no-match and therefore 32 bit (which is definitely not the case).

      As most of the mtr tests that use this macro are using it because of the UINT_MAX value used in system variable, lets use that as the test case for 32 vs 64 bit.

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Vicențiu Ciorbaru made transition -
          Open In Progress
          5h 38m 1
          Vicențiu Ciorbaru made transition -
          In Progress In Review
          22s 1
          Daniel Black made transition -
          Stalled In Review
          19h 36m 1
          Vicențiu Ciorbaru made transition -
          In Review Stalled
          46d 10h 52m 2
          Daniel Black made transition -
          Stalled Closed
          10h 26m 1

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.