| Posted on 2009-02-02 20:16:23-08 by kaffee in response to 9795 |
| Re: failing to compile in USE_ARCH=64 guise? |
|
Sorry to hear about the hospital thing.
I looked through the compiler warnings. Some of them point to real problems, but most are harmless. And I think none of them are related to the crash you are seeing.
The valgrind output you sent suggests that you compiled Glib without debugging symbols. Those would be useful:
$ export PASTHRU_INC="-g"
And then rerun Makefile.PL, make, and valgrind on the perl-64 binary:
$ valgrind --tool=memcheck --num-callers=100 /usr/bin/perl -I blib/arch -I blib/lib -MGlib::GenPod
+-MGlib -e "add_types (qq(doctypes)); Glib::GenPod::set_copyright(qq{Copyright (C) 2003-2008 by the
+ gtk2-perl team.\n\nThis software is licensed under the LGPL. See L<Glib> for a full notice.\n});
+Glib::GenPod::set_main_mod(qq(Glib)); xsdoc2pod(q(build/doc.pl), q(blib/lib), q(build/podindex));"
As as blind shot, can you try this patch and see if it changes anything?
Index: GType.xs
===================================================================
--- GType.xs (revision 1064)
+++ GType.xs (working copy)
@@ -273,6 +273,10 @@ gperl_type_enum_get_values (GType enum_t
GEnumClass * class;
g_return_val_if_fail (G_TYPE_IS_ENUM (enum_type), NULL);
class = gperl_type_class (enum_type);
+ if (!class)
+ croak ("failed to fetch the type class "
+ "for the enum type %d (%s)",
+ enum_type, g_type_name (enum_type));
return class->values;
}
@@ -282,6 +286,10 @@ gperl_type_flags_get_values (GType flags
GFlagsClass * class;
g_return_val_if_fail (G_TYPE_IS_FLAGS (flags_type), NULL);
class = gperl_type_class (flags_type);
+ if (!class)
+ croak ("failed to fetch the type class "
+ "for the flags type %d (%s)",
+ flags_type, g_type_name (flags_type));
return class->values;
}
$ patch -p0 < file.patch
Also, can we please move off cpanforum.com? Instead, send your reply to [kaffeetisch gmx de]. |
| Direct Responses: 9856 | Write a response |