X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs- Delivered-To: pcg AT goof DOT com Mail-Copies-To: never To: beastium-list AT Desk DOT nl Subject: Why is collect2 installed with pgcc-1.0/pgcc-1.0.1? X-Face: (:YAD AT JS'&Kz'M}n7eX7gEvPR6U1mJ-kt;asEc2qAv;h{Yw7ckz<7+X_SYeTNAaPui:e~x$ ,A=gkt*>UPL/}\a/#C~v2%ETiAY_sx;xve0yL??JWTtX_-NUzXyP38UdW#cmN1\4(X!c3m#%IbtB-3 Z-!xpZi!`E.s{(;aP=b11"!3wQu]1j@^V|;n=B|{l Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 25 Mar 1998 16:54:33 -0800 Message-ID: X-Mailer: Gnus v5.6.3/XEmacs 21.0(beta33) - "Nigerian Dwarf" Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 976 Lines: 22 I am having a problem with random memory corruption and crashes in a 100% C program that have been traced to constructor/destructor code in libgcc.a/frame.o. I have verified that if I let pgcc have its way linking, it will insert the bad code. If I hand link with /usr/bin/ld, everything is O.K. Is there a way to get a handle on why it feels a need to insert constructors and destructors in a C program? Or, can collect2 not be installed? I note that HJ Lu's binary kit of GCC-2.7.2.3 does not have collect2 installed. $ lf /usr/local/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.23 SYSCALLS.c.X cpp* crtend.o ld* cc1* crtbegin.o crtendS.o libgcc.a cc1plus* crtbeginS.o include/ specs $ lf /usr/lib/gcc-lib/i586-unknown-linux-gnulibc1/2.7.2.3 SYSCALLS.c.X cc1plus* crtbeginS.o* include/ specs* cc1* cpp* crtend.o* libgcc.a specs.HACKED cc1obj* crtbegin.o* crtendS.o* libobjc.a