On Sat, Jul 10, 2010 at 2:55 PM, Richard Sandiford <rdsandif...@googlemail.com> wrote: > Stefan Hajnoczi <stefa...@gmail.com> writes: >> So although the function is extern, the pxe_menu_boot symbol has >> visibility "hidden" and the compiler decides inlining is okay, despite >> it being a weak symbol. Add __attribute__((visibility("default"))) to >> pxe_menu_boot() to test this. > > FWIW, a patch to fix the GCC bug has now been accepted and applied to trunk. > Thanks for raising the issue.
Excellent, thanks for identifying and fixing this: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00792.html Stefan _______________________________________________ gPXE-devel mailing list gPXE-devel@etherboot.org http://etherboot.org/mailman/listinfo/gpxe-devel