From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KuVkt-0005j6-EZ for mharc-grub-devel@gnu.org; Mon, 27 Oct 2008 13:19:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuVkr-0005gZ-JQ for grub-devel@gnu.org; Mon, 27 Oct 2008 13:19:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuVkn-0005bS-Vh for grub-devel@gnu.org; Mon, 27 Oct 2008 13:19:49 -0400 Received: from [199.232.76.173] (port=53230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuVkn-0005bC-ND for grub-devel@gnu.org; Mon, 27 Oct 2008 13:19:45 -0400 Received: from c60.cesmail.net ([216.154.195.49]:4143) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KuVkn-0002LK-Ca for grub-devel@gnu.org; Mon, 27 Oct 2008 13:19:45 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 27 Oct 2008 13:19:44 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 62E42618FDE; Mon, 27 Oct 2008 13:19:44 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <1224885201.7358.53.camel@manoel-laptop> References: <1224622323.31194.81.camel@localhost.localdomain> <1224784802.9254.56.camel@manoel-laptop> <1224788935.16720.38.camel@localhost.localdomain> <1224885201.7358.53.camel@manoel-laptop> Content-Type: text/plain Date: Mon, 27 Oct 2008 13:19:42 -0400 Message-Id: <1225127982.4991.7.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Carlos Roberto do Nascimento Costa , Hollis Blanchard Subject: Re: PPC64 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 17:19:49 -0000 On Fri, 2008-10-24 at 19:53 -0200, Manoel wrote: > Changing the load-base worked in the P5 machine but when I tested in the > P6 machine I got the following message: > Relocation overflow > In function grub_arch_dl_relocate_symbols. > It means that I'm lacking memory? No. Look at the code. For R_PPC_REL24, delta is shifted by 6 bits left and right and should stay the same. It's a 32-bit signed integer. The overflow would happen for positive numbers that exceed (0x7fffffff>>6) or 0x01ffffff. A similar limit exists for negative numbers. I suggest that you add some print statements to find out what's happening. -- Regards, Pavel Roskin