grub-devel
[Top][All Lists]
Advanced

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

Re: Various build failures in current bzr tree


From: Lennart Sorensen
Subject: Re: Various build failures in current bzr tree
Date: Fri, 10 Feb 2012 15:43:01 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Feb 10, 2012 at 09:38:25PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko 
wrote:
> On 10.02.2012 21:25, Lennart Sorensen wrote:
> >On Fri, Feb 10, 2012 at 08:25:32PM +0100, Vladimir 'φ-coder/phcoder' 
> >Serbinenko wrote:
> >>On 10.02.2012 20:14, Lennart Sorensen wrote:
> >>>On Fri, Feb 10, 2012 at 02:08:52PM -0500, Lennart Sorensen wrote:
> >>>>On Fri, Feb 10, 2012 at 07:58:25PM +0100, Vladimir 'φ-coder/phcoder' 
> >>>>Serbinenko wrote:
> >>>>>On 10.02.2012 19:15, Lennart Sorensen wrote:
> >>>>>>Where should grub_arch_dl_get_tramp_got_size come from?  The linker
> >>>>>>whines about it.
> >>>>>It's in grub-core/kern/powerpc/dl.c
> >>>>>I have no trouble to cross-compile ppc port on my amd64 machine.
> >>>>I will get the exact error again once I get the new code to stop whining
> >>>>so much. :)
> >>>>
> >>>>Or I can put the defined(__powerpc__) back in the older code and try
> >>>>that again.
> >>>OK I did that:
> >>Oh, it's powerpc-emu. That changes everything.
> >Well I am using the debian package rules which build both emu and
> >ieee1275.
> >
> >I am not using emu, but I am building it.  Building doesn't take long
> >on a p710 after all.
> >
> 
> 
> -- 
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
> 

> === modified file 'grub-core/kern/emu/full.c'
> --- grub-core/kern/emu/full.c 2012-02-09 22:15:27 +0000
> +++ grub-core/kern/emu/full.c 2012-02-10 20:37:43 +0000
> @@ -50,7 +50,7 @@
>    grub_no_autoload = 1;
>  }
>  
> -#ifdef __ia64__
> +#if defined (__ia64__) || defined (__powerpc__)
>  void grub_arch_dl_get_tramp_got_size (const void *ehdr __attribute__ 
> ((unused)),
>                                     grub_size_t *tramp, grub_size_t *got)
>  {
> 

That appears to fix the linker error on powerpc-emu builds.  Yay!

-- 
Len Sorensen



reply via email to

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