From: Erik Evensen <erik@avalon.harvard.edu>
Subject: Re: gcc-2.7.2.2 / g77-0.5.20 on RH4.1
Date: Thu, 13 Mar 1997 15:22:05 +0500 [thread overview]
Message-ID: <199703132022.PAA32043@avalon.harvard.edu> (raw)
>>>>> "E" == Erik Evensen <erik@avalon.harvard.edu> writes:
>>>>> "T" == Toon Moene <toon@moene.indiv.nluug.nl> writes:
>>>> Gentlemen, how about grabbing the *sources* - in stead of a
>>>> rpm - and starting from that.
>>> Simple. Linux/Alpha (in either ELF or ECOFF form) is not
>>> supported in stock 2.7.2.2, and even if it was there are a
>>> dozen or so Alpha code generation bugs.
T> This should be solved with the g77-0.5.20 release - it has a
T> rather large patch to gcc-2.7.2.2 to insert Linux/Alpha
T> configuration support and fix most of the code generation bugs.
T> Toon.
E> So, I've tried g77-0.5.20/gcc-2.7.2.2 both straight out of the
E> box and with the patches from gcc-2.7.2.1 SRPM. I can get xgcc
E> to compile either way but either way it crashes when trying to
E> compile enquire.c.
E> I'm wondering if it is maybe a library problem, I have
E> glibc-961212-4 installed.
E> When I run xgcc under gdb I get the following, note I did not
E> set any breakpoints manually:
E> erik@avalon<gcc>{154}gdb xgcc GDB 4.16 (alpha-unknown-linux),
E> During symbol reading...bad proc end in aux found from symbol
E> __remqu... xgcc: Internal compiler error: program cpp got
E> fatal signal 11
E> Program exited with code 01. (gdb) where No stack. (gdb)
E> I'm in the process of trying to build a version against
E> glibc-2.01; if anyone's interested, I'll keep you posted of my
E> progress.
Just to update people on my progress which is essentially none,
I've tried building gcc-2.7.2.2/g77-0.5.20 every which way including
with glibc-0.96.1212-4 and glibc-2.01 (binaries from prep.ai.mit.edu).
I've tried with and without patches in just about every permutation.
With a few minor modifications, I can get the code to compile (won't
detail them here since I'm not sure if they are right yet). But the
compiler refuses to compile itself or the version that it compiles
generates faulty code.
I don't have absolute confirmation but I believe at least one of the
problems is with how the gcc-2.7.2.2 is handling string constants or
maybe strings in general. All the crashes I find for gcc, xgcc, and
cpp under the debugger seem to involve char* or string literals in
the code; e.g., xgcc will die on trying to make a copy of
version_string but if I recompile and link version.c it will get past
that part of the code; cpp appears to die in calls to strlen passed
string literals -- such as in calls like printf().
I don't know much at all about the internals of gcc so I'm pretty
much stuck here with respect to solving this problem. Perhaps this
info will be useful to someone who is more familiar with gcc/g77?
Thanks for listening and sorry I can't provide a solution.
--erik
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-03-13 10:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-13 10:22 Erik Evensen [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-03-13 21:43 gcc-2.7.2.2 / g77-0.5.20 on RH4.1 J
1997-03-12 5:43 Erik Evensen
1997-03-05 18:43 Toon Moene
[not found] <9703042119.AA18379@moene.indiv.nluug.nl>
1997-03-04 22:39 ` Richard Henderson
1997-03-04 21:19 Toon Moene
1997-03-04 9:56 Erik Evensen
1997-02-22 2:01 A problem porting sbrk Steven White
1997-03-04 19:02 ` gcc-2.7.2.2 / g77-0.5.20 on RH4.1 Lev D Gelb
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