Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Applied. Christian Franke wrote: > Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> Christian Franke wrote: >> >>> The *_frame_info symbols are set undefined to force linkage of the >>> libgcc_s shared library or dll. >>> >>> This can be prevented by TARGET_LDFLAGS=-static-libgcc. To build from >

Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-19 Thread Christian Franke
Vladimir 'φ-coder/phcoder' Serbinenko wrote: Christian Franke wrote: According to 'gcc -dumpspecs' of Cygwin gcc 4.3.4-3, options '-u ___[de]register_frame_info' are always passed to the linker if -static-libgcc is not specified. This is Cygwin and MinGW specific: In the exe startup code th

Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-17 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Christian Franke wrote: > Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> Christian Franke wrote: >> >>> The *_frame_info symbols are set undefined to force linkage of the >>> libgcc_s shared library or dll. >>> >>> This can be prevented by TARGET_LDFLAGS=-static-libgcc. To build from >>> grub-1

Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-14 Thread Christian Franke
Vladimir 'φ-coder/phcoder' Serbinenko wrote: Christian Franke wrote: The *_frame_info symbols are set undefined to force linkage of the libgcc_s shared library or dll. This can be prevented by TARGET_LDFLAGS=-static-libgcc. To build from grub-1.98 tarball on Cygwin, run configure with this

Re: NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Christian Franke wrote: > Hi, > > a note regarding this fix: > > > The *_frame_info symbols are set undefined to force linkage of the > libgcc_s shared library or dll. > > This can be prevented by TARGET_LDFLAGS=-static-libgcc. To build from > grub-1.98 tarball on Cygwin, run configure with this a

NEED_REGISTER_FRAME_INFO can be replaced by -static-libgcc

2010-04-13 Thread Christian Franke
Hi, a note regarding this fix: 2010-04-11 Vladimir Serbinenko <...> Fix cygwin compilation. * configure.ac: Define NEED_REGISTER_FRAME_INFO. * include/grub/misc.h (__register_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: New export. (__deregister_fra