[lttng-dev] [PATCH] use AC_CHECK_TOOL for objcopy and strip

Jonathan Rajotte Julien Jonathan.rajotte-julien at efficios.com
Mon Dec 14 11:55:20 EST 2015


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

On 2015-12-11 11:45 AM, Nathan Lynch wrote:
> On 12/11/2015 10:43 AM, Nathan Lynch wrote:
>> 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
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Jonathan R. Julien
Efficios




More information about the lttng-dev mailing list