Bug 32 - Does not cross-compile: buildtools/check-experimental-syms.sh assumes `objdump`
Summary: Does not cross-compile: buildtools/check-experimental-syms.sh assumes `objdump`
Status: CONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: mk (show other bugs)
Version: 18.05
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2018-05-03 12:17 CEST by Raph
Modified: 2020-03-11 10:47 CET (History)
2 users (show)



Attachments

Description Raph 2018-05-03 12:17:10 CEST
buildtools/check-experimental-syms.sh assumes `objdump`, which will use whatever host system objdump is found in the default PATH.

Cross-compiling requires this to take a prefix, eg `"${CROSS}"objdump`.
Comment 1 Muhammad Ahmad 2020-03-11 10:47:42 CET
The objdump is only used in check-experimental-syms.sh which is called on compile time.

While cross-compiling, any compile-time error does not occur even-though objdump is being used on ARM aarch64 architecture file because objdump is being used with -t flag which displays the symbol table only. With -t flag objdump does not give any error even if the object file is of different architecture.

So, in conclusion, it does not matter if architecture specific objdump is used or not, the output will be the same for all architectures.

I think we can close this bug.

Note You need to log in before you can comment on or make changes to this bug.