From: dwex@aib.com (David E. Wexelblat)
Subject: GCC-produced code causes MIPS native loader to dump core...
Date: Sun, 5 Dec 1993 15:44:51 GMT [thread overview]
Message-ID: <CHKJqs.40F@aib.com> (raw)
I just sent this to the GCC bug report address. Perhaps someone here
has some input on this problem as well...
This problem has been demonstrated on a DEC MIPS box running Ultrix 4.3,
and on an SGI MIPS box running IRIX 4.0.5, with GCC 2.4.5 and 2.5.5.
Compile the following program:
#include <exception.h>
main()
{
printf("hello world, proc table = 0x%ld\n",_procedure_table);
}
with GCC. The native loader (/bin/ld) will dump core.
The following workaround has been discovered:
> If you take every object file produced by gcc (after the tfile conversion)
> and run it through the native mips linker (without gcc intervention), it
> seems to clean up whatever mess gcc made:
>
> /usr/bin/ld -r -o junk.o foo.o
> mv junk.o foo.o
>
--
David Wexelblat <dwex@aib.com> (703) 430-9247 Fax: (703) 450-4560
AIB Software, Inc., 46030 Manekin Plaza, Suite 160, Dulles, VA 20166
Formerly Virtual Technologies, Inc.
Mail regarding XFree86 should be sent to <xfree86@physics.su.oz.au>
"...Laughing as they danced, highest colours touching others.
Did her eyes at the turn of the century tell me plainly
How we'll meet, how we'll love? Oh, let life so transform me."
-- Yes, "Turn of the Century"
reply other threads:[~1993-12-05 15:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox