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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.17-galera
    • Fix Version/s: 10.0.20
    • Labels:
      None
    • Environment:

      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
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            jplindst Jan Lindström added a comment -

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

            Show
            jplindst Jan Lindström added a comment - Does this happen also with more recent version of MariaDB e.g. 10.0.20 ?
            Hide
            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

            Show
            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
            Hide
            jplindst Jan Lindström 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.

            Show
            jplindst Jan Lindström 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.
            Hide
            jplindst Jan Lindström added a comment -

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

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

              People

              • Assignee:
                jplindst Jan Lindström
                Reporter:
                petepdx2 Pete Lancashire
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: