On Wed, May 11, 2011 at 09:37:45AM +0200, Hilko Bengen wrote:
On a Debian/unstable chroot environment on
smetana.debian.org
("Linux
smetana 2.6.32-5-sparc64-smp #1 SMP Tue Mar 8 01:00:11 UTC 2011 sparc64
GNU/Linux") node_set_value and node_values fail with a "Bad address"
error, see below.
I am going to make an attempt at debugging this tonight, any advice
would be appreciated.
What is the C integer model of sparc64? I notice that we're storing
the size_t (hive_value_t) values in Perl integers using newSViv.
That's going to be a problem if Perl int is 32 bit, because those are
64 bit pointers. If that is the problem, the fix would be to replace
newSViv with my_newSVll.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org