gcc 4.2.4 TIMER_ABSOLUTE failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcc-4.2
POSIX timer TIMER_ABSOLUTE fails under GDB. This appears only to be a problem with Ubuntu, not with other distrubutions and/or versions of GCC.
The problem was first thought to be a bug with the High Resolution Timers in the kernel. With some help from Mr. T. Gleixner, we determined the problem really only occurs with the Ubuntu build of GCC. The issue is described in detail in http://
Essentially, Ubuntu gcc 4.2 compiled programs fail to return from the high timer call when running under GDB. This is not a problem when a pre-compiled Debian kernel is run with an Ubuntu 8.04.1 distribution. It is also not a problem when the Ubuntu 2.6.24 kernel is re-compiled with gcc 3.4.
Please see the kernel bug reference for further details. I would be happy to do some trials if needed.
Sincerely
Gertjan Hofman
In the kernel bug report, you quote gcc-4.2 4.2.3-2ubuntu7, but in this report you say gcc 4.2.4. Could you clarify exactly which package version you're using, as there have been several updates fixing code generation bugs throughout the lifetime of Ubuntu 8.04?
dpkg-query -W gcc-4.2