cygwin bootstrap failure - undefined reference to `dwarf2out_init

'neil@daikokuya.demon.co.uk' neil@daikokuya.demon.co.uk
Tue Jul 10 23:02:00 GMT 2001


Billinghurst, David (CRTS) wrote:-

> libbackend.a(dwarf2out.o): In function `dwarf2out_do_frame':
> /usr/local/src/gcc-mainline/gcc/dwarf2out.c:86: undefined reference to
> `dwarf2out_init'
> /usr/local/src/gcc-mainline/gcc/dwarf2out.c:86: undefined reference to
> `dwarf2out_finish'

Hmmm.  Could you try wrapping the dwarf2_debug_hooks structure in a
#ifdef / #endif like shown and let me know if it links?  Sorry I've
not posted a patch, but my local copy is different to CVS.

Thanks,

Neil.

#ifdef DWARF2_DEBUGGING_INFO
/* The debug hooks structure.  */

struct gcc_debug_hooks dwarf2_debug_hooks =
{
  dwarf2out_init,
  dwarf2out_finish
};
#endif



More information about the Gcc-bugs mailing list