| Summary: | Fail to build mesa for qemuppc on 32-bit host | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> | ||||
| Component: | graphics | Assignee: | Ross Burton <ross.burton> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | Yi Zhao <yi.zhao> | ||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | alexandru.c.georgescu, ke.zou, meta.mr.watcher, meta.watcher, yi.zhao, zhangle.yang | ||||
| Version: | 1.8 | ||||||
| Target Milestone: | 1.8 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
Update: I can reproduced this issue on 32 bit centos 6.6 and debian 7. I'm afraid this issue exists on all 32 bit host. Huh. Is it always the same file in mesa (src/mesa/format_utils in this log) that the build fails on? (In reply to comment #2) > Huh. Is it always the same file in mesa (src/mesa/format_utils in this log) > that the build fails on? Yes. I checked all logs in different hosts, They all failed with format_utils. Still exists in 1.8 M2 rc2. git rev: master/22c38e2d8a058619e3d05534b5e830b750aa4241 Works for me. Fedora 21, MACHINE=qemuppc: [ross@baldrick build]$ rm tmp/ -rf ; MACHINE=qemuppc bitbake mesa WARNING: Host distribution "Fedora-21" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Parsing recipes: 100% |################################################################################################| Time: 00:00:54 Parsing of 886 .bb files complete (0 cached, 886 parsed). 1281 targets, 62 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.25.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Fedora-21" TARGET_SYS = "powerpc-poky-linux" MACHINE = "qemuppc" DISTRO = "poky" DISTRO_VERSION = "1.7" TUNE_FEATURES = "m32 fpu-hard ppc7400 altivec" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "mut:36b3cb431a0dd06b898b5f1d50bc22a60ffd14f7" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 1333 tasks of which 826 didn't need to be rerun and all succeeded. I re-tested with latest commit: master/870323cac1e40e8f95ea7bd6f425a85dcfbab612 The issue really disappeared. I noticed there is a commit to upgrade the mesa: commit 16a01784245ef0e9806f88f8a55d5d3a73c7ce35 Author: Pengyu Ma <pengyu.ma@windriver.com> Date: Tue Feb 3 10:11:08 2015 +0800 mesa: Upgrade to 10.4.3 flags for EGL and GBM Gallium had been removed in 10.4, so remove these flags, files or packages. (From OE-Core rev: ba079975fa984f53fde5b4e8131d0f3877323e6c) Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com> Tested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> I will test it on more i686 platforms to ensure the issue has been fixed. I re-tested it with latest master branch on 32 bit Fedora21, centos 6.6 and debian 7. The issue doesn't exist. We can close this bug. Resolving worksforme as the problem can't be replicated with current master. |
Created attachment 2357 [details] log.do_compile Git rev: master/d9d5b8b499af3ae01a1e33d0d3969c54c2d4ab1b The mesa build failed for qemuppc on 32 bit fedora 21 (with fresh update) : #################### cc1: out of memory allocating 1208940 bytes after a total of 55308288 bytes Makefile:2251: recipe for target 'format_utils.lo' failed make[4]: *** [format_utils.lo] Error 1 make[4]: Leaving directory '/buildarea/poky/build/tmp/work/ppc7400-poky-linux/mesa/2_10.3.4-r0/build/src/mesa' Makefile:3960: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/buildarea/poky/build/tmp/work/ppc7400-poky-linux/mesa/2_10.3.4-r0/build/src/mesa' Makefile:1394: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/buildarea/poky/build/tmp/work/ppc7400-poky-linux/mesa/2_10.3.4-r0/build/src/mesa' Makefile:511: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/buildarea/poky/build/tmp/work/ppc7400-poky-linux/mesa/2_10.3.4-r0/build/src' Makefile:580: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 ERROR: oe_runmake failed WARNING: /buildarea/poky/build/tmp/work/ppc7400-poky-linux/mesa/2_10.3.4-r0/temp/run.do_compile.23971:1 exit 1 from exit 1 ################### Please see the attachment for the full log. Qemux86, qemux86-64, qemuarm and qemumips don't have this issue on the same platform. This issue doesn't happen on Fedora 21 x86_64