pro64-support
[Top] [All Lists]

RE: Some error messages and questions

To: Jacques-Olivier Haenni <Jacques-Olivier.Haenni@xxxxxxx>, Peng Zhao <pengzhao@xxxxxxxxxxxxxx>
Subject: RE: Some error messages and questions
From: "Chan, Sun C" <sun.c.chan@xxxxxxxxx>
Date: Sat, 3 Mar 2001 16:03:49 -0800
Cc: sgi <pro64-support@xxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
to do cross compile, do "setenv TOOLROOT "path of sgicc binary",
then $TOOLROOT/usr/bin/sgicc file.c will do.
To debug, set LD_LIBRARY_PATH to where your backend components are.

> -----Original Message-----
> From: Jacques-Olivier Haenni [mailto:Jacques-Olivier.Haenni@xxxxxxx]
> Sent: Saturday, March 03, 2001 6:08 AM
> To: Peng Zhao
> Cc: sgi
> Subject: Re: Some error messages and questions
> 
> 
> Hi,
> 
> Peng Zhao wrote:
> > 
> > HI,
> > 
> > 1.      When running "sgicc -Ofast test.c", I was responded 
> with following
> > messages:
> >         "sgicc ERROR:  cannot exec
> > /usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/ipa_link"
> > 
> >         When using "sgicc -O3 -INLINE:must=callit:list 
> test.c", the thing
> > is ok.
> > 
> >         WHat is the reason? Should I use "-Y" things?
> 
> 
> On February 11th, Mike Murphy wrote :
> 
> : -Ofast is not supported yet.  It uses ipa, which has not 
> been released yet
> : (but will be soon).  Use -O3 for now.
> 
> This answers the first question.
> 
> 
> > 2.      I also meet this kind of error messages:
> > " tmp/ccs.Q9rHEG:285: Error: no such 386 instruction: `data1
> > 0x01,0x11,0x01,0x03,0x08,0x25,0x08,0x13'
> > 
> > /tmp/ccs.Q9rHEG:286: Error: no
> > such 386 instruction: `data1 
> 0x0b,0x42,0x0b,0x10,0x06,0x00,0x00,0x02'
> > 
> > /tmp/ccs.Q9rHEG:287: Error: no such 386 instruction: `data1
> > 0x2e,0x00,0x3a,0x0b,0x
> > "
> 
> 
> sgicc generates an assembly file which is then processed by 
> /usr/bin/as.  If
> you run sgicc under Linux on a IA-32 machine, /usr/bin/as is the IA-32
> assembler and you'll get the above-reproduced messages.
> 
> A solution could be to run sgicc under nue (or, even better, 
> to have an Itanium
> machine...).  However, on my Linux machine, I am not able to 
> run sgicc (the one
> compiled on my Linux IA-32 machine) under nue, because of a 
> problem with glibc
> versions.
> 
> What I do now is to compile sgicc on my IA-32 linux machine.  
> Then, I use it to
> generate assembly files (sgicc -S toto.c); next, I copy the 
> assembly files on
> an Itanium machine (some are available on the web) where I 
> assemble and link
> them.  Has somebody a better solution ?
> 
> 
> > 3.      How to check the result of function inlining? If I 
> switch on the
> > "-S" or "-keep" option, the IPA will not be applied, am I right?
> 
> IPA is never applied (yet), isn't it ?
> 
> If some part of my answer is wrong, I request the Pro64 gurus 
> to correct me...
> 
> Jacques-Olivier
> 
> -- 
>      Jacques-Olivier Haenni            
http://lslwww.epfl.ch/~johaenni/
                                       Jacques-Olivier.Haenni@xxxxxxx
Logic Systems Laboratory
Swiss Federal Institute of Technology (EPFL) | Tel: (+41 21) 693 66 30
1015 Lausanne - Switzerland                  | Fax: (+41 21) 693 37 05


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