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

Compile error in debug mode on s390x (srw_lock.cc)

    XMLWordPrintable

Details

    Description

      Tried to compile the server in debug mode on s390x but I ran into a compile error in srw_lock.cc (https://github.com/MariaDB/server/blob/10.11/storage/innobase/sync/srw_lock.cc#L121).

      [ 65%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/sync/srw_lock.cc.o
      /home/tester/server/storage/innobase/sync/srw_lock.cc: In function ?bool xtest()?:
      /home/tester/server/storage/innobase/sync/srw_lock.cc:121:17: error: ?__builtin_ttest? was not declared in this scope; did you mean ?__builtin_tend??
        121 |     _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
            |                 ^~~~~~~~~~~~~~~
            |                 __builtin_tend
      /home/tester/server/storage/innobase/sync/srw_lock.cc:121:5: error: ?_HTM_STATE? was not declared in this scope
        121 |     _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
            |     ^~~~~~~~~~
      /home/tester/server/storage/innobase/sync/srw_lock.cc:121:40: error: ?_HTM_TRANSACTIONAL? was not declared in this scope
        121 |     _HTM_STATE (__builtin_ttest ()) == _HTM_TRANSACTIONAL;
            |                                        ^~~~~~~~~~~~~~~~~~
      make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/build.make:1406: storage/innobase/CMakeFiles/innobase.dir/sync/srw_lock.cc.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:5108: storage/innobase/CMakeFiles/innobase.dir/all] Error 2
      make: *** [Makefile:166: all] Error 2
      

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              vivkong Vivian Kong
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.