| Summary: | libzypp fails to compile for mips | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Kevin Tian <kevin.tian> |
| Component: | meta-yocto | Assignee: | Kevin Tian <kevin.tian> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, qing.he, richard.purdie, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Kevin Tian
2010-09-05 23:58:16 UTC
The cause is about boost tribool type usage. If having assignement within conditional check as below:
if ( (a = b) )
...
<a is a tribool type, b is a normal bool type>
then gcc4.3.3 throws internal error. Then the workaround is to move assignement out of the conditional check. However I didn't find same case from web.
I've sent out the workaround, and we can come back to recheck this issue after upgrading to gcc4.5.0 for MIPS. If this issue is still there, we'll need more analysis to decide whether to report to gcc upstream or to libzypp upstream.
fixed by c519aec68c61ae2a3822fde0c8e4616a97d2faaf verified that build succeeds |