compiling linux-2.6.10-1.ydl.1: no go

Bill Fink billfink at mindspring.com
Fri Mar 4 22:16:08 MST 2005


Hi Eric,

On Fri Mar 4 2005, Eric Björkvall wrote:

> I'm trying to compile linux-2.6.10-1.ydl.1 ( I'm using software raid so 
> I have to compile the kernel... )
> on a G5 MP 1.8
> 
> No go, fails when linking:
> 
>    LD      .tmp_vmlinux1
> arch/ppc/platforms/built-in.o(.text+0x1068): In function 
> `flush_disable_caches':
> : undefined reference to `__flush_disable_L1'
> make: *** [.tmp_vmlinux1] Error 1
> 
> Any clues?

It sounds like you're trying to build a 32-bit kernel for the G5 rather
than a 64-bit kernel, which isn't very well supported.  See the discussion
at:

	http://ozlabs.org/pipermail/linuxppc-dev/2005-February/018493.html

						-Bill



> Subject: [PATCH] ppc32: pmac sleep support update
> From: Benjamin Herrenschmidt
> Date: Sun Feb 27 11:24:43 EST 2005
> 
> On Sat, 2005-02-26 at 12:28 +0100, Olaf Hering wrote:
> >  On Tue, Jan 18, Benjamin Herrenschmidt wrote:
> > 
> > > +++ linux-work/arch/ppc/platforms/pmac_cache.S	2005-01-18 12:01:49.000000000 +1100
> > 
> > > +	b	__flush_disable_L1
> > 
> > This one is only available for CONFIG_6xx, so g5 32bit users will
> > scream. (not that I care)
> 
> Me neither :) I don't support g5 32 bits, though I'll probably just fix
> it for this time as it's easy. 
> 
> > arch/ppc/platforms/built-in.o(.text+0x1228): In function `flush_disable_caches':
> > : undefined reference to `__flush_disable_L1'
> -- 
> Benjamin Herrenschmidt


More information about the yellowdog-general mailing list