I am trying to build my code on OpenSolaris for SPARC build 109.
I have installed the following sunstudioexpress
sunstudioexpress 0.2008.11-0.106
While building I get the following error
3810 /opt/SUNWspro//bin/CC -xcg92 -m32 -g0 -Qoption ccfe -features=noglobal
-Qoption cg -Qiselect-T1 -xO3 ../../../sparc/ml/sparc.il -xspace
-temp=/tmp/nbuild-td153743-tmp.17885/tmp -Qoption ccfe -messages=no%anachronism
-Qoption ccfe -features=no%conststrings -xwe -xildoff +p +w -features=no%except
-instances=extern -features=no%strictdestrorder -library=no%Crun
-library=no%Cstd
-D_KERNEL -D_SYSCALL32 -DDEBUG -DSYSACCT -DC2_AUDIT -I../../../sparc
-I/workspace/td153743/sfbay/ws/c1+5.11+sparc/proto/Sol_11/root_sparc/usr/includ
e
-I/usr/include -DVXFS_DISABLED -DWEAK_MEMBERSHIP -DSOL_VERSION=200710
-I/workspace/td153743/sfbay/ws/c1+5.11+sparc/usr/src/common/cl
-I/workspace/td153743/sfbay/ws/c1+5.11+sparc/usr/src/common/cl/interfaces/32
-D_KERNEL_ORB -D_FAULT_INJECTION -DDEBUG -DFAULT_ALL -c
-o debug32/mcobj_impl.o
/workspace/td153743/sfbay/ws/c1+5.11+sparc/usr/src/common/cl/cl_net/mcobj_impl.
cc
3811
3812 CODEGEN IR TREE SYNTAX ERROR AT LINE
3813 WITHIN ROUTINE __1cbCstickywildcard_ht_equal_func6FXX_b_
3814 !
(/workspace/td153743/sfbay/ws/c1+5.11+sparc/usr/src/common/cl/cl_net/mcobj_impl
.cc:141)
3815 T[11] PTR strty assign L[42]=%v113 L[44]=%v115 attr:
3816 L[42] DREG_113 PTR strty [type = t[90]] VAR %v113 dbg_sym_id: {0,0}
3817 L[44] DREG_115 ulonglong align 4 [type = t[71]] VAR %v115 dbg_sym_id:
{643,1}
3818
3819 /opt/scbld/bin/sparc/ctfconvert -L VERSION debug32/mcobj_impl.o
3820 ERROR: ctfconvert: debug32/mcobj_impl.o: Couldn't read ehdr: Request
error: class file/memory mismatch
3821 Removing debug32/mcobj_impl.o
3822 *** Error code 1
The same code compiles without any problem on x86.
Thanks in advance
Tirthankar
http://blogs.sun.com/tirthankar
--
This message posted from opensolaris.org