[oe] Recent OBJDUMP changes

Richard Purdie rpurdie at rpsys.net
Mon Dec 4 13:23:45 UTC 2006


On Mon, 2006-12-04 at 00:00 +0100, Leon Woestenberg wrote: 
> Hello,
> 
> I seem to hit upon a recent change involving finding shlib
> dependencies using the objdump | grep NEEDED approach by Graeme
> Gregory/XorA:
> 
> http://www.openembedded.org/viewmtn/revision.psp?id=1fb8812d36f505cfabe9ee2335441ada60e32f83
> 
> Shouldn't (BUILD_)OBJDUMP be defined instead with a BUILD_PREFIX?

BUILD_OBJDUMP would use BUILD_PREFIX
HOST_OBJDUMP (or OBJDUMP) should use HOST_PREFIX

> OBJDUMP uses HOST_PREFIX, which seems undefined during packaging
> (using package_ipk).

HOST_PREFIX should never be undefined. How are you working out its
undefined?

When running an arm build, HOST_PREFIX might be "arm-linux-" so the
objdump used would be arm-linux-objdump. Note that if arm-linux-objdump
isn't in PATH, that would be a problem.

For comparison BUILD_PREFIX would be "i686-linux-" on my system and
using "i686-linux-objdump" which wouldn't make sense on arm binaries
when packaging.

Cheers,

Richard












More information about the Openembedded-devel mailing list