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

s390x detected as 32bit in mtr tests

    XMLWordPrintable

    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

            People

            Assignee:
            danblack Daniel Black
            Reporter:
            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.