Hello,

while building OVN I noticed that the C parser (`_json.c`) of the ovs python package does not work as expected on i586. It seems like numbers are parsed as int and overflow on 32bit, resulting in issues like this:


ovsdb-idlc c-idl-header lib/ovn-sb-idl.ovsidl > lib/ovn-sb-idl.h.tmp && mv 
lib/ovn-sb-idl.h.tmp lib/ovn-sb-idl.h
[   48s] /usr/bin/ovsdb-idlc: syntax 
"{"maxInteger":-1,"minInteger":1,"type":"integer"}": syntax error: minInteger 
exceeds maxInteger


So for x64 it works, but i586 fail. The pure python version works for all architectures. So my workaround is to force using the pure python version on 32bit.


-- Ferdinand

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to