Skip to contentSkip to conversation

use AC_CHECK_TOOL for objcopy and strip

PATCH Nathan Lynch 2 participants 3 messages Dec 11, 2015 – Dec 14, 2015 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Nathan Lynch

The build steps for some tests refer directly to objcopy and strip, which when cross-compiling can result in:

objcopy --only-keep-debug prog prog.debug
objcopy: Unable to recognise the format of the input file `prog'

Use AC_CHECK_TOOL to use appropriate programs for the target.

(This patch is for lttng-tools.)

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi Nathan,

Michael Jeanson already posted a patch [1] regarding this. His patch seems more complete since it also reuse objcopy for stripping instead of strip.

Could you test the patch?

Cheers

[1] https://lists.lttng.org/pipermail/lttng-dev/2015-December/025332.html

Quoted 16 lines · Nathan Lynch
Quoted 7 lines · Nathan Lynch

The build steps for some tests refer directly to objcopy and strip, which when cross-compiling can result in:

objcopy --only-keep-debug prog prog.debug
objcopy: Unable to recognise the format of the input file `prog'

Use AC_CHECK_TOOL to use appropriate programs for the target.

(This patch is for lttng-tools.)

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 2 lines
Jonathan R. Julien
Efficios

A message that is not in the archive (sent off-list or not yet received): [email protected]