pro64-support
[Top] [All Lists]

bus error when running gfec and gfecc

To: pro64-support@xxxxxxxxxxx
Subject: bus error when running gfec and gfecc
From: Eduard Santamaria <esantama@xxxxxxxxx>
Date: Wed, 21 Feb 2001 18:51:24 +0100
Organization: DAC-UPC
Sender: owner-pro64-support@xxxxxxxxxxx
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@xxxxxxxxx
________________________________________________________________________

<Prev in Thread] Current Thread [Next in Thread>