[MDEV-7076] Build fails around libgroonga on some platforms in buildbot Created: 2014-11-11 Updated: 2017-02-14 Resolved: 2014-11-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.0 |
| Fix Version/s: | 10.0.15 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot, compile | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos5-amd64/builds/829/steps/compile/logs/stdio It looks approximately like this, with some variations
Given the list of platforms, I guess they all feature pretty old compilers, maybe that's the distinction. |
| Comments |
| Comment by Kouhei Sutou [ 2014-11-12 ] |
|
It seems that these platform have too small memory for building Groonga with optimization. |
| Comment by Kentoku Shiba (Inactive) [ 2014-11-13 ] |
|
Please disable building Mroonga on these platforms for now. We are planning to decrease memory usage for optimization. |
| Comment by Elena Stepanova [ 2014-11-18 ] |
|
I can confirm, increasing the VM memory from 2 Gb to 3 Gb solves the problem. Other VMs also run on 2 Gb, apparently these systems are more OM-consuming on some reason. I presume you are planning to make changes regardless of this report, so I'm assigning it back to myself (and maybe later to somebody else) to solve the immediate problem in buildbot. |
| Comment by Elena Stepanova [ 2014-11-18 ] |
|
Kristian increased the default amount of memory runvm from 2 Gb to 3 Gb, it solved the problem. |
| Comment by Bernard Spil [ 2014-12-08 ] |
|
This is even worse when compiling with clang. On FreeBSD 10 (clang 3.3 / 3.4) memory consumption of the cc process during build increases to > 6GB and I get no working binary (that could have other reasons beside mem usage as well). There's also a groonga port for FreeBSD which behaves the same. libtool: compile: cc -DHAVE_CONFIG_H -D_REENTRANT -DGRN_DLL_FILENAME=L\"libgroonga-0.dll\" -DGRN_PLUGINS_DIR=\"/usr/local/lib/groonga/plugins\" -DGRN_RELATIVE_PLUGINS_DIR=\"lib/groonga/plugins\" -DGRN_RUBY_SCRIPTS_DIR=\"/usr/local/lib/groonga/scripts/ruby\" -DGRN_RELATIVE_RUBY_SCRIPTS_DIR=\"lib/groonga/scripts/ruby\" -DGRN_LOG_PATH=\"/var/log/groonga.log\" -DGRN_DEFAULT_DOCUMENT_ROOT=\"/usr/local/share/groonga/html/admin\" -DGRN_DEFAULT_RELATIVE_DOCUMENT_ROOT=\"share/groonga/html/admin\" -DGRN_DAT_EXPORT -I.. -I../include -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers -Wformat=2 -Wstrict-aliasing=2 -Wdisabled-optimization -Wfloat-equal -Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wredundant-decls -Wwrite-strings -MT nfkc.lo -MD -MP -MF .deps/nfkc.Tpo -c nfkc.c -o nfkc.o >/dev/null 2>&1 |