[dpdk-dev] [Bug 87] build dpdk and example with different gcc version issue

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Aug 31 05:28:53 CEST 2018


https://bugs.dpdk.org/show_bug.cgi?id=87

            Bug ID: 87
           Summary: build dpdk and example with different gcc version
                    issue
           Product: DPDK
           Version: unspecified
          Hardware: x86
                OS: FreeBSD
            Status: CONFIRMED
          Severity: minor
          Priority: Low
         Component: other
          Assignee: dev at dpdk.org
          Reporter: xuemingx.zhang at intel.com
  Target Milestone: ---

we try different gcc version,results are as follows:

1、Compiled successfully
# gmake install -j1 T=x86_64-native-bsdapp-gcc CC=gcc48 
# gmake examples -j1 T=x86_64-native-bsdapp-gcc CC=gcc48

2、Compiled successfully
# gmake install -j1 T=x86_64-native-bsdapp-gcc 
# gmake examples -j1 T=x86_64-native-bsdapp-gcc

3、Compiled successfully
# gmake install -j1 T=x86_64-native-bsdapp-gcc 
# gmake examples -j1 T=x86_64-native-bsdapp-gcc CC=gcc48

4、Compile failed
# gmake install -j1 T=x86_64-native-bsdapp-gcc CC=gcc48 
# gmake examples -j1 T=x86_64-native-bsdapp-gcc 
error message:
================== Build examples for x86_64-native-bsdapp-gcc == 
bbdev_app
   CC main.o
   LD bbdev
/usr/local/bin/ld: cannot find -lrte_common_octeontx
collect2: error: ld returned 1 exit status
gmake[4]: *** [/root/meijuan/dpdk/mk/rte.app.mk:365: bbdev] Error 1
gmake[3]: *** [/root/meijuan/dpdk/mk/rte.extapp.mk:15: all] Error 2
gmake[2]: *** [/root/meijuan/dpdk/mk/rte.extsubdir.mk:22: bbdev_app] 
Error 2
gmake[1]: *** [/root/meijuan/dpdk/mk/rte.sdkexamples.mk:26: x86_64- 
native-bsdapp-gcc_examples] Error 2
gmake: *** [/root/meijuan/dpdk/mk/rte.sdkroot.mk:96: examples] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list