http://bugzilla.opensuse.org/show_bug.cgi?id=1002534 Bug ID: 1002534 Summary: dpdk-16.07: rte_eal_init hangs when trying to compile a simple testcase Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: nirmoy.das@suse.com Reporter: mchandras@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 695413 --> http://bugzilla.opensuse.org/attachment.cgi?id=695413&action=edit openvswitch-2.6.0 testcase The attached testcase is what's used in openvswitch-2.6.0 to test whether linking against DPDK is possible. Compiling the following testcase using the following command line results to gcc consuming 100% CPU and the process just hangs. gcc -o conftest -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -I/usr/local/include/dpdk -I/usr/include/dpdk conftest.c -ldpdk -lpcap -lnuma -latomic -lpthread -lrt -lm -lpcap conftest.c: In function 'main': conftest.c:69:30: warning: 'rte_argc' is used uninitialized in this function [-Wuninitialized] rte_eal_init(rte_argc, rte_argv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c:69:30: warning: 'rte_argv' is used uninitialized in this function [-Wuninitialized] -- You are receiving this mail because: You are on the CC list for the bug.