Article View: gnu.gcc.help
Article #53062Re: gcc-2.0 vs ISC-2.2.1.
From: Geoff Steckel - Sun BOS Hardware...
Date: Wed, 11 Mar 1992 19:30
Date: Wed, 11 Mar 1992 19:30
27 lines
2194 bytes
2194 bytes
In article <1992Mar11.133855.5973@rci.dk> fk@rci.dk (Flemming Kraglund) writes:
>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 have the same problem but with ISC 3.0.
I've fixed this by:
1) forcing crtbegin.o & crtend.o to compile
2) add crtbegin.o%s to STARTFILE_SPEC just after crt?.o
add crtend.o%s to the beginning of ENDFILE_SPEC
delete the redefinition of structure return from the tm-isc.h file
3) put crtbegin.o and crtend.o in /lib, or wherever crt0.o etc. live.
Other people have tried to fix this by putting crtbegin and crtend in
the libraries. This will cause bizarre (coredump) failures when you try
to link g++ programs, or anything else depending on constructors or
anything in the .init segment.
good luck,
geoff steckel (gwes@wjh12.harvard.EDU)
(...!husc6!wjh12!omnivore!gws)
Disclaimer: I am not affiliated with Sun Microsystems, despite the From: line.
This posting is entirely the author's responsibility.
Technical Details
Message-ID:
<pln3pINNub@seven-up.East.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!seven-up.East.Sun.COM!vergil!gsteckelReferences:
<1992Mar10.033435.12100@essnj1.essnjay.com> <1992Mar11.133855.5973@rci.dk>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-11 11:36:54 PST Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!seven-up.East.Sun.COM!vergil!gsteckel From: gsteckel@vergil.East.Sun.COM (Geoff Steckel - Sun BOS Hardware CONTRACTOR) Newsgroups: gnu.gcc.help,comp.unix.sysv386 Subject: Re: gcc-2.0 vs ISC-2.2.1. Summary: fix tm-isc.h, not libraries Keywords: gcc-2.0 ISC-2.2.1 Message-ID: <pln3pINNub@seven-up.East.Sun.COM> Date: 11 Mar 92 19:30:01 GMT References: <1992Mar10.033435.12100@essnj1.essnjay.com> <1992Mar11.133855.5973@rci.dk> Reply-To: gsteckel@east.sun.com (Geoff Steckel - Sun BOS Hardware CONTRACTOR) Organization: Omnivore Technology, Newton, Mass. (617)332-9252 Lines: 27 NNTP-Posting-Host: vergil.east.sun.com