FWIW: VAX fix backport and gcc built on 4.3BSD first time ever!

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Dec 14 17:22:00 GMT 2000


> Hi there,
> 
> I know you guys don't want this in the 2.95.3 release, but I thought I would
> still post it for anybody who finds it useful. IMHO, this patch from the trunk
> from a while ago:
> 
> : Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> :
> :         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
> :         of n_popped when call/call_value are not defined.
> 
> really needs to be backported to the gcc-2_95-branch. Without this patch, gcc

I think this patch was actually from the gcc stream that Kenner was working
on.  I have a patched version of gcc-2.8.1 that works reasonably well under
VAX Ultrix 4.3.  It also has g++.  I was never able to successfully build
2.95 under Ultrix 4.3.  Congratulations!

Rather than back porting this patch, I think it would be better to get
the current mainline code working.  I am able to build the C language
sucessfully with gcc but there are still problems with a g++ stack
overflow building libstdc++.  There are a couple of patches pending
that enable one to get this far.  With the native cc, there are a whole
bunch of enum comparisons that still need to be fixed.  This is straight
forward but tedious.  You need a recent version of binutils.  This
fixes a long jmp problem that you will encounter building expr.c.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc mailing list