From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N0dbG-0000pX-RG for mharc-grub-devel@gnu.org; Wed, 21 Oct 2009 11:59:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0dbF-0000oX-DM for grub-devel@gnu.org; Wed, 21 Oct 2009 11:59:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0dbA-0000kM-AF for grub-devel@gnu.org; Wed, 21 Oct 2009 11:59:44 -0400 Received: from [199.232.76.173] (port=47362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0dbA-0000kH-5N for grub-devel@gnu.org; Wed, 21 Oct 2009 11:59:40 -0400 Received: from eir.is.scarlet.be ([193.74.71.27]:44994) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0db9-0004xW-IR for grub-devel@gnu.org; Wed, 21 Oct 2009 11:59:39 -0400 Received: from [213.49.126.232] (ip-213-49-126-232.dsl.scarlet.be [213.49.126.232]) (authenticated bits=0) by eir.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n9LFxaaa011955; Wed, 21 Oct 2009 17:59:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=scarlet.be; s=scarlet; t=1256140778; bh=O8SGijGYn6SY2USc5D2EMg7CVLFithQLmLMr1BNDylo=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ecT1a7nipq9CA6WlpFxEhy0jBHiMtViEakul9qi81Or3PsFSTDFMkILwr3z71yu/d kD2r8kS4xR44vcZJiTB+ra+rK0f2mFGX/GXuijBFVFNOnDyTEaCxQ0sr+4LDy5ViAB zrU6liPhcNIipkWE2GKCSLmaPDHiuWT1I5iJosQU= Message-ID: <4ADF2FE8.1040005@scarlet.be> Date: Wed, 21 Oct 2009 15:59:36 +0000 From: rubisher User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <1255337746.3204.23.camel@fz.local> <1255339990.3204.25.camel@fz.local> <4ADDFC57.4080706@scarlet.be> <4ADE1C6B.8000505@gmail.com> In-Reply-To: <4ADE1C6B.8000505@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: eir 20001; Body=2 Fuz1=2 Fuz2=2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: powerpc/sparc problems 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: Wed, 21 Oct 2009 15:59:45 -0000 Hello Vladimir, Vladimir 'phcoder' Serbinenko wrote: > rubisher wrote: >> Felix Zielcke wrote: >>> Am Montag, den 12.10.2009, 10:55 +0200 schrieb Felix Zielcke: >>> >>>> And also anyone who has access to a powerpc machine (and experience)? >>> Oh and I forgot to mention, that the powerpc version doestn't even build >>> now with 1.97~beta4: >>> >>> _restgpr_31_x in boot is not defined >>> >>> Full build log is here: >>> https://buildd.debian.org/fetch.cgi?&pkg=grub2&ver=1.97~beta4-1&arch=powerpc&stamp=1254771207&file=log >>> >>> >>> >> Hello Felix, >> >> I now reach to install grub for my debian unstable installation on my >> ibm p5 lpar (the unstable 1.97~beta3-1) but unfortunately failed to >> boot because failed to find a symbol (sorry I forget to take note of it). >> I so jump to svn (release 2641 and today 2642); no luck always this >> same error: >> >> _restgpr_31_x in boot is not defined >>>From the name and what we discussed with Felix on IRC I guess this > symbol is a counterpart of MIPS' __gnu_local_gp which is used in > handling GOT relocations which allow usage of a single instruction to > load 32-bit address instead of usual 2 but require linker to generate > additional table. You can look into kern/mips/dl.c of my mips branch for > details. Similar approach can be used for powerpc. I suppose it would be > a good idea to put this code to kern/got.c instead of kern/. But > such a change just before release is too big. > Since it correspond to a recent change in gcc behaviour perhaps an old > behaviour can be restored with an option. I well reach to grab your mips git tree, but I don't have deep knowledge in programming, so I will need a bit of time to analyse ;<) Tx a lot, J. >> I so re-try to build the deb pkg 1.97~beta3-1; too bad again this same >> error??? >> >> Could it be so a gcc issue (debian build of 1.97~beta3-1 was with >> gcc-4.4 4.4.1-3; here I rebuild with gcc-4.4 4.4.1-6 and even most >> recent 4.4.2-1?) >> >> I so try to come back to gcc 4.3 and this time it build fine (not yet >> tested if this one boot, sorry). >> >> Any idea? >> >> Tia, >> j. >> >> ps: I also tried to test bean123 git branch (grab this Oct 19) but >> this failed to build early to compile normal/main.c (gcc didn't find >> some references to some grub_... struct and fnct) >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> > >