[MDEV-7534] [PATCH] Fix TokuDB build on FreeBSD Created: 2015-02-01 Updated: 2022-11-10 Resolved: 2022-11-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Packaging, Platform FreeBSD, Storage Engine - TokuDB |
| Affects Version/s: | 10.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jim Riggs | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | compile, freebsd, packaging, tokudb, upstream | ||
| Environment: |
FreeBSD |
||
| Attachments: |
|
| Description |
|
On FreeBSD, the cmake configuration currently skips TokuDB, as it only checks for a Linux x86_64 system. The attached patch fixes that and corrects a couple of other issues required to get Toku to build properly. I have been successfully using the resulting ha_tokudb.so plugin with MariaDB on FreeBSD 10.1 without issue. I have submitted these patches to the port maintainer also as a stopgap on FreeBSD until this is committed. See: <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197232>. |
| Comments |
| Comment by Jim Riggs [ 2015-02-01 ] |
|
I would suspect that this might need to go upstream, but I have not checked. |
| Comment by Elena Stepanova [ 2015-02-02 ] |
|
Hi, Thanks for the patch. Which version of MariaDB is it for – 5.5, 10.0, 10.1? |
| Comment by Jim Riggs [ 2015-02-02 ] |
|
Sorry. I actually thought about that this morning (that I hadn't mentioned the version). This was for 10.0.15 and 10.0.16. And, it is worth noting that the build works on FreeBSD 10.0, not 10.1. 10.1 actually fails because of the new version of clang. :-\ So, we have been looking at the new issues caused by the new version of clang also. You can see the comments in the port bug report <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197232>. |
| Comment by Sergei Golubchik [ 2015-02-20 ] |
|
I've reported it to TokuDB's Jira: DB-816. |
| Comment by Elena Stepanova [ 2022-11-10 ] |
|
Starting from 10.5, TokuDB is not provided with MariaDB server |