| Summary: | glibc build failure with DEBUG_BUILD = "1" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Steven Walter <stevenrwalter> |
| Component: | core | Assignee: | Juro Bystricky <juro.bystricky> |
| Status: | VERIFIED FIXED | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Severity: | major | ||
| Priority: | Medium+ | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, raj.khem, randy.e.witt, sgw, stevenrwalter |
| Version: | 1.8 | ||
| Target Milestone: | 2.0 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Steven Walter
2015-08-27 01:58:19 UTC
DEBUG_BUILD = "1" is also necessary for the failure to occur. SDKMACHINE = i686 without DEBUG_BUILD = "1" succeeds. I tested this in my ubuntu container and it also happened when using qemux86-64 with DEBUG_BUILD = "1". I left SDKMACHINE at the default, I don't believe SDKMACHINE has an effect on this issue. Agreed, I can reproduce this with only DEBUG_BUILD = "1". Seems to be already fixed with the commit: 625e0ec8b5e5f1c39b3bfad0e6adfecaf957d689 (I will verify this) So yes, it's been fixed with 1.9 (tested with master commit 393bd7496d71eb101f21234c1233a2d18fd2c73e) glibc builds OK, you get a notification: NOTE: glibc can't be built with -O, -O -Wno-error will be used instead. Will try to cherry pick the commit 625e0ec8b5e5f1c39b3bfad0e6adfecaf957d689 and apply it to Fido (1.8). Cherry-picking that commit onto the fido branch doesn't help for me. I still get the same fatal warning on tlsdesc.os. I do get the NOTE about using -Wno-error during parse time, but my log.do_compile still shows the -Werror flag being used. (In reply to comment #6) > Cherry-picking that commit onto the fido branch doesn't help for me. I > still get the same fatal warning on tlsdesc.os. I do get the NOTE about > using -Wno-error during parse time, but my log.do_compile still shows the > -Werror flag being used. Thanks. I will have a closer look. Apparently it needs cherry-picking something else as well. (In reply to comment #7) > (In reply to comment #6) > > Cherry-picking that commit onto the fido branch doesn't help for me. I > > still get the same fatal warning on tlsdesc.os. I do get the NOTE about > > using -Wno-error during parse time, but my log.do_compile still shows the > > -Werror flag being used. > > Thanks. I will have a closer look. Apparently it needs cherry-picking > something else as well. So this commit needs to be back ported as well: d6a2cf3cbef581478185c25d8a7a6109a201c583 (In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #6) > > > Cherry-picking that commit onto the fido branch doesn't help for me. I > > > still get the same fatal warning on tlsdesc.os. I do get the NOTE about > > > using -Wno-error during parse time, but my log.do_compile still shows the > > > -Werror flag being used. > > > > Thanks. I will have a closer look. Apparently it needs cherry-picking > > something else as well. > > So this commit needs to be back ported as well: > d6a2cf3cbef581478185c25d8a7a6109a201c583 Unless I'm mistaken, that commit is already present in the fido branch (In reply to comment #6) > Cherry-picking that commit onto the fido branch doesn't help for me. I > still get the same fatal warning on tlsdesc.os. I do get the NOTE about > using -Wno-error during parse time, but my log.do_compile still shows the > -Werror flag being used. My bad, that commit does in fact fix the issue. I have a glibc bbappend in one of my layers that must have been defeating the fix. It works in a stock poky build. So it turns out only the commit 625e0ec8b5e5f1c39b3bfad0e6adfecaf957d689: “glibc: Consider adding -Wno-error in cases when not using -O2” needs to be backported to Fido. Commit backported to Fido: https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=fido&qt=grep&q=Consider+adding+-Wno-error+in+cases+when+not+using+-O2 Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831 and on fido: fido:fa55b8e5050c6d7a47ef8e9bc213d0cc9471b43a |