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: "'neil at daikokuya dot demon dot co dot uk'" <neil at daikokuya dot demon dot co dot uk>
- Subject: RE: cygwin bootstrap failure - undefined reference to `dwarf2out_init
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Wed, 11 Jul 2001 07:27:21 -0000
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
This gives a working stage1 compiler. Thanks.
> -----Original Message-----
> From: 'neil@daikokuya.demon.co.uk' [SMTP:neil@daikokuya.demon.co.uk]
> Sent: Wednesday, 11 July 2001 16:03
> To: Billinghurst, David (CRTS)
> Cc: 'gcc-bugs@gcc.gnu.org'
> Subject: 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