ansyun / dpdk-ans

ANS(Accelerated Network Stack) on DPDK, DPDK native TCP/IP stack.
https://ansyun.com
BSD 3-Clause "New" or "Revised" License
1.16k stars 324 forks source link

-march=core-avx-i has no matching .a library file? #62

Closed anqiangli closed 6 years ago

anqiangli commented 6 years ago

Hi , Can you give the .a library of core-avx-i ? Thanks!

Lee

bluenet13 commented 6 years ago

Different gcc version has different -march name, so you can upgrade your gcc version, and then you can get the correct lib. Maybe core-avx is haswell, you can use haswell lib by manually.

anqiangli commented 6 years ago

Thank you very much! I try to use haswell , but it is not OK, the error info:/usr/bin/ld: /home/mytest/dpdk-ans/librte_ans/librte_ans.a(ans_init.o): unrecognized relocation (0x2a) in section `.text' Can you tell me the method how generating the librte_ans.a when -march=core-avx-i ? Thanks !

Lee

bluenet13 commented 6 years ago

Upgrade your binutils

bluenet13 commented 6 years ago

Any issue? if no, close it.