cygwin bootstrap failure - undefined reference to `dwarf2out_init
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Wed Jul 11 00:36:00 GMT 2001
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
More information about the Gcc-bugs
mailing list