Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.3, 10.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
- duplicates
-
MDEV-22620 Build failure on FreeBSD 12.1 / clang 8.0.1 / cmake 3.17.2
- Closed