From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra Subject: Re: linux-next: powerpc build failure Date: Thu, 12 Jun 2008 15:03:35 +0930 Message-ID: <20080612053335.GA22035@bubble.grove.modra.org> References: <20080611192748.686236fd.sfr@canb.auug.org.au> <20080611095951.GB14033@elte.hu> <18512.32267.636550.47385@cargo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <18512.32267.636550.47385@cargo.ozlabs.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org To: Paul Mackerras Cc: Stephen Rothwell , linuxppc-dev@ozlabs.org, linux-next@vger.kernel.org, "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner List-Id: linux-next.vger.kernel.org On Thu, Jun 12, 2008 at 11:38:19AM +1000, Paul Mackerras wrote: > 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. It is, but you need to pass --relax to enable generation of the trampolines. -- Alan Modra Australia Development Lab, IBM