Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!agate!violet.berkeley.edu!jason From: jason@violet.berkeley.edu (Jason Venner;;;4155252989;ZU34) Newsgroups: gnu.gcc.bug Subject: Re: stage1 build fails, gcc-1.36, sun4 (os4.0.1) Message-ID: Date: 20 Nov 89 16:51:27 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Distribution: gnu Organization: To Secret To Say Lines: 55 There is an improper define in binutils/ld.c, and the compiler is ending up putting 68020 headers on the .o files. This was my hack, (I was not interested in the 680xx version) *** ld.c Thu Nov 9 17:18:59 1989 --- ld.c.~2~ Thu Nov 9 16:52:56 1989 *************** *** 206,215 **** #ifdef sparc #define INITIALIZE_HEADER \ {outheader.a_machtype = M_SPARC; outheader.a_toolversion = 1;} ! #else #if defined(mc68010) || defined(m68010) || (TARGET == SUN2) #define INITIALIZE_HEADER outheader.a_machtype = M_68010 - #endif #endif #ifndef INITIALIZE_HEADER #define INITIALIZE_HEADER outheader.a_machtype = M_68020 --- 206,214 ---- #ifdef sparc #define INITIALIZE_HEADER \ {outheader.a_machtype = M_SPARC; outheader.a_toolversion = 1;} ! #endif #if defined(mc68010) || defined(m68010) || (TARGET == SUN2) #define INITIALIZE_HEADER outheader.a_machtype = M_68010 #endif #ifndef INITIALIZE_HEADER #define INITIALIZE_HEADER outheader.a_machtype = M_68020 In article <8911030031.AA08656@PODGE.MIT.EDU> eichin@ATHENA.MIT.EDU (Mark W. Eichin) writes: Path: agate!ucbvax!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!eichin From: eichin@ATHENA.MIT.EDU (Mark W. Eichin) Newsgroups: gnu.gcc.bug Date: 3 Nov 89 00:31:08 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 11 I configured gcc-1.36 (using ...config.gcc -srcdir=... sun4) and built it on my sun4 running SunOs4.0.1 using "make bootstrap". The first build worked (either with gcc-1.35 or cc) but the stage1 build crashed -- specifically, "genflags md" dumped core immediately (no error messages, and the core dump wasn't useful, nor could gdb-3.3 set a breakpoint in genflags when run by hand...) Any suggestions (has anyone else gotten gcc-1.36 up on a sparc?) This is straight from prep, with no posted patches added... Mark Eichin