From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757062AbcHXQck (ORCPT ); Wed, 24 Aug 2016 12:32:40 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:34327 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753548AbcHXQcj (ORCPT ); Wed, 24 Aug 2016 12:32:39 -0400 Message-ID: <57BDCC1A.6050505@gmail.com> Date: Wed, 24 Aug 2016 22:02:26 +0530 From: Sudip Mukherjee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Max Filippov , Guenter Roeck CC: "linux-kernel@vger.kernel.org" , "linux-xtensa@linux-xtensa.org" Subject: Re: next-20160804: Build error when building xtensa images References: <57A2E110.2020305@roeck-us.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 04 August 2016 06:55 PM, Max Filippov wrote: > Hi Guenter, > > On Thu, Aug 4, 2016 at 9:30 AM, Guenter Roeck wrote: >> Hi Max, >> >> I see the following build errors when building xtensa images in >> next-20160804. >> >> Error log: >> arch/xtensa/kernel/built-in.o: In function `fast_alloca': >> (.text+0x99a): dangerous relocation: j: cannot encode: _WindowUnderflow12 >> arch/xtensa/kernel/built-in.o: In function `fast_alloca': >> (.text+0x99d): dangerous relocation: j: cannot encode: _WindowUnderflow8 >> arch/xtensa/kernel/built-in.o: In function `fast_alloca': >> (.text+0x9a0): dangerous relocation: j: cannot encode: _WindowUnderflow4 >> arch/xtensa/kernel/built-in.o: In function >> `window_overflow_restore_a0_fixup': >> (.text+0x23a3): dangerous relocation: j: cannot encode: >> (.DoubleExceptionVector.text+0x104) >> arch/xtensa/kernel/built-in.o: In function >> `window_overflow_restore_a0_fixup': >> (.text+0x23c1): dangerous relocation: j: cannot encode: >> (.DoubleExceptionVector.text+0x104) >> arch/xtensa/kernel/built-in.o: In function >> `window_overflow_restore_a0_fixup': >> (.text+0x23dd): dangerous relocation: j: cannot encode: >> (.DoubleExceptionVector.text+0x104) >> >> This affects all images I am testing. >> >> Bisect points to 'xtensa: cleanup MMU setup and kernel layout macros'. > > Thanks for the report. The default kernel load address in this patch > was wrong. Fix posted. xtensa builds still fails with that same error. Did the fix make its way to linux-next? xtensa defconfig for next-20160824 is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/154646688 regards sudip