Re: Build failure in -next due to 'kbuild: allow archs to select link dead code/data elimination'

From: Michal Marek
Date: Thu Sep 22 2016 - 08:38:26 EST


On 2016-09-14 21:48, Guenter Roeck wrote:
> On Wed, Sep 14, 2016 at 12:30:04PM +1000, Nicholas Piggin wrote:
>> commit 0ae28be83b4d6cd03ef5b481487d042f2b91954e
>> Author: Nicholas Piggin <npiggin@xxxxxxxxx>
>> Date: Wed Sep 14 12:24:03 2016 +1000
>>
>> kbuild: -ffunction-sections fix for archs with conflicting sections
>>
>> Enabling -ffunction-sections modified the generic linker script to
>> pull .text.* sections into regular TEXT_TEXT section, conflicting
>> with some architectures. Revert that change and require archs that
>> enable the option to ensure they have no conflicting section names,
>> and do the appropriate merging.
>>
>> Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
>>
> Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Applied to kbuild.git#kbuild.

Thanks,
Michal