Compiler optimization error needs investigation

Bug #1353469 reported by Michael Terry
6
This bug affects 1 person
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.

Michael Terry (mterry)
affects: accountsservice (Ubuntu) → gcc-4.9 (Ubuntu)
Matthias Klose (doko)
Changed in gcc-4.9 (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Terry (mterry) wrote :

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.

Changed in gcc-4.9 (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.