From: Toon Moene <toon@moene.indiv.nluug.nl>
To: egcs-bugs@cygnus.com, axp-list@redhat.com
Subject: Re: egcs-980406 g77 bug
Date: Wed, 8 Apr 98 20:06:35 +0200 [thread overview]
Message-ID: <9804081806.AA19527@moene.indiv.nluug.nl> (raw)
In-Reply-To: 352B9836.39BC6A8C@bob.usuf2.usuhs.mil
Bob,
> Program received signal SIGSEGV, Segmentation fault.
> 0x120002794 in f_s (s=0x0, curloc=0) at fmt.c:95
> 95 skip(s);
> (gdb) bt
> #0 0x120002794 in f_s (s=0x0, curloc=0) at fmt.c:95
> #1 0x1200030c0 in pars_f (s=0x0) at fmt.c:370
> #2 0x120004650 in s_wsfe (a=0x120107030) at wsfe.c:72
> #3 0x12000119c in MAIN__ () at junk2.f:4
> #4 0x12000146c in main (argc=0, argv=0x0) at main.c:128
Unfortunately, I cannot build a egcs snapshot anymore on Alpha's
(essentially you have to have Red Hat 5.0 to get f771 to link), so I
tried to debug this "by hand".
However, looking through wsfe.c and fmt.c I cannot see any way to
get the argument `s' to both pars_f and f_s to be 0x0 (which leads
to the Segmentation fault at hand). The thing passed to pars_f is
an extern char * that's defined in routine err.c. It looks like
either the egcs snapshot is building these routines wrongly, or your
program is wrongly linked ...
I hope someone with an up to date Alpha can try your example.
Regards,
Toon.
next prev parent reply other threads:[~1998-04-08 18:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-08 15:31 egcs-980406 g77 bug Robert Williams
1998-04-08 18:06 ` Toon Moene [this message]
1998-04-08 18:21 ` Robert Williams
-- strict thread matches above, loose matches on Subject: below --
1998-04-08 19:36 Robert Williams
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox