[MDEV-7293] Compilation on FreeBSD 10.1 fails building mroonga storage engine Created: 2014-12-08 Updated: 2015-03-05 Resolved: 2015-03-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Storage Engine - Mroonga |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | 10.0.17 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thomas Hays | Assignee: | Kentoku Shiba (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
FreeBSD 10.1-RELEASE AMD64. |
||
| Description |
|
Noticed compile failure building from the Official 10.1 source (not PORTS) on FreeBSD 10.1.
Platform information:
|
| Comments |
| Comment by Bernard Spil [ 2014-12-31 ] | |||||||||||||||
|
This is probably consuming all your memory. I believe the port fixes that (or PR is still open) by forcing GCC if built with mroonga or oqgraph. | |||||||||||||||
| Comment by Jeff Wommer [ 2015-01-29 ] | |||||||||||||||
|
I get this same error with 10.0.15 and I'm also seeing it with the recently released 10.0.16. | |||||||||||||||
| Comment by Kouhei Sutou [ 2015-02-03 ] | |||||||||||||||
|
I've fixed it at master in the Groonga repository. So the problem will be fixed when the latest Groonga is merged into MariaDB. Here is a backport patch for MariaDB 10.0.16 as a workaround:
| |||||||||||||||
| Comment by Bernard Spil [ 2015-02-03 ] | |||||||||||||||
|
Thanks for the patch Kouhei. Just applied the patch and there's no change as far as I can see. Bailed out of the build when cc was using ca 5.6GB memory. | |||||||||||||||
| Comment by Kouhei Sutou [ 2015-02-04 ] | |||||||||||||||
|
Thanks for trying it. It's not related memory usage. It just fixes the following build error:
Did you sitll get the error? | |||||||||||||||
| Comment by Jeff Wommer [ 2015-02-04 ] | |||||||||||||||
|
Thanks for the patch Kouhei. I applied it to 10.0.16 and had a successful build and install. The cc process did consume 100% of a CPU and just short of 5GB of memory, but it was successful. Thanks again! | |||||||||||||||
| Comment by Bernard Spil [ 2015-03-05 ] | |||||||||||||||
|
Just built MariaDB 10.0.17 without error on FreeBSD 10.1 using clang. Could just be that I added 1GB memory but I'm taking a chance! 10.0.17 comes with a newer mroonga engine as well... Thanks! | |||||||||||||||
| Comment by Sergei Golubchik [ 2015-03-05 ] | |||||||||||||||
|
Thanks, spil. Then I'll assume that the newer Mroonga fixed it and close the bug. |