This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cygwin bootstrap failure - undefined reference to `dwarf2out_init
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Subject: Re: cygwin bootstrap failure - undefined reference to `dwarf2out_init
- From: "'neil at daikokuya dot demon dot co dot uk'" <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 11 Jul 2001 07:02:31 +0100
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
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