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

Cmake issues with CXX_FLAGS

    XMLWordPrintable

    Details

      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

              Assignee:
              danblack Daniel Black
              Reporter:
              spil Bernard Spil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: