🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1247

collect2 C output crashes gcc-2.2.2 on a vax running bsd-4.3

#1247
From: David Fox
Date: Sat, 03 Oct 1992 08:26
23 lines
1250 bytes
At least, it calls itself bsd-4.3.  A few things seem odd, like
the file /usr/include/machine/param.h is actually named machparam.h.
Is that normal?

Anyway, the output of collect2 contains the line

  extern entry_pt x2 asm ("__GLOBAL_$I$tie__C3ios");

And this line causes cc1 to crash.  Here is a traceback:

(gdb) where
#0  0x25889 in const_binop (code=PLUS_EXPR, arg1=(tree) 0xacdcc, arg2=(tree) 0xacaf0) (fold-const.c line 958)
#1  0x2602a in size_binop (code=PLUS_EXPR, arg0=(tree) 0xacdcc, arg1=(tree) 0xacaf0) (fold-const.c line 1336)
#2  0x249aa in layout_type (...) (...)
#3  0x22816 in build_array_type (...) (...)
#4  0xddad in init_decl_processing (...) (...)
#5  0x1cac0 in compile_file (...) (...)
#6  0x1f019 in main (...) (...)
(gdb) 

Any ideas?

-david
Technical Details
Message-ID: <9210031626.AA29532@acf5.NYU.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!acf5.nyu.edu!fox

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!acf5.nyu.edu!fox
From: fox@acf5.nyu.edu (David Fox)
Subject: collect2 C output crashes gcc-2.2.2 on a vax running bsd-4.3
Message-ID: <9210031626.AA29532@acf5.NYU.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 3 Oct 1992 08:26:54 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 24