Compiler optimization error needs investigation
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| accountsservice (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
| gcc-4.9 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
This is a breakaway bug from bug 1351308.
accountsservice 0.6.37-1ubuntu7 introduced a new bug where libaccountsservice would not report the manager object as loaded. It wasn't because of the content of that upload, but rather seemingly because of building with a new compiler. It got uploaded shortly after the gcc 4.9 transition.
I wasn't able to determine whether this is something accountsservice is doing or just gcc's fault. But even inserting some debug statements around the place or downgrading optimization to -O1 made the problem go away. So I'm leaning towards gcc.
For now, we just changed optimization in the package to workaround the problem. But the root source should be investigated.
| affects: | accountsservice (Ubuntu) → gcc-4.9 (Ubuntu) |
| Changed in gcc-4.9 (Ubuntu): | |
| status: | New → Incomplete |

Doko, you asked me to re-test if this is still a problem. It is. :( I rebuilt accountsservice with latest utopic and without the optimization work-arounds I had put it in it before. Still hit bug 1351308.