[gnu.gcc.bug] gcc-1.31 build crashes in stage1

rpj@cadillac.CAD.MCC.COM (Rich Johns) (12/22/88)

./genflags md > tmp-insn-flags.h


While building gcc 1.31 stage1 after having begun the above I get
a Memory fault - core dumped. It is crashing in genflags. I was not
able to do much in DBX, but doing a 'func' I get "etext", which seems
strange since that is a location just above the Text segment. I am
building on a sun3 os4.0. I applied the patch to xm-sunos4.h which
changes the LINK_SPEC. I was not sure if this was to be done to
gcc or g++. It seemed reasonable to do it for both. Could this be
the problem? I have not seen this problem so it must be something
I am doing wrong. Any suggestions? 

thankyou.



-- 
Rich Johns, MCC CAD Program | 3500 W. Balcones Center Dr., Austin, TX 78759
ARPA: johns@mcc.com         | Phone: [512] 338-3714
UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!johns

dwf%prudence@LANL.GOV (David W. Forslund) (12/22/88)

You have correctly diagnosed your problem. Don't make the change in
gcc.  It works correctly on SunOS4.0 without the suggested change in
LINK_SPEC in my experience.  The change is apparently only for g++-1.31.0

Dave Forslund