From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rolf Eike Beer" Subject: Re: Link error in CMake for HPPA1.1, wrong result for HPPA 2.0 Date: Thu, 25 Aug 2011 17:21:39 +0200 Message-ID: <253e59ae77bc82674b893c4d584c63e5.squirrel@webmail.sf-mail.de> References: <99a9e4b224dc9020d16d0a33fea6096f.squirrel@webmail.sf-mail.de> <4E5656E4.8000102@systemhalted.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: "linux-parisc" Return-path: In-Reply-To: <4E5656E4.8000102@systemhalted.org> List-ID: List-Id: linux-parisc.vger.kernel.org > On 8/25/2011 6:37 AM, Rolf Eike Beer wrote: >> const&)]+0xbc): cannot reach >> 00004abb__ZNSt8_Rb_treeIN5cmsys6StringESt4pairIKS1_iESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE8_S_rightEPSt18_Rb_tree_node_base+0, >> recompile with -ffunction-sections > > So did you recompile with -ffunction-sections? > > The basic problem is that the linker was unable to insert a jump > to the requested function because it was too far away. Some targets > like hppa have short branch distances and we use intermediate stub > tables to get around that. However, we can't insert stub tables just > anywhere, they need to go between sections. Therefore you need to > break up this object file. So this is just that the object file sometime grew too big to fit into the small jump stuff? I'll try tomorrow and see if it works. Eike