Vladimir 'phcoder' Serbinenko wrote:

The link test in grub_PROG_TARGET_CC fails due to missing '__main' symbol
from libgcc. According to gcc 4.3.2 man page, '-nostdlib' usually requires
'-lgcc'.
Try compiling but not linking using -c option. If it works you can
commit it since we never do complete linking for target

Complete linking is not used during build but during configure. The following tests rely on it:

grub_PROG_LD_BUILD_ID_NONE
grub_CHECK_BSS_START_SYMBOL
grub_CHECK_END_SYMBOL

I would suggest to undo commit 2290 for now.

--
Regards,
Christian Franke



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to