From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N0LG0-0000N5-II for mharc-grub-devel@gnu.org; Tue, 20 Oct 2009 16:24:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0LFy-0000KY-LR for grub-devel@gnu.org; Tue, 20 Oct 2009 16:24:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0LFu-0000FM-0T for grub-devel@gnu.org; Tue, 20 Oct 2009 16:24:34 -0400 Received: from [199.232.76.173] (port=44913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0LFt-0000F8-HI for grub-devel@gnu.org; Tue, 20 Oct 2009 16:24:29 -0400 Received: from mail-fx0-f228.google.com ([209.85.220.228]:40064) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N0LFs-0005Gr-Kc for grub-devel@gnu.org; Tue, 20 Oct 2009 16:24:29 -0400 Received: by fxm28 with SMTP id 28so6923717fxm.42 for ; Tue, 20 Oct 2009 13:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=2aZF4Nvi244Dl6YgH977Ccqbor7tF4edriOyBRr8+ig=; b=XZo5rhDZ57gH4HTnZAzOQtePcEhF+pOh9IdHvoDb1Pf1bNqoLIeusWhD78Eqnc+8Sy yXm8dQYdW8wcwx5brQfmeEyGJDcTa0wyOXfjdoMXCsNQ4hTBOdqQlXdBTXUooClmiiAV qcT8/1q4S2VkYGY27kgA3b+ykItAnM4imlpj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=LXuis3ZUM3zRwlNPcjtnvJfxjeLn99bT3QhiLTOpB4n1q2HYl9dF60TfEcmNobIkxs 2v4e7pIq3rsTKEfG1kPKXi7aQG8/at2e60oe4D/mJ7Sl/PJaXttR8OvmxebMr0O7KPB9 SGaUHEFWzFsSJtitRwq+fyF/ekEhjXBccA21Y= Received: by 10.204.49.68 with SMTP id u4mr6844936bkf.42.1256070267537; Tue, 20 Oct 2009 13:24:27 -0700 (PDT) Received: from debian.bg45.phnet (gprs25.swisscom-mobile.ch [193.247.250.25]) by mx.google.com with ESMTPS id 13sm39453bwz.14.2009.10.20.13.24.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Oct 2009 13:24:23 -0700 (PDT) Message-ID: <4ADE1C6B.8000505@gmail.com> Date: Tue, 20 Oct 2009 22:24:11 +0200 From: Vladimir 'phcoder' Serbinenko 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> In-Reply-To: <4ADDFC57.4080706@scarlet.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Tue, 20 Oct 2009 20:24:35 -0000 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 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 > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git