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

Build on AIX w/IBMs C compiler xtradb c++ build issues

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0.17-galera
    • 10.0.20
    • None

    Description

      [ 40%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/dict/dict0mem.cc.o
      "/home/buildsw/packages/mariadb/storage/xtradb/dict/dict0mem.cc", line 747.53: 1540-0294 (S) An object or reference of type "std::set<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *> >::iterator" cannot be initialized with an rvalue of type "std::_Tree<std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,0> >::const_iterator".
      storage/xtradb/CMakeFiles/xtradb.dir/build.make:542: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/dict/dict0mem.cc.o' failed

      Attachments

        Activity

          Does this happen also with more recent version of MariaDB e.g. 10.0.20 ?

          jplindst Jan Lindström (Inactive) added a comment - Does this happen also with more recent version of MariaDB e.g. 10.0.20 ?

          This one seems to fixed, xtradb now fails at

          [ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o
          "/home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char *" cannot be converted to type "unsigned char *".
          storage/xtradb/CMakeFiles/xtradb.dir/build.make:1262: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o' failed

          I'll open a new ticket

          petepdx2 Pete Lancashire added a comment - This one seems to fixed, xtradb now fails at [ 43%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o "/home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char *" cannot be converted to type "unsigned char *". storage/xtradb/CMakeFiles/xtradb.dir/build.make:1262: recipe for target 'storage/xtradb/CMakeFiles/xtradb.dir/log/log0log.cc.o' failed I'll open a new ticket

          In /home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char " cannot be converted to type "unsigned char *"., problem is that on that line I see byte tmp_buf = static_cast<byte *>(alloca(OS_FILE_LOG_BLOCK_SIZE)); that looks correct. Can you provide me what is at the line where you get the error and all other errors.

          jplindst Jan Lindström (Inactive) added a comment - In /home/buildsw/packages/MARIADB/mariadb-10.0.20/storage/xtradb/log/log0log.cc", line 259.53: 1540-0216 (S) An expression of type "char " cannot be converted to type "unsigned char *"., problem is that on that line I see byte tmp_buf = static_cast<byte *>(alloca(OS_FILE_LOG_BLOCK_SIZE)); that looks correct. Can you provide me what is at the line where you get the error and all other errors.

          Original issue already fixed and new MDEV opened for new one.

          jplindst Jan Lindström (Inactive) added a comment - Original issue already fixed and new MDEV opened for new one.

          People

            jplindst Jan Lindström (Inactive)
            petepdx2 Pete Lancashire
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.