gcc 4.2.4 TIMER_ABSOLUTE failure
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.