grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: powerpc/sparc problems


From: rubisher
Subject: Re: powerpc/sparc problems
Date: Wed, 21 Oct 2009 15:59:36 +0000
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

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/<arch>. 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
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]