[MDEV-7369] [PATCH] MariaDB build fails when XTRADB_STORAGE_ENGINE enabled Created: 2014-12-24 Updated: 2014-12-28 Due: 2015-01-24 Resolved: 2014-12-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 5.5.40, 5.5.41 |
| Fix Version/s: | 5.5.42, 10.0.16 |
| Type: | Bug | Priority: | Major |
| Reporter: | Łukasz Jendrysik | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Using -DWITHOUT_XTRADB_STORAGE_ENGINE=1 there's no problem to build MariaDB 5.5.40 or .41. Without this switch I get following output:
|
| Comments |
| Comment by Elena Stepanova [ 2014-12-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We build the server with XtraDB successfully, so apparently it's not a common issue. Also, are you trying to run an incremental build? If so, did you try to make clean, remove CMakeCache.txt and run a clean one? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Łukasz Jendrysik [ 2014-12-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
cmake command:
Host: Arch Linux i686, Linux 3.17.6, gcc 4.9.2 No, I'm doing a full build every time. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by James Taylor [ 2014-12-27 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'm having a look at the code... Would it be wise to add a conditional so this code is never reached under libc's other than GLIBC? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by James Taylor [ 2014-12-27 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
"os_stacktrace_print" is only declared if "#if defined (_linux_) && HAVE_BACKTRACE && HAVE_BACKTRACE_SYMBOLS" Pull Request: https://github.com/MariaDB/server/pull/14
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Łukasz Jendrysik [ 2014-12-27 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@James Taylor, thanks for the patch! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by James Taylor [ 2014-12-27 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It was a trivial fix once I found out where it was defined All I did was copy the conditional to everywhere that used it | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2014-12-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
revno: 4398 Patch by James Taylor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2014-12-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
revno: 4546 Patch by James Taylor. |