Hi,

While upgrading various branches with the latest unbound, I run
in issues with libunbound_wrap.c and swig.

On rawhide ("fedora 18") the shipped swig just segfaults:

https://bugzilla.redhat.com/show_bug.cgi?id=851364

On fedora 17 things seem to build fine.

On RHEL5 and RHEL6, I am seeing:

pythonmod/pythonmod.c:43: warning: ignoring #pragma GCC diagnostic
pythonmod/pythonmod.c:44: warning: ignoring #pragma GCC diagnostic
./libtool --tag=CC --mode=compile gcc -I.  -I/usr/include/python2.4 -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -pthread -o libunbound_wrap.lo -c 
libunbound/python/libunbound_wrap.c
libtool: compile:  gcc -I. -I/usr/include/python2.4 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -pthread -c 
libunbound/python/libunbound_wrap.c  -fPIC -DPIC -o .libs/libunbound_wrap.o
libunbound/python/libunbound_wrap.c: In function 'ub_result__packet':
libunbound/python/libunbound_wrap.c:2917: error: '$self' undeclared (first use 
in this function)
libunbound/python/libunbound_wrap.c:2917: error: (Each undeclared identifier is 
reported only once
libunbound/python/libunbound_wrap.c:2917: error: for each function it appears 
in.)
libunbound/python/libunbound_wrap.c: In function '_wrap_ub_resolve_async':
libunbound/python/libunbound_wrap.c:4516: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
make: *** [libunbound_wrap.lo] Error 1

So there are some things that seem very sensitive to the tool chains used.

Paul
_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to