From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653641821640.tru64-unix-managers.marc@archive.invalid> From: Trevor Osatchuk Date: Thu, 04 Oct 2001 15:22:46 +0000 To: tru64-unix-managers Subject: Summary: error comping gcc 3.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653641821640 I want to thank Kazuro Furukawa and Bjarne Blichfeldt for rewriting the install instructions for me.(which I seemed to want to ingore) I also want to thank Simon Greaves for explaining what 'make bootstrap' means. His words: You need 'make bootstrap' so it will compile the first stage with Compaq CC then shuffle things around and then use the Compaq CC compiled version of gcc to re-compile gcc again, and then typically do that again so you end up with a version of gcc compiled with gcc. 'bootstrap' just refers to this process by which you end up with a gcc compiled gcc when you never had gcc in the first place, a kind of 'chicken-and-egg' thing. I also want to thank Bob Marcan for his response. The steps I took to make the install work are exactly what are in the install manual. Embarrassing original plea for help follows: > -----Original Message----- > From: Trevor Osatchuk > Sent: Wednesday, October 03, 2001 11:05 AM > To: Tru64-Unix-Managers (E-mail) > Subject: error comping gcc 3.0 > > Hi there. I am attempting to compile gcc 3.0 on a 5.1 Tru64 box. I have > installed gnu make 3.79.1 and have tried it as well. Actually, gnu make > didn't install normally, I used the build.sh file instead and then used > the gnu make to make install itself. Here are the error messages I get > after running configure and making the file with gnu make: > > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 528: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->b) > current_binding_level = newlevel; > --^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 584: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->b) > current_binding_level = current_binding_level->level_chain; > ----^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 599: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->b) > current_binding_level = class_binding_level; > ----^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 621: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->b) > current_binding_level = current_binding_level->level_chain; > --^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 634: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->b) > current_binding_level = b; > --^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 4294: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->) > current_binding_level = level; > ------^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 4296: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->) > current_binding_level = b; > ------^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 6405: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->) > current_binding_level = NULL_BINDING_LEVEL; > --^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 9932: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->) > current_binding_level = b->level_chain; > ------^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 9935: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))->) > current_binding_level = b; > ------^ > cc: Error: ../../gcc-3.0/gcc/cp/decl.c, line 13472: In this statement, > "(cfun&&((struct cp_language_function ...)(cfun->language))-) > current_binding_level = bl; > --^ > make[1]: *** [cp/decl.o] Error 1 > make[1]: Leaving directory `/usr/users/fybar/gccexe/gcc' > make: *** [all-gcc] Error 2 > > If anyone could suggest what the problem could be, or if they could > suggest a version of gcc that will install without any problems I would > appreciate it. My goal is actually to get mySQL to compile so I need to > install gnu tar as I got a number of errors during the extraction and the > archives said that gnu tar was the solution. The gnu tar notes that I > read said that it was best to install with gcc installed. Also, I > wouldn't mind having gcc around any way. Sorry about the length of this > message. > > Thanks! > > Trevor Osatchuk > Process Solutions Canada Ltd. > Support and Integration Analyst > (780) 452-2227 Ext. 286 > trevor.osatchuk@pscl.com > > Any man whose errors take ten years to correct is quite a man. > - J. Robert Oppenheimer, speaking of Albert Einstein >