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

Compilation failure: MariaDB-10.6 + ColumnStore-develop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.1
    • Component/s: PrimProc
    • Labels:
      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

            Assignee:
            bar Alexander Barkov
            Reporter:
            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.