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
|