[PATCH 1/7] ARM: disallow combining XIP and LTO

Arnd Bergmann arnd at arndb.de
Mon Mar 12 09:46:12 PDT 2018


On Mon, Mar 12, 2018 at 2:52 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Mon, Mar 12, 2018 at 3:40 AM, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
>> On Tue, 20 Feb 2018, Arnd Bergmann wrote:
>
>>> Obviously we want to make the combination work, no idea why it doesn't.
>>
>> Well, it does work regardless of the noise. Here the nm output is piped
>> into sed, and the later exits early when it finds what it is looking
>> for, causing nm to complain about the broken pipe.
>>
>> Here's a patch silencing this bogus error message and fixing other minor
>> issues.
>>
>> ----- >8
>> Subject: [PATCH] ARM: deflate_xip_data.sh: minor fixes
>>
>> Send nm complaints about broken pipe (when sed exits early) to /dev/null.
>> All errors should be printed to stderr.
>> Don't trap on normal exit so the trap can return an error code.
>>
>> Signed-off-by: Nicolas Pitre <nico at linaro.org>
>
> Ah, that explains it, thanks!
>
> Tested-by: Arnd Bergmann <arnd at arndb.de>


Nevermind, I confused it with a different problem that I'm running into
with randconfig builds:

arm-linux-gnueabi-nm: 'arch/arm/boot/compressed/../../../../vmlinux':
No such file

I applied your patch, and it did not happen for a couple of randconfigs,
but that is now back. So I did not test the bug you are fixing, and the
thing that I thought you fixed is still there.

        Arnd



More information about the linux-arm-kernel mailing list