[dpdk-users] How to compile librte_eal using static link of libc?

Hubble_Zhu 403975152 at qq.com
Wed Jun 24 09:39:39 CEST 2020


Hi,all
     
     I want to compile librte_eal with static link of libc.a.
     I have tried to add 
     LDLIBS += -Wl,-Bstatic -lc -Wl,-Bdynamic     in dpdk-19.11/lib/librte_eal/linux/eal/Makefile


     compile ok, but my program meet SIGSEGV when start.
     core dump at getauxval()...


     So i wanna ask how to make compile with static link of libc work.
     Any help will be highly appreciated.


More information about the users mailing list