This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Profiling on mips-irix6? (Testcase gcc.dg/nest.c failure)


 > From: Tim Prince <tprince@computer.org>
 > 
 > On Wednesday 02 October 2002 07:22, Kaveh R. Ghazi wrote:
 > > When running the testsuite on mips-sgi-irix6.5, I get a failure in
 > > gcc.dg/nest.c:
 > >
 > > http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg01040.html
 > >
 > >  > FAIL: gcc.dg/nest.c (test for excess errors)
 > >  > WARNING: gcc.dg/nest.c compilation failed to produce executable
 > >
 > > Its not just me:
 > > http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg01050.html
 > >
 > > This test passes in the -pg flag.  Looking at gcc.log, I see:
 > >  > ld32: FATAL   9  : I/O error (/usr/lib32/mips3/gcrt1.o): No such file or
 > >  > directory collect2: ld returned 32 exit status
 > >
 > > I can't find gcrt1.o anywhere.  Its not already installed on my system
 > > nor is it provided by and built by gcc itself.
 > As I used Irix-6.5 in a previous cloak, I'll take a stab:
 > -pg was not the way to do profiling on Irix-6.5; I'm not surprised the 
 > support libraries are missing.  It was done by building with -g and using 
 > speedshop.

I'm confused by the iris6.h definition of STARTFILE_SPEC.  Take a look
at it, it's very specific in expecting gcrt1.o to exist in the irix6
system library area.  Ditto for libprof1.a.  Why is it defined this
way if these files don't exist?

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]