[ovs-discuss] ovs 2.0 and "64bit-portability-issue"

Eugene Istomin e.istomin at edss.ee
Mon Oct 28 11:41:10 UTC 2013


Hello,

i make an ovs 2.0 build with 3.11 kernel patch using OBS and trying to apply this to stable packages ( https://build.opensuse.org/request/show/204794 ), 
maintainer of OBS:Network gives me hint to check up "64bit-portability-issue" at least on i586 Factory.

Here is the build errors from build log (https://build.opensuse.org/package/rawlog/home:edssvirt:branches:network/openvswitch/openSUSE_Factory/i586):


[  101s] In file included from /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/gre.c:40:0:
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h: In function 'rpl_skb_reset_inner_headers':
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:64:40: warning: assignment makes pointer from integer without a cast [enabled by default]
[  101s]   OVS_GSO_CB(skb)->inner_network_header = skb->network_header;
[  101s]                                         ^
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:65:36: warning: assignment makes pointer from integer without a cast [enabled by default]
[  101s]   OVS_GSO_CB(skb)->inner_mac_header = skb->mac_header;
[  101s]                                     ^
[  101s] In file included from /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/gso.c:37:0:
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h: In function 'rpl_skb_reset_inner_headers':
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:64:40: warning: assignment makes pointer from integer without a cast [enabled by default]
[  101s]   OVS_GSO_CB(skb)->inner_network_header = skb->network_header;
[  101s]                                         ^
[  101s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:65:36: warning: assignment makes pointer from integer without a cast [enabled by default]
[  101s]   OVS_GSO_CB(skb)->inner_mac_header = skb->mac_header;
[  101s]                                     ^
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/net_namespace.o
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/reciprocal_div.o
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/skbuff-openvswitch.o
[  102s] In file included from /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/ip_tunnels_core.c:35:0:
[  102s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h: In function 'rpl_skb_reset_inner_headers':
[  102s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:64:40: warning: assignment makes pointer from integer without a cast [enabled by default]
[  102s]   OVS_GSO_CB(skb)->inner_network_header = skb->network_header;
[  102s]                                         ^
[  102s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:65:36: warning: assignment makes pointer from integer without a cast [enabled by default]
[  102s]   OVS_GSO_CB(skb)->inner_mac_header = skb->mac_header;
[  102s]                                     ^
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/vxlan.o
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/workqueue.o
[  102s]   CC [M]  /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/utils.o
[  103s] In file included from /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/vxlan.c:55:0:
[  103s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h: In function 'rpl_skb_reset_inner_headers':
[  103s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:64:40: warning: assignment makes pointer from integer without a cast [enabled by default]
[  103s]   OVS_GSO_CB(skb)->inner_network_header = skb->network_header;
[  103s]                                         ^
[  103s] /home/abuild/rpmbuild/BUILD/openvswitch-2.0.0/obj/default/datapath/linux/compat/gso.h:65:36: warning: assignment makes pointer from integer without a cast [enabled by default]
[  103s]   OVS_GSO_CB(skb)->inner_mac_header = skb->mac_header;


Can you help to make a correct fixes?
Thanks. 

-- 
Best regards,
Eugene Istomin




More information about the discuss mailing list