lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: Will's kernel compilation error
    Date
    > 
    > 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

    Thanks!!! I'll give that a shot, this is one of the files that I
    experimented on but I was setting the linker flags. Didn't think to simply
    remove -msmall-data CFLAG!



    \
     
     \ /
      Last update: 2010-03-16 19:41    [W:0.026 / U:35.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site