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

Fix compilation problems with glibc 2.43/gcc 16/fedora 44

    XMLWordPrintable

Details

    • Related to install and upgrade
    • fixed compilation problem with last version of fedora (44)
    • Q2/2026 Server Maintenance

    Description

      Gcc 16 could not compile without warning our sources.

      In same cases we really can try to change constant strings.

      Errors like:

      /home/sanja/maria/git/10.6/dbug/dbug.c:2161:14: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
       2161 |     lastslash= strrchr(pathname, '/');
            |              ^
      cc1: all warnings being treated as errors
      

      Starting from 11.4:

      /home/sanja/maria/git/12.3/include/mysql/service_encryption.h:124:3: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
        124 |   assert((dst[*dlen - 1]= 1));
            |   ^~~~~~
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              sanja Oleksandr Byelkin
              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.