From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756349AbcHBWqK (ORCPT ); Tue, 2 Aug 2016 18:46:10 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:59874 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755961AbcHBWpz (ORCPT ); Tue, 2 Aug 2016 18:45:55 -0400 From: Arnd Bergmann To: linuxppc-dev@lists.ozlabs.org Cc: "Luis R. Rodriguez" , Guenter Roeck , Stephen Rothwell , "linux-kernel@vger.kernel.org" , linux-next@vger.kernel.org, Paul Mackerras , Fengguang Wu Subject: Re: powerpc allyesconfig / allmodconfig linux-next next-20160729 - next-20160729 build failures Date: Wed, 03 Aug 2016 00:34:29 +0200 Message-ID: <1675797.qYisZ5OKTp@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-31-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20160802220243.GK3296@wotan.suse.de> References: <20160802215839.GA7383@roeck-us.net> <20160802220243.GK3296@wotan.suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:kJLuvpO5IR3Yvwc7Zu/7XF8jaiWutL9GdblqskXHmrLYvzIAetn YnUUMGU1dYKiiYAbPupqLi1rwWB/8g4g9LNPM7f/h/CHjZJRr90cKN7VDrW7IyaDlh/yBB3 WaqzC8Ko3YV9PfqGuhWQ+Exh9GhUyCv5IcP4sfrZYh3AA4WdXyE82AbO62t+0SIWTo1pbcD pqknI7o5yk681O+W0oPiQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:zODxHyARf0E=:KcQvQt+jw14NmPScTX2i6l bm6tIRKSqV1/kiwWb9oUwLHBx06oMg7kTDZa1mQN1+LYW31oD6cdrO8tf0XgrWKtwZMQJo3No DTJzROhi02RsngqDCh9ghF+Y9Yvh/aL5i7KldrMSl8rYlkKt6WB3INbhARsTcpiXLMJR/Ch6B uEZv7d5PIHq4BZhOo/4clwgNC/L57vbfkpGeuumh3Y0F/0M9mZsmUMJELB6MxMnqGyrKynTFS jL7dZPZl18as0TQEiH7/JuCMrR2hU6RJsH2r/ZV3yfuEOSK0WxjlNUX+2eNyC8+Dng8DK3VdF 2vG7dlcxavxHc/6KL5muMkJi/i1lTjPEksAUKjBMRL5f7lY4hkuBHt2HNhqLge/zJeclapBgi CtiXNmzy7ZFIrom3d1Izzl860uc5CRvSbGRMklzzov+splgtbdXGiHWDXtp2VDln++ILV3kh7 s0HJjARvVOTLeysMLKtipNxNj/7ZQTQYE9VE1g0/CjT0QVB65oYc3bvQNn2+SgtP1NJTx4GiQ jJYtJXFQGCQeNcx8oEJylsfPLbs6GxOY7xctc/7OXTA/bPTRhKvHIredYCpfsK54QaUQViIgR 1GW9adBOlZQ3tsbfCCKpI3XpZ4VgVW87tnxE5kIISBeZ2k9yAwR+ymuOIo7ogMeXwGuR6TXhn rz2itxY+bGG9HSBlj4MgTwLjOr9GF48ObwVbgMt1pDRM2G053SaH9vrGB8HQlo4souRbjYCEr Rg28TDKNKGwuVuU/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, August 3, 2016 12:02:43 AM CEST Luis R. Rodriguez wrote: > On Tue, Aug 02, 2016 at 02:58:39PM -0700, Guenter Roeck wrote: > > On Tue, Aug 02, 2016 at 01:07:09PM -0700, Luis R. Rodriguez wrote: > > > Are linux-next builds being tested for powerpc with allyesconfig and > > > allmodconfig ? I have some changes I'm making and while debugging my > > > build issues I decided to give a clean build a shot and see linux-next > > > next-20160729 up to next-20160729 all have build failures without my > > > changes. I get: > > > > > > /opt/gcc-4.9.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: > > > drivers/built-in.o: .opd is not a regular array of opd entries > > > MODPOST vmlinux.o > > > GEN .version > > > CHK include/generated/compile.h > > > UPD include/generated/compile.h > > > CC init/version.o > > > LD init/built-in.o > > > /opt/gcc-4.9.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: > > > drivers/built-in.o: .opd is not a regular array of opd entries > > > drivers/built-in.o: In function `.ipw2100_up': > > > ipw2100.c:(.text+0x1ff9c90): relocation truncated to fit: > > > > "relocation truncated to fit" errors are typical for ppc:allyesconfig. > > Thanks for the confirmation. For how long is it known this is broken? > Does anyone care and fix these ? Or is this best effort? We used to have the same thing on ARM, but it's (mostly) fixed now. In case of ARM, the solution was to ensure that all sections that have long jumps or targets of long jumps are marked as executable in the ELF headers, so the linker can insert trampolines. The one remaining problem at the moment is related to recursive linking of the drivers/ directory, which has .text section that is larger than 32MB by itself. There is a patch to solve this by linking each drivers/*/built-in.o object directly into vmlinux, but that is a rather drastic change. Arnd