Solaris 7
assar@stacken.kth.se
assar at stacken.kth.se
Wed May 12 06:17:36 CEST 1999
Dominic Lai <dominic at cs.ust.hk> writes:
> I tried to compile arla-0.23 and krb4 (1999/05/08) on SparcWork 5.0
> under 64-bit Solaris 7. C compiler was supplied with the parameter
> "-xtarget=ultra -xarch=v9" and the assembler (as) was supplied with
> "-xarch=v9" in order to force the compilation in 64-bit. It seems
> that it fails to compile the assembly routine when compiling the
> lwp routine. Specifically, "make-process.o.sh" gives the following
> error:
>
> + as -xarch=v9 -P -I../include -Dsparc -DAFS_SUN5_ENV -D_ASM ./process.S -o
> process.o
> as: "./process.S", line 348: error: detect global register use not covered
> .register pseudo-op
> as: "./process.S", line 349: error: detect global register use not covered
> .register pseudo-op
> as: "./process.S", line 352: warning: detect global register use not covered
> .register pseudo-op
> as: "./process.S", line 353: warning: detect global register use not covered
> .register pseudo-op
> as: "./process.S", line 645: error: detect global register use not covered
> .register pseudo-op
> as: "./process.S", line 646: error: detect global register use not covered
> .register pseudo-op
>
> .......
>
>
> Unluckily, I am not familar with Sparc assembly codes and I have no ideas
> how to rectify this. However, I notice that my Ultra 1 has the patch
> "107058-01" applied. According to the patch report, it says:
>
> > this patch, rev -01
> > -------------------
> > 4198684 Add support for V9 ELF register symbols and the .register pseudo-op
>
> I am not sure if this causes the problem (as I do not want to do the
> patchrm to get rid of this patch).
I manage to assemble it succesfully with
as: WorkShop Compilers 5.0 Alpha 03/27/98 Build
I don't know if it has any patches applied or not.
/assar
More information about the Arla-drinkers
mailing list