[PATCH] kexec: Teach configure to find the strip binary.

Eric W. Biederman ebiederm at xmission.com
Mon Dec 3 20:26:31 EST 2012


Yinghai Lu <yinghai at kernel.org> writes:

> On Mon, Dec 3, 2012 at 5:11 PM, Eric W. Biederman <ebiederm at xmission.com> wrote:
>> Simon Horman <horms at verge.net.au> writes:
>>
>>> On Mon, Dec 03, 2012 at 02:25:25PM -0800, Eric W. Biederman wrote:
>>>>
>>>> For some reason my version of the Makefile generated by configure
>>>> included the line STRIP=strp.  Rerunning configure from a fresh slate
>>>> did not regenerate that line so I don't know how it got there.  So add
>>>> the code to Makefile.in and configure.ac to autodetect the strip binary.
>>>>
>>>> This is needed so that we can remove from purgatory all of the
>>>> relocations to sections that are not needed at runtime, by stripping
>>>> out those sections.
>>>>
>>>> Signed-off-by: "Eric W. Biederman" <ebiederm at xmission.com>
>>>
>>> Thanks, I removed the last hunk, which seems to be a white-space only
>>> change to purgatory/arch/x86_64/Makefile, and applied the rest.
>>
>> Oops.  Thanks for cacthing that.  I didn't realize I had that change
>> sitting in my tree.
>
> after re config it. got
>
> DIRNAME         = dirname
> STRIP           = @STRIP@
>
>
> instead of
>
> STRIP = strip

Run bootstrap.  At the very least it looks like you haven't regeneratged
configure by running autoconf.

Eric




More information about the kexec mailing list