use AC_CHECK_TOOL for objcopy and strip
A message that is not in the archive (sent off-list or not yet received): [email protected]
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_TOOLto 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]
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_TOOLto 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]
Quoted 11 lines · Jonathan Rajotte Julien
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
That patch works too, thanks.