[Bug 1123588] Re: [4.7 Regression] wrong code with the fix for PR53844

Matthias Klose doko at ubuntu.com
Thu Feb 14 00:59:59 UTC 2013


attaching a reduced test_job.[ci], and the object files to build the
executable. Seen when upstart is built with -O[s123], works with -O0.

forcing no optimization just on test_deserialise_ptrace is enough to get
the code working again:

  void test_deserialise_ptrace (void) __attribute__ ((optimize ("O0")));

if you debug the issue, make sure to unpack (or install) the cpp-4.7 and
gcc-4.7 packages in version 4.7.2-21ubuntu1.

Checking -O0 + -f options enabled in -O1, I couldn't identify an option
which triggers the issue.


** Attachment added: "init.tar.xz"
   https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1123588/+attachment/3527716/+files/init.tar.xz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1123588

Title:
   [4.7 Regression] wrong code with the fix for PR53844

Status in The GNU Compiler Collection:
  New
Status in “gcc-4.7” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  New

Bug description:
  seen with -21ubuntu1, not with -20ubuntu1, reverting the fix for
  PR53844 avoids the issue.

  I think we need a reproducer in upstart, which doesn't just hang.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1123588/+subscriptions




More information about the foundations-bugs mailing list