------- Comment #4 from ro at techfak dot uni-bielefeld dot de 2008-09-11 11:23 ------- Subject: Re: [4.4 regression] dwarf2 unwind info patches produce undefined symbols
jakub at gcc dot gnu dot org writes: > references undefined label. I'm afraid at least until some support is added > to > gas to handle that, we should: > #ifdef MIPS_DEBUGGING_INFO > return false; > #endif > early in dwarf2out_do_cfi_asm. Wonder why alpha defines MIPS_DEBUGGING_INFO > too > and if e.g. alpha-linux needs to emit DW_AT_MIPS_fde attributes. The following patch Index: gcc/dwarf2out.c =================================================================== --- gcc/dwarf2out.c (revision 140226) +++ gcc/dwarf2out.c (working copy) @@ -139,6 +139,9 @@ dwarf2out_do_cfi_asm (void) if (!flag_dwarf2_cfi_asm || !dwarf2out_do_frame ()) return false; +#ifdef MIPS_DEBUGGING_INFO + return false; +#endif if (!eh_personality_libfunc) return true; if (!HAVE_GAS_CFI_PERSONALITY_DIRECTIVE) allowed for the bootstrap to complete. The testsuite is still running; when it's done, I'll submit it to gcc-patches. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441