Hi Thomas,

I finally managed to care of the issue. With the following incremental on
the top of your series OVS DPDK builds properly on travis:

diff --git a/.travis/build.sh b/.travis/build.sh
index c096eaf..b96181f 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -23,9 +23,8 @@ function install_dpdk()
     tar xzvf dpdk-1.7.0.tar.gz > /dev/null
     cd dpdk-1.7.0
     find ./ -type f | xargs sed -i
's/max-inline-insns-single=100/max-inline-insns-single=400/'
+    sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,'
config/common_linuxapp
     make config CC=gcc T=x86_64-native-linuxapp-gcc
-    sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' build/.config
-    sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' build/.config
     make CC=gcc RTE_KERNELDIR=$KERNELSRC
     echo "Installed DPDK source in $(pwd)"
     cd ..
@@ -43,7 +42,7 @@ fi
 [ "$DPDK" ] && {
     install_dpdk
     # Disregard bad function casts until DPDK is fixed
-    CFLAGS="$CFLAGS -Wno-error=bad-function-cast"
+    CFLAGS="$CFLAGS -Wno-error=bad-function-cast -Wno-error=cast-align"
 }
 

The extra warning suppression is necessary for clang.

In case my main client screws up the code, you can find the commit here

https://github.com/ddiproietto/ovs/commit/6e3523f3bcc74b2af9df221073b45026f
9757b15

The corresponding travis build is:

https://travis-ci.org/ddiproietto/ovs/builds/35038165

Would you mind squashing that into your patch?

Thanks for taking care of the issue!

Daniele

On 9/10/14, 1:47 PM, "Thomas Graf" <tg...@noironetworks.com> wrote:

>On 09/10/14 at 10:33pm, Thomas Graf wrote:
>> ./dpdk-1.7.0/build/lib/libintel_dpdk.so: undefined reference to `dlopen'
>> ./dpdk-1.7.0/build/lib/libintel_dpdk.so: undefined reference to
>>`dlerror'
>
>Corresponding failing build:
>https://urldefense.proofpoint.com/v1/url?u=https://travis-ci.org/tgraf/ovs
>/jobs/34953295&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=MV9BdLjtFIdhBDBaw5z%2
>BU6SSA2gAfY4L%2F1HCy3VjlKU%3D%0A&m=M6cZOWlX17PZ8dk4h6oqrVK0JBTx9yPxQkcEs6C
>oHWY%3D%0A&s=a002c014ffc46e4ada56fa237dac2e7757657a4908800b95c8583d29cf5f6
>280

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to