Details

    • 10.2.0-3

    Description

      As reported on IRC: using gcc-5.3 and binutils-2.25.1 on gentoo, compilation fails with errors from ar like

      /var/tmp/portage/dev-db/mariadb-10.1.9-r1/work/mysql-abi_x86_32.x86/libmysql/libmysql_exports_file.cc:38:15: error: function 'mysql_get_client_version' redeclared as variable

      Attachments

        Activity

          serg Sergei Golubchik created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Vladislav Vaintroub [ wlad ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          grknight Brian Evans added a comment -

          My Gentoo install builds fine with MariaDB 10.1.9, binutils 2.25.1 and gcc 5.3

          grknight Brian Evans added a comment - My Gentoo install builds fine with MariaDB 10.1.9, binutils 2.25.1 and gcc 5.3

          We have not seen this compile error either. But someone reported the mentioned build error on IRC.

          wlad Vladislav Vaintroub added a comment - We have not seen this compile error either. But someone reported the mentioned build error on IRC.

          Can reproduce the error with -flto. This is likely how the user has compiled, it is a linker that reports error

          MySQL's bug is here https://bugs.mysql.com/bug.php?id=67790

          wlad Vladislav Vaintroub added a comment - Can reproduce the error with -flto. This is likely how the user has compiled, it is a linker that reports error MySQL's bug is here https://bugs.mysql.com/bug.php?id=67790
          ratzpo Rasmus Johansson (Inactive) made changes -
          Sprint 10.2.0-3 [ 27 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Rank Ranked higher
          wlad Vladislav Vaintroub added a comment - - edited

          Fixed by using -fno-lto for the generated file, if -flto is set in compile flags

          wlad Vladislav Vaintroub added a comment - - edited Fixed by using -fno-lto for the generated file, if -flto is set in compile flags
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 5.5.48 [ 21000 ]
          Fix Version/s 10.0.24 [ 21101 ]
          Fix Version/s 10.1.11 [ 21202 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 73226 ] MariaDB v4 [ 149921 ]

          People

            wlad Vladislav Vaintroub
            serg Sergei Golubchik
            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.