[gnu.g++.bug] Convex g++ 1.36.3->ld problem

daniel@uxh.cso.uiuc.edu (01/25/90)

System: Convex 220
version: g++ 1.36.3

What am I missing?  I installed collect2 as gcc-ld, compiled g++
without saying that I was a COEF system (even though I am), put in the
line about FASCIST ASSEMBLER and still I get:]

H43) g++ one.cc

ld: INTERNAL ERROR - Invalid symbol type (___DTOR_LIST__ 22) in
reloc_one_symbol
()
ld: No executable produced.
load failedH44) cat one.cc
extern void strcpy ();
#include <sys/pcntl.h>

main ()
{
    int i, j;

    j = 23;
    for (i = 1; i < 255 ; i++)
        j = 7 - 3 * j * j;
}

-- Daniel Pommert

email.internet:	pommert@uiuc.edu
email.bitnet:	daniel@uiucvmd

phone:	(217) 333-8629

post:	DCL Rm, 150
	1304 W. Springfield
	Urbana, IL  61801-2987

where:	40  6 47 N Latitude
	88 13 36 W Longitude

tiemann@SUN.COM (Michael Tiemann) (01/25/90)

   Date: 25 Jan 90 01:43:46 GMT
   From: daniel@uxh.cso.uiuc.edu
   Sender: bug-g++-request@prep.ai.mit.edu


   System: Convex 220
   version: g++ 1.36.3

   What am I missing?  I installed collect2 as gcc-ld, compiled g++
   without saying that I was a COEF system (even though I am), put in the
   line about FASCIST ASSEMBLER and still I get:]

   H43) g++ one.cc

   ld: INTERNAL ERROR - Invalid symbol type (___DTOR_LIST__ 22) in
   reloc_one_symbol
   ()
   ld: No executable produced.
   load failedH44) cat one.cc
   extern void strcpy ();
   #include <sys/pcntl.h>

   main ()
   {
       int i, j;

       j = 23;
       for (i = 1; i < 255 ; i++)
	   j = 7 - 3 * j * j;
   }

   -- Daniel Pommert

   email.internet:	pommert@uiuc.edu
   email.bitnet:	daniel@uiucvmd

   phone:	(217) 333-8629

   post:	DCL Rm, 150
	   1304 W. Springfield
	   Urbana, IL  61801-2987

   where:	40  6 47 N Latitude
	   88 13 36 W Longitude


You need the special GNU crt0.o.

Michael