Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
Description
New 10.12 OS X has deprecated syscall(). Tokudb fails with:
/Users/vicentiu/Workspace/MariaDB/storage/tokudb/PerconaFT/portability/portability.cc:115:12: error: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For
|
SYS_kdebug_trace use kdebug_signpost(). [-Werror,-Wdeprecated-declarations]
|
return syscall(SYS_gettid);
|
Attachments
Issue Links
- relates to
-
MDEV-12304 TokuDB doesn't compile on Debian GNU/kFreeBSD
-
- Closed
-
Hi Sergei!
Can you please review a patch that fixes this issue?
I have a separate approach that changes the return type of toku_os_gettid() from int to uint64_t. The second one requires a few more changes within the code though and I was not sure if it we're ok with changing the definition as it seems to be exported externally.
http://lists.askmonty.org/pipermail/commits/2016-October/009976.html