Skip to contentSkip to conversation

Unable to install dpdk on arm64

Bug 72 [email protected] 2 participants 3 messages Jul 17, 2018 – Jul 18, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 72
Summary: Unable to install dpdk on arm64
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

###################################################################
############### C O M P I L I N G ##########################
###################################################################

stanislav@contivvpp:~/dpdk$ make install T=arm64_thunderx_linuxapp_gcc
make[3]: *** No rule to make target
'/home/stanislav/dpdk/config/defconfig_arm64_thunderx_linuxapp_gcc', needed by
'/home/stanislav/dpdk/arm64_thunderx_linuxapp_gcc/.config'.  Stop.
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed
make[2]: *** [config] Error 2
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install'
failed
make[1]: *** [pre_install] Error 2
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
stanislav@contivvpp:~/dpdk$ 
stanislav@contivvpp:~/dpdk$ make install T=arm64_native_linuxapp_gcc
make[3]: *** No rule to make target
'/home/stanislav/dpdk/config/defconfig_arm64_native_linuxapp_gcc', needed by
'/home/stanislav/dpdk/arm64_native_linuxapp_gcc/.config'.  Stop.
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed
make[2]: *** [config] Error 2
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install'
failed
make[1]: *** [pre_install] Error 2
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
stanislav@contivvpp:~/dpdk$ 

###################################################################
############ R E P O S I T O R Y ######################################
###################################################################

stanislav@contivvpp:~/dpdk$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
stanislav@contivvpp:~/dpdk$ git log
commit c27dbc300eee78c2eb33e84181617fdd7cbaaae4
Author: Thomas Monjalon <[email protected]>
Date:   Mon Jul 16 01:17:18 2018 +0200

version: 18.08-rc1

###################################################################

See more at:
https://gist.github.com/stanislav-chlebec/b622b12ec5b4a976a74e6de20e8a6fc1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 59 lines · On Tuesday 17 July 2018 01:26 PM, [email protected] wrote:

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

Bug ID: 72
Summary: Unable to install dpdk on arm64
Product: DPDK
Version: unspecified
Hardware: ARM
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

###################################################################
############### C O M P I L I N G ##########################
###################################################################

stanislav@contivvpp:~/dpdk$ make install T=arm64_thunderx_linuxapp_gcc
make[3]: *** No rule to make target
'/home/stanislav/dpdk/config/defconfig_arm64_thunderx_linuxapp_gcc', needed by
'/home/stanislav/dpdk/arm64_thunderx_linuxapp_gcc/.config'.  Stop.
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed
make[2]: *** [config] Error 2
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install'
failed
make[1]: *** [pre_install] Error 2
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
stanislav@contivvpp:~/dpdk$
stanislav@contivvpp:~/dpdk$ make install T=arm64_native_linuxapp_gcc
make[3]: *** No rule to make target
'/home/stanislav/dpdk/config/defconfig_arm64_native_linuxapp_gcc', needed by
'/home/stanislav/dpdk/arm64_native_linuxapp_gcc/.config'.  Stop.
/home/stanislav/dpdk/mk/rte.sdkroot.mk:65: recipe for target 'config' failed
make[2]: *** [config] Error 2
/home/stanislav/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install'
failed
make[1]: *** [pre_install] Error 2
/home/stanislav/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
stanislav@contivvpp:~/dpdk$

###################################################################
############ R E P O S I T O R Y ######################################
###################################################################

stanislav@contivvpp:~/dpdk$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
stanislav@contivvpp:~/dpdk$ git log
commit c27dbc300eee78c2eb33e84181617fdd7cbaaae4
Author: Thomas Monjalon <[email protected]>
Date:   Mon Jul 16 01:17:18 2018 +0200
Quoted 9 lines

version: 18.08-rc1

###################################################################

See more at:
https://gist.github.com/stanislav-chlebec/b622b12ec5b4a976a74e6de20e8a6fc1

Though I directly commented in bugzilla as well, I will just repeat that here because I noticed that emails to dev@ are automatically being added to bug history (and reverse is not true).

---
You have made a very tiny mistake of '_' in place of the correct '-':

from:
make install T=arm64_thunderx_linuxapp_gcc
to:
make install T=arm64-thunderx-linuxapp-gcc

Please check, the files available in config are:
defconfig_arm64-armv8a-linuxapp-clang
defconfig_arm64-armv8a-linuxapp-gcc
defconfig_arm64-dpaa2-linuxapp-gcc
defconfig_arm64-dpaa-linuxapp-gcc
defconfig_arm64-stingray-linuxapp-gcc
defconfig_arm64-thunderx-linuxapp-gcc
defconfig_arm64-xgene1-linuxapp-gcc

And T=<should be above string, without the 'defconfig_'>

This works fine for me:

$ make T=arm64-thunderx-linuxapp-gcc install
Configuration done using arm64-thunderx-linuxapp-gcc
== Build lib
== Build lib/librte_compat
...
---

Now, as per bug process, who would set this to resolve/Invalid?