RE: Will's kernel compilation error

From: Will L Givens
Date: Tue Mar 16 2010 - 17:23:51 EST


> >
> > It seems the problem, GPREL16, is pretty wide spread. I've tried
> building
> > the drivers as modules, since that doesn't appear to be a problem
> *knock on
> > wood* but one driver after another, after another, after another
> generates a
> > new GPREL16 error! Raid0 drivers, numerous NetFilter modules, IR
> drivers
> > (guess I can't use a Hauppauge card), and various other components.
> I'm
> > going to try a few more configurations... then hit the sack. I'm
> pretty sure
> > this is going to be a long process.
>
> when I hit the relocation overflow a couple of releases before, I
> locally
> applied this patch, which fixes it for me. I assume the kernel is
> slightly
> bigger this way, but I didn't measure it.
>
> ev6, everything built in, gcc 4.4 I think
>
> Thorsten
>
>
> diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile
> index 4759fe7..2cc3cc5 100644
> --- a/arch/alpha/Makefile
> +++ b/arch/alpha/Makefile
> @@ -12,7 +12,7 @@ NM := $(NM) -B
>
> LDFLAGS_vmlinux := -static -N #-relax
> CHECKFLAGS += -D__alpha__ -m64
> -cflags-y := -pipe -mno-fp-regs -ffixed-8 -msmall-data
> +cflags-y := -pipe -mno-fp-regs -ffixed-8
> cflags-y += $(call cc-option, -fno-jump-tables)
>
> cpuflags-$(CONFIG_ALPHA_EV4) := -mcpu=ev4
>
>
> --
> | Thorsten Kranzkowski Internet: dl8bcu@xxxxxxxxx
> |
> | Mobile: ++49 170 1876134 Snail: Kiebitzstr. 14, 49324 Melle,
> Germany |
> | Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@xxxxxxxxxxxxxxxxxxxxxx
> [44.130.8.19] |

That patch did the trick!!!! Everything built without issue... I'll post
your patch at bugzilla.kernel.org. Now, just have to test the AIC7xxx driver
and see if it works! Nope it doesn't, same error as before... aic7xxx
unable to handle kernel paging address at 036b***** I'm going to try
swapping some memory around and see what happens if anything.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/