Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4734

Compilation failure: MariaDB-10.6 + ColumnStore-develop

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 6.1.1
    • 6.1.1
    • PrimProc
    • None

    Description

      After recent changes in the server, the develop branch of ColumnStore fails to compile against the 10.6 server branch with the following sympthoms.

      /home/bar/maria-git/s10.6.cs6.char1/BUILD-DEB/include/my_config.h:226: error: "HAVE_STRTOLL" redefined [-Werror]
        226 | #define HAVE_STRTOLL 1
            | 
      ...
      /home/bar/maria-git/s10.6.cs6.char1/include/m_string.h:182: note: this is the location of the previous definition
        182 | #define HAVE_STRTOLL
      

      /usr/include/boost/math/special_functions/detail/fp_traits.hpp: In static member function ‘static void boost::math::detail::fp_traits_non_native<float, boost::math::detail::single_precision>::get_bits(float, uint32_t&)’:
      /home/bar/maria-git/s10.6.cs6.char1/include/m_string.h:44:26: error: ‘bcopy’ is not a member of ‘std’; did you mean ‘copy’?
         44 | # define memcpy(d, s, n) bcopy ((s), (d), (n))
      

      The problem happens because of a wrong inclusion order of:

      • mcsconfig.h - ColumnStore configuration header
      • my_config.h - MariaDB configuration header
      • m_ctype.h - MariaDB charset and collation library header
      • my_sys.h - MariaDB mysys library header

      Attachments

        Activity

          People

            bar Alexander Barkov
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.