https://bugs.linaro.org/show_bug.cgi?id=3573
--- Comment #4 from Viktor Tikkanen <[email protected]> --- Hi! I tested it with DPDK 17.02 and ODP master branch (commit 634b380b63de53c65b92c214d91aaf03785d69db). Now I updated DPDK to 17.08 but got following error when compiling ODP master code 5a4502fc: [root@overcloud-novacompute-1 odp]# git status # HEAD detached at 5a4502f nothing to commit, working directory clean [root@overcloud-novacompute-1 odp]# ./configure --prefix=/usr/local --enable-helper-linux=yes --enable-dpdk-zero-copy=yes --with-dpdk-path=/home/heat-admin/ofp/scripts/dpdk/x86_64-native-linuxapp-gcc --enable-deprecated ... opendataplane 1.17.0.0 ODP Library version: 117:0:0 Helper Library version: 113:2:1 implementation_name: odp-linux host: x86_64-unknown-linux-gnu ARCH_DIR x86 ARCH_ABI x86_64-linux with_platform: linux-generic helper_linux: yes prefix: /usr/local sysconfdir: ${prefix}/etc libdir: ${exec_prefix}/lib includedir: ${prefix}/include testdir: WITH_ARCH: x86 cc: gcc cc version: 4.8.5 cppflags: cflags: -g -O2 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -std=c99 ldflags: libs: defs: -DHAVE_CONFIG_H static libraries: yes shared libraries: yes ABI compatible: yes Deprecated APIs: yes debug: no cunit: yes test_vald: yes test_perf: yes test_perf_proc: yes test_cpp: yes test_helper: yes test_example: yes user_guides: no [root@overcloud-novacompute-1 odp]# make install ... CCLD ../../lib/libodp-linux.la /bin/ld: /home/heat-admin/ofp/scripts/dpdk/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a(rte_ethdev.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /home/heat-admin/ofp/scripts/dpdk/x86_64-native-linuxapp-gcc/lib/librte_ethdev.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[1]: *** [../../lib/libodp-linux.la] Error 1 make[1]: Leaving directory `/home/heat-admin/odp/platform/linux-generic' make: *** [install-recursive] Error 1 [root@overcloud-novacompute-1 odp]# -- You are receiving this mail because: You are on the CC list for the bug.
