I recommend you to use the hg tips of valaswig and r2 (and the vala
head). Bindings build works fine here and we will release new tarballs
with r2-0.7 (coming soon :)

On Tue, 15 Feb 2011 19:47:32 +0100
Jan Lieven <[email protected]> wrote:

> I just tried to build the latest (yeah, I know it's a little
> bit older...) r2-swig release and saw many SegFaults while compiling.
> 
> $ make perl
> make[1]: Entering directory
> `/tmp/test/radare2-swig/src/radare2-swig-0.6/perl' CFLAGS = 
> LIBS = -lr_util
> valaswig -x --vapidir ../vapi -o r_util.i -m r_util ../vapi/r_util
> Adding dependency package glib-2.0
> Adding dependency package gobject-2.0
> Adding dependency package ../vapi/r_util
> /usr/bin/valaswig-cc: line 156:  3950 Segmentation fault
> valaswig ${VALASWIGFLAGS} ${ARG_VAPIDIR} -o ${MOD}.i -m ${MOD}
> ${FILES} make[1]: [r_util.so] Error 1 (ignored) CFLAGS = 
> LIBS = -lr_util -lr_bp
> valaswig -x --vapidir ../vapi -o r_bp.i -m r_bp ../vapi/r_bp
> Adding dependency package glib-2.0
> Adding dependency package gobject-2.0
> Adding dependency package ../vapi/r_bp
> Adding dependency package r_util
> /usr/bin/valaswig-cc: line 156:  4039 Segmentation fault
> valaswig ${VALASWIGFLAGS} ${ARG_VAPIDIR} -o ${MOD}.i -m ${MOD}
> ${FILES} make[1]: [r_bp.so] Error 1 (ignored)
> 
> 
> $ gdb --args valaswig -x --vapidir ../vapi -o r_search.i -m
> r_search ../vapi/r_search
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7a5aa50 in vala_data_type_copy ()
> from /usr/lib/libvala-0.12.so.0
> 
> The list contains every build target, I just figured it might be too
> much to attach it all.
> I'm not sure if this is a r2-swig, swig, valaswig or vala problem,
> though.

_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to