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

redefinitions of struct DL_info from /usr/include/dlfcn.h in include/my_global.h

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.3.9, 10.4(EOL), 10.5(EOL), 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
    • N/A
    • Compiling
    • None
    • Arch Linux, gcc8

    Description

      The struct DL_info is already defined in /usr/include/dlfcn.h, but then redefined in the mariadb source's /include/my_global.h file. This causes compilation to abort due to fatal errors.

      One gets lots of these:

      In file included from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/strings_def.h:21,                               
                       from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/ctype-euc_kr.c:29:                              
      /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/include/my_global.h:1092:54: error: conflicting types for 'Dl_info'
       typedef struct { const char *dli_fname, dli_fbase; } Dl_info;                                   
                                                            ^~~~~~~                                                                
      In file included from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/include/my_global.h:1082,                               
                       from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/strings_def.h:21,                               
                       from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/ctype-euc_kr.c:29:                               
      /usr/include/dlfcn.h:94:3: note: previous declaration of 'Dl_info' was here                                     
       } Dl_info;                                                                                                            
         ^~~~~~~     
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            thermi Noel Kuntze
            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.