| Summary: | can't compile systemd with GCC 7.X when optimization is on | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Andrey Yurovsky <yurovsky> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | workaround | ||
|
Description
Andrey Yurovsky
2017-07-26 16:01:08 UTC
Thanks for the report! Can you figure out the corresponding gcc PR, and therefore the gcc commit that fixes this ? Thanks! I'm having trouble tracking it down. From the systemd bug tracker discussion it looks like "7.1.1" addresses this but there's no such release. The Fedora package they mention is assumed to have the fix but I can't find anything in the changelog or referenced bug IDs that seems relevant. I'll keep searching. Ah, not a systemd bug; I relinquish it... This is in systemd upstream by commit https://github.com/systemd/systemd/commit/fb1b58820fc4622a3b7f54b4096943e4768505cb, which is in systemd >= 235. We are currently using version 234 of systemd in Buildroot, but we already have a patch in patchwork updating it to version 236. Once this patch gets merged, this bug will be fixed. (In reply to Thomas Petazzoni from comment #4) > we already have a patch in patchwork updating it to version 236. > Once this patch gets merged, this bug will be fixed. We must also apply https://patchwork.ozlabs.org/patch/856392/ first, otherwise the gitlab-ci infra will not be able to run the runtime tests. Regards, Yann E. MORIN. |