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

checksum.c: only use clmul if available

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.5.4
    • 10.5.7
    • Server
    • None

    Description

      If the build environment does not support PCLMUL, then crc32_x86.c is not compiled in, and this fails to link.
      Only call the functions in crc32_x86.c if they have been included.

      fixes builds on older processors without PCLMUL

      see: https://trac.macports.org/ticket/61063

      Patch of interest dec3f8ca69e5e

      Attachments

        Issue Links

          Activity

            anel Anel Husakovic created issue -
            anel Anel Husakovic made changes -
            Field Original Value New Value
            anel Anel Husakovic made changes -
            Component/s Server [ 13907 ]
            Fix Version/s 10.5.6 [ 24508 ]
            Affects Version/s 10.5 [ 23123 ]
            Assignee Marko Mäkelä [ marko ]
            Description If the processor does not support {{PCLMUL}}, then
            {{crc32_x86.c}} is not compiled in, and this fails
            to link.
            Only call the functions in {{crc32_x86.c}} if
            they have been included.

            fixes builds on older processors without {{PCLMUL}}

            see: https://trac.macports.org/ticket/61063
            If the processor does not support {{PCLMUL}}, then
            {{crc32_x86.c}} is not compiled in, and this fails
            to link.
            Only call the functions in {{crc32_x86.c}} if
            they have been included.

            fixes builds on older processors without {{PCLMUL}}

            see: https://trac.macports.org/ticket/61063

            Patch of interest [dec3f8ca69e5e|https://github.com/MariaDB/server/commit/dec3f8ca69e5eb19a4be7a175d3834874c4d880b]
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.5.6 [ 24508 ]
            Affects Version/s 10.5.4 [ 24264 ]
            Affects Version/s 10.5 [ 23123 ]
            Description If the processor does not support {{PCLMUL}}, then
            {{crc32_x86.c}} is not compiled in, and this fails
            to link.
            Only call the functions in {{crc32_x86.c}} if
            they have been included.

            fixes builds on older processors without {{PCLMUL}}

            see: https://trac.macports.org/ticket/61063

            Patch of interest [dec3f8ca69e5e|https://github.com/MariaDB/server/commit/dec3f8ca69e5eb19a4be7a175d3834874c4d880b]
            If the build environment does not support {{PCLMUL}}, then {{crc32_x86.c}} is not compiled in, and this fails to link.
            Only call the functions in {{crc32_x86.c}} if they have been included.

            fixes builds on older processors without {{PCLMUL}}

            see: https://trac.macports.org/ticket/61063

            Patch of interest [dec3f8ca69e5e|https://github.com/MariaDB/server/commit/dec3f8ca69e5eb19a4be7a175d3834874c4d880b]
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2020-08-27 06:47:24.0 2020-08-27 06:47:24.217
            marko Marko Mäkelä made changes -
            Fix Version/s 10.5.6 [ 24508 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.5.7 [ 25019 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.5.6 [ 24508 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 112949 ] MariaDB v4 [ 158299 ]

            People

              marko Marko Mäkelä
              anel Anel Husakovic
              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.