This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2008 11:23:43 -0000
- Subject: [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
- References: <bug-37441-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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