From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199703132022.PAA32043@avalon.harvard.edu> Date: Thu, 13 Mar 1997 15:22:05 +0500 From: Erik Evensen Subject: Re: gcc-2.7.2.2 / g77-0.5.20 on RH4.1 >>>>> "E" == Erik Evensen writes: >>>>> "T" == Toon Moene 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{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