Article View: gnu.gcc.help
Article #53080Re: gcc-2.0 vs ISC-2.2.1.
From: Lee Story
Date: Fri, 13 Mar 1992 20:40
Date: Fri, 13 Mar 1992 20:40
38 lines
2955 bytes
2955 bytes
In article <1992Mar10.033435.12100@essnj1.essnjay.com> smitty@essnj1.essnjay.com (Hibbard T. Smith JR) writes:
I'm having problems building gcc-2.0 under ISC 2.2.1 (SYS 5.3.2).
When configured as i386-isc, the first build using cc goes fine. A
gcc, cc1 and cpp are produced. The stage1 build goes okay until
enqire. Then the linker complains about DTOR_LIST being undefined.
I forced crtstuff.c to get built as crtbegin.o and crtend.o, then I
added those to the startup file specs after crt1 and before crtn
respectively. Then the stage1 build goes okay. When I start the
stage2 build, everything falls apart. The newly made cpp and cc1
get segmentation violations and cpp screams about unterminated
strings in system header files. Different attempts at supressing
-O flags cause failures during different compiles, but nothing
resolves the problems.
I've been having similar problems trying to get an SCO Unix (ODT 1.1)
version built. By adding crtbegin.o and crtend.o the STARTFILE_SPEC
and ENDFILE_SPEC, respectively, the DTOR stuff seems to work and stage
1 of gcc, g++, and objective-c all build. As far as I know, I have
the equivalents of all of Chip's patches for SCO applied. But the
newly-built preprocessor then shows the same problems you mention.
When presented with i386v.h, stdio.h, and various other header files,
it "screams" about unterminated strings in lines 34, etc. (The line
numbers are always the same, and seem to have NOTHING to do with the
actual file contents.)
I've rebuilt from the beginning with gcc 1.37, with rcc (AT&T V.3 C
compiler from the SCO distribution), tried alloca.c from the emacs
distribution, etc. with no improvement, and haven't yet managed to find
the bug. HELP!!!!!?
Email appreciated in addition to a post, since we keep a short spool
here and I might miss a post over the weekend. Thanks,
--
------------------------------------------------------------------------
Lee Story (lee@wang.com) Wang Laboratories, Inc.
(Boston and New Hampshire AMC, and Merrimack Valley Paddlers)
------------------------------------------------------------------------
Technical Details
Message-ID:
<LEE.92Mar13154054@meercat.wang.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!bu2.bu.edu!bu.edu!wang!leeReferences:
<1992Mar10.033435.12100@essnj1.essnjay.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ef2a5f0b183dc6d0 X-Google-Attributes: gid11318c,public X-Google-Thread: 1048e3,820de9086fb4f53d X-Google-Attributes: gid1048e3,public X-Google-ArrivalTime: 1992-03-13 13:55:33 PST Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!bu2.bu.edu!bu.edu!wang!lee From: lee@wang.com (Lee Story) Newsgroups: gnu.gcc.help,comp.unix.sysv386 Subject: Re: gcc-2.0 vs ISC-2.2.1. Message-ID: <LEE.92Mar13154054@meercat.wang.com> Date: 13 Mar 92 20:40:54 GMT References: <1992Mar10.033435.12100@essnj1.essnjay.com> Sender: news@wang.com Organization: Wang Laboratories, Inc. Lines: 38 In-Reply-To: smitty@essnj1.essnjay.com's message of Tue, 10 Mar 1992 03:34:35 GMT