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

storage/xtradb/fil/fil0pagecompress.cc fails to compile on i686-linux

Details

    Description

      When compiling for i686-linux, 10.1.8 gives errors like mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* {aka long unsigned int*}' to 'size_t* {aka unsigned int*}' [-fpermissive] That's a regression in comparison with 10.0.21 (for example).

      You can inspect a full build log on http://hydra.nixos.org/build/26786301/nixlog/1/raw

      Attachments

        Activity

          vcunat Vladimír Čunát created issue -
          vcunat Vladimír Čunát made changes -
          Field Original Value New Value
          Description When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* {aka long unsigned int*}' to 'size_t* {aka unsigned int*}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example). When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* \{aka long unsigned int*\}' to 'size_t* \{aka unsigned int*\}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example).
          vcunat Vladimír Čunát made changes -
          Description When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* \{aka long unsigned int*\}' to 'size_t* \{aka unsigned int*\}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example). When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* \{aka long unsigned int*\}' to 'size_t* \{aka unsigned int*\}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example).

          You can inspect a full build log on
          vcunat Vladimír Čunát made changes -
          Description When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* \{aka long unsigned int*\}' to 'size_t* \{aka unsigned int*\}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example).

          You can inspect a full build log on
          When compiling for i686-linux, 10.1.8 gives errors like {{mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* \{aka long unsigned int*\}' to 'size_t* \{aka unsigned int*\}' [-fpermissive]}} That's a regression in comparison with 10.0.21 (for example).

          You can inspect a full build log on http://hydra.nixos.org/build/26786301/nixlog/1/raw
          elenst Elena Stepanova made changes -
          Status Open [ 1 ] Confirmed [ 10101 ]
          elenst Elena Stepanova added a comment - - edited

          vcunat, thanks for the report.


          Reproducible for example on Jessie, too – possibly everywhere when snappy (libsnappy-dev or alike) is installed.

          elenst Elena Stepanova added a comment - - edited vcunat , thanks for the report. Reproducible for example on Jessie, too – possibly everywhere when snappy (libsnappy-dev or alike) is installed.
          elenst Elena Stepanova made changes -
          Fix Version/s 10.1 [ 16100 ]
          Assignee Jan Lindström [ jplindst ]
          elenst Elena Stepanova made changes -
          Component/s Storage Engine - InnoDB [ 10129 ]
          Component/s Storage Engine - XtraDB [ 10135 ]
          jplindst Jan Lindström (Inactive) made changes -
          Status Confirmed [ 10101 ] In Progress [ 3 ]

          commit f2ab9abbd621e3b261146d7bb769d6b844b5fb10
          Author: Jan Lindström <jan.lindstrom@mariadb.com>
          Date: Wed Oct 28 09:14:22 2015 +0200

          MDEV-9000: storage/xtradb/fil/fil0pagecompress.cc fails to compile on i686-linux

          Incorrect parameter type was used. Fixed by casting data types to correct
          ones.

          jplindst Jan Lindström (Inactive) added a comment - commit f2ab9abbd621e3b261146d7bb769d6b844b5fb10 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Wed Oct 28 09:14:22 2015 +0200 MDEV-9000 : storage/xtradb/fil/fil0pagecompress.cc fails to compile on i686-linux Incorrect parameter type was used. Fixed by casting data types to correct ones.
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.1.9 [ 20301 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 72245 ] MariaDB v4 [ 149749 ]

          People

            jplindst Jan Lindström (Inactive)
            vcunat Vladimír Čunát
            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.