From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18512.32267.636550.47385@cargo.ozlabs.ibm.com> Date: Thu, 12 Jun 2008 11:38:19 +1000 From: Paul Mackerras To: Ingo Molnar Subject: Re: linux-next: powerpc build failure In-Reply-To: <20080611095951.GB14033@elte.hu> References: <20080611192748.686236fd.sfr@canb.auug.org.au> <20080611095951.GB14033@elte.hu> Cc: Stephen Rothwell , linuxppc-dev@ozlabs.org, linux-next@vger.kernel.org, amodra@bigpond.net.au, "H. Peter Anvin" , Thomas Gleixner List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Ingo Molnar writes: > could this be a tool chain limitation perhaps, or a gcc bug? Or does the > allyesconfig size go beyond some fundamental hardware limitation. (i > doubt it's the latter) Direct unconditional branches, including procedure calls, can only reach +/- 32MB from the address of the branch on powerpc. So if the image grows to more than 32MB of text there is a problem unless the linker is smart enough to insert trampolines. I don't know whether GNU ld is that smart. I'm cc'ing Alan Modra who would know the answer to that. Paul.