| Summary: | Possible false positive QA warnings while building | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Cristian Iorga <cristian.iorga> | ||||||||||
| Component: | bitbake | Assignee: | Cristian Iorga <cristian.iorga> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | Alexandru Georgescu <alexandru.c.georgescu> | ||||||||||
| Severity: | normal | ||||||||||||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, bluelightning, poky.bs.watcher, poky.watcher, raj.khem, richard.purdie, ross.burton | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | 1.6.1 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Multiple | ||||||||||||
| Whiteboard: | |||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||||||
| Attachments: |
|
||||||||||||
|
Description
Cristian Iorga
2014-04-02 15:29:21 UTC
Initial investigation suggest that while textrel section is present in binary obj file iwconfig, the section is empty. In that case, a possible solution would be to check for size of section, not only on presence. Thoughts from the triage team: - The sections shouldn't exist if they're zero size, so if that's the case this might be a linker issue; we shouldn't just change the sanity check to ignore them - Since not everyone is seeing this maybe it's an issue of reusing an existing TMPDIR? Started re-test without sstate mirrors or pre-mirrors. Created attachment 1897 [details]
Build log with QA warnings
This build was done without sstate mirrors or premirrors set. Build was done from a clean builddir. Still, the issue is present.
Issue needs to be fixed on 1.7 also. *** Bug 6224 has been marked as a duplicate of this bug. *** (In reply to comment #2) > Thoughts from the triage team: > - The sections shouldn't exist if they're zero size, so if that's the case > this might be a linker issue; we shouldn't just change the sanity check to > ignore them > - Since not everyone is seeing this maybe it's an issue of reusing an > existing TMPDIR? hmm interesting. 0 sized textrels is something wrong in assembler or linker. most probably assembler. If you can narrow is down to object file which is producing it then we can take it further readelf -d .o | grep (TEXTREL) 0x0 should help Created attachment 1982 [details]
executable with textrel section of size zero
sample: executable with textrel section of size zero
Created attachment 1984 [details]
executable with textrel section of size zero
sample: executable with textrel section of size zero
Created attachment 1985 [details]
executable with textrel section of size zero
sample: executable with textrel section of size zero
The machine that I was building for while getting the warnings was qemux86-64. No special configuration was used. This should be fixed by: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad07178802d04ff475b3cac6a18f43523351da3e (and subsequent fix in the following patch for older gccs) I've built a core-image-sato with 1.7_M2.rc1, 2d1660112e54653f7bb763939d0416472c49fe01 successfully. |