From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra Subject: Re: linux-next: build failure after merge of the final tree Date: Fri, 6 Jul 2012 15:38:34 +0930 Message-ID: <20120706060834.GC5805@bubble.grove.modra.org> References: <20120705183345.ee84ec1048a19aa1c7129578@canb.auug.org.au> <20120705094348.GA5805@bubble.grove.modra.org> <20120706102151.fd4f769cf2aa3f753ad178bf@canb.auug.org.au> <20120706005709.GB5805@bubble.grove.modra.org> <20120706130137.6aae96c0072af1f330249c0d@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:43586 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309Ab2GFGIm (ORCPT ); Fri, 6 Jul 2012 02:08:42 -0400 Content-Disposition: inline In-Reply-To: <20120706130137.6aae96c0072af1f330249c0d@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, tony@bakeyournoodle.com On Fri, Jul 06, 2012 at 01:01:37PM +1000, Stephen Rothwell wrote: > solos-pci.c:(.text+0x1ff923c): relocation truncated to fit: R_PPC64_REL24 ^^^^^^^^^ > I assume at this point, we are just too large. Yeah, but not in total. I didn't see any of these in the allyes kernel I built with our proof of concept hack to avoid ld -r. I think you'll find that these are all from ld -r output, as I assume no one in kernel land writes drivers or whatever with 33M of text in a single file. Branches in that monstrous section can't even reach the trampolines that ld inserts to extend branch reach. Did I mention that ld -r is a bad idea? One workaround might be to compile with -ffunction-sections. -- Alan Modra Australia Development Lab, IBM