This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygwin bootstrap failure - undefined reference to `dwarf2out_init


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]