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

Cmake issues with CXX_FLAGS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.5.3, 10.5
    • 10.5.5
    • None
    • FreeBSD 12.1-p4 amd64
      clang 8.0.1
      cmake 3.17.2

    Description

      During compilation, I get a failure in perfschema

      --- storage/perfschema/CMakeFiles/perfschema_embedded.dir/all ---                                                                                              
      In file included from /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/storage/perfschema/cursor_by_account.cc:30:                                   
      In file included from /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/storage/perfschema/pfs_buffer_container.h:27:                                 
      In file included from /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/storage/perfschema/pfs.h:34:                                                  
      /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/storage/perfschema/my_thread.h:64:10: error: use of undeclared identifier 'pthread_getthreadid_np'  
        return pthread_getthreadid_np();                                                                                                                             
               ^                                                                            
      

      Once I added -isystem /usr/include to the flags.cmake file in /usr/ports/databases/mariadb105-server/work/mariadb-10.5.3/storage/perfschema/CMakeFilee I can continue the build.

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              spil Bernard Spil
              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.