Re: [zfs-discuss] zfs kernel compilation issue

2009-08-30 Thread P. Anil Kumar
Hi,

bash-3.2# isainfo
amd64 i386

The above output shows amd64 is available. But how can I now overcome the 
compilation failure issue?

Regards,
pak
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs kernel compilation issue

2009-08-30 Thread Will Murnane
Your issue may be due to a problem I ran into with 'cw' not generating
the proper arguments for the C compiler.  I've only used the Sun
Studio C compiler to build the kernel.

My notes on how I build the kernel are on my blog, in two parts:
https://blogs.cs.umbc.edu/willm1/2009/01/23/building-the-opensolaris-kernel/
https://blogs.cs.umbc.edu/willm1/2009/03/02/hooray-built-the-opensolaris-kernel/

The first page says at the end that those instructions result in
failure, but the second page mentions that building in an SXCE VM
instead of an OpenSolaris real box made things happy.  I don't know if
that's still necessary.

Will

On Sun, Aug 30, 2009 at 13:59, P. Anil Kumarcable_plug2...@yahoo.com wrote:
 Hi,

 bash-3.2# isainfo
 amd64 i386

 The above output shows amd64 is available. But how can I now overcome the 
 compilation failure issue?

 Regards,
 pak
 --
 This message posted from opensolaris.org
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs kernel compilation issue

2009-08-30 Thread P. Anil Kumar
I just added -xarch=amd64 in Makefile.master and then could compile the driver 
without any issues. 

Regards,
pak.
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zfs kernel compilation issue

2009-08-29 Thread Bill Sommerfeld

On Fri, 2009-08-28 at 23:12 -0700, P. Anil Kumar wrote:
 I would like to know why its picking up amd64 config params from the 
 Makefile, while uname -a clearly shows that its i386 ?

it's behaving as designed.

on solaris, uname -a always shows i386 regardless of whether the system
is in 32-bit or 64-bit mode.  you can use the isainfo command to tell if
amd64 is available.

on i386, we always build both 32-bit and 64-bit kernel modules; the
bootloader will figure out which kernel to load.

- Bill

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss