Received: by oss.sgi.com id ; Wed, 21 Feb 2001 09:52:06 -0800 Received: from roura.ac.upc.es ([147.83.33.10]:19449 "EHLO roura.ac.upc.es") by oss.sgi.com with ESMTP id ; Wed, 21 Feb 2001 09:51:50 -0800 Received: from ac.upc.es (pons.ac.upc.es [147.83.32.9]) by roura.ac.upc.es (8.11.0/8.11.0) with ESMTP id f1LHpOa02049 for ; Wed, 21 Feb 2001 18:51:24 +0100 (MET) Message-ID: <3A94001C.E693D8BB@ac.upc.es> Date: Wed, 21 Feb 2001 18:51:24 +0100 From: Eduard Santamaria Organization: DAC-UPC X-Mailer: Mozilla 4.7 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: pro64-support@oss.sgi.com Subject: bus error when running gfec and gfecc Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-pro64-support@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;pro64-support-outgoing Hi, As a first step to port the Pro64 to an IRIX/MIPS platform I'm trying to build the Pro64 on that platform. I've already compiled and executed the driver and the preprocessor, but a problem arises when it comes to the c and C++ front-ends. None of them executes properly and the operating system yields a bus error. I've tried to do some debugging finding that the error arises at the execv call (when the driver tries to load and execute the front-end image), so I think it might be the loader who causes the error (perhaps due to defective objects). sources from osprey1.0/gccfe/gnu have been compiled with gcc (gcc version 2.8.1). sources from osprey1.0/gccfe have been compiled with SGI cc and CC (MIPSpro Compilers: Version 7.30). Could linking together objects from both compilers lead to bus error problem? It seems not easy to compile all the sources with a single compiler. I've discarded doing so with the SGI compiler because a huge amount of errors appear. When trying the GNU compiler I find this "`operator new' takes type `size_t' as first parameter" error which I don't know how to deal with. uname -a IRIX64 karnak 6.5 04191312 IP27 Does anyone have any idea of the possible cause and solution to this problem? Another question: I'm not quite sure of the meaning of the BUILD_TARGET variable defined at every Makefile file. Does it refer to the platform where the Pro64 is to be executed or the platform for which the Pro64 is going to generate code? If it's the former I'm afraid I lack some files, am I wrong? Best regards, Eduard. ________________________________________________________________________ o o o Eduard Santamaria Barnadas o o o Department of Computer Architecture o o o Universitat Politecnica de Catalunya Phone: +34 93 401 1649 C/ Jordi Girona, 1-3 Campus Nord, Modul C6 - S103 U P C 08034 - BARCELONA (SPAIN) mailto:esantama@ac.upc.es ________________________________________________________________________