Follow-up Comment #1, bug #19164 (project grub): This is likely due to the NX bit being used. I have encountered this problem with gcc 3.2.3 on a RHEL WS release 3 machine with grub 0.93 and 0.97.
I've determined the thunk / trampoline is generated on the stack, and if NX is properly used by the kernel, it will most likely trap the execution of code on the stack. For your experiment with gcc 4.0.4, was the machine physically different than the machine with gcc 4.1.2? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19164> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub