This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [BUG] ld segfault in binutils-2.13.90.0.20 when compiling
Eric Christopher <echristo at redhat dot com> writes:
|> On Thu, 2003-03-27 at 10:02, Andreas Schwab wrote:
|> > Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de> writes:
|> >
|> > |> I haven't seen this with CVS HEAD of everything, but probably it just
|> > |> dies too early in the glibc build:
|> > |>
|> > |> vfprintf.c: In function _IO_vfprintf':
|> > |> vfprintf.c:1919: internal compiler error: in loc_descriptor_from_tree, at
|> > |> dwarf2out.c:8932
|> >
|> > See <http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=9905&database=gcc>.
|> >
|>
|> Aaah. I see. Ick.
I'm using this as a workaround:
--- gcc/dwarf2out.c.~1.413.~ 2003-03-20 10:37:48.000000000 +0100
+++ gcc/dwarf2out.c 2003-03-21 20:48:52.000000000 +0100
@@ -64,6 +64,7 @@ Software Foundation, 59 Temple Place - S
#include "target.h"
#include "langhooks.h"
#include "hashtab.h"
+#include "c-common.h"
#ifdef DWARF2_DEBUGGING_INFO
static void dwarf2out_source_line PARAMS ((unsigned int, const char *));
@@ -8641,6 +8642,10 @@ loc_descriptor_from_tree (loc, addressp)
the names of types. */
return 0;
+ case MODIFY_EXPR:
+ case STMT_EXPR:
+ return 0;
+
case CALL_EXPR:
return 0;
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."