> Bhaskar Jayaraman wrote:
> > Hi thanks for your posts so far. Since what I had
> assumed was a 32 bit
> > kernel which I compiled didn't work, I religiously
> set out on compiling
> > a 64 bit version as my system is currently booted
> in 64 bit mode. I
> > installed SUNStudio12 on the system and set the
> SPRO_VROOT to point
> > towards it and when I do a make all in usr/src
> directory, I get the
> > following error when make cwds and runs in the
> i86pc/unix direcotry: -
> 
> Compiling the kernel with Sun Studio 12 doesn't quite
> work yet. I don't 
> know the details (may be it's what Frank hinted at in
> his reply), nor a 
> timeline, but currently you need to use Sun Studio
> 11.
> 
> sorry 'bout that
> Michael
> -- 
> Michael Schuster      Sun Microsystems, Inc.
> recursion, n: see 'recursion'
> _______________________________________________
> xen-discuss mailing list
> [EMAIL PROTECTED]

I replaced studio12 with studio11 and am still seeing the same error.
I am using the -xmodel=kernel option in the makefile and I havent modified any 
of them so they all stay as it is.

I get this warning during compilation: -
cc: Warning: -xarch=amd64 is deprecated, use -m64 to create 64-bit programs

So I change
 amd64_XARCH=            -xarch=amd64 -Ui386 -U__i386
to 
amd64_XARCH=            -m64 -Ui386 -U__i386

in the makefile but that didn't work so I changed the above to 
 amd64_XARCH=            -xarch=generic64 -Ui386 -U__i386

and I see no warnings but then the "value does not fit " error still shows up 
when a make is done in 
/export/path/to/workspace/usr/src/uts/i86pc/unix/obj64 directory

Any clues will be helpful. I saw a similar post by someone else earlier but no 
solution to it.

Regards
Bhaskar.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to