Re: problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-12-06 Thread Michael Cree
On 7/12/2011, at 7:55 AM, Uros Bizjak wrote: On Tue, Dec 6, 2011 at 5:46 PM, Raúl Porcel wrote: On 11/13/2011 01:43 AM, Michael Cree wrote: [snip] Is there anyone more knowledgeable than I about gcc who can give us guidance as to why gcc-4.6 should be enlarging the data segment so much tha

Re: problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-12-06 Thread Uros Bizjak
On Tue, Dec 6, 2011 at 5:46 PM, Raúl Porcel wrote: > On 11/13/2011 01:43 AM, Michael Cree wrote: > [snip] >> >> Is there anyone more knowledgeable than I about gcc who can give us >> guidance as to why gcc-4.6 should be enlarging the data segment so much >> that the small data model cannot be use

Re: problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-12-06 Thread Raúl Porcel
On 11/13/2011 01:43 AM, Michael Cree wrote: [snip] > > Is there anyone more knowledgeable than I about gcc who can give us > guidance as to why gcc-4.6 should be enlarging the data segment so much > that the small data model cannot be used? Or is there a fix required in > the kernel code? Guess

Re: problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-11-12 Thread Michael Cree
[Added linux-alpha to CC to increase likelihood of reaching someone who best knows about this issue.] On 03/11/11 15:54, carl hansen wrote: > Problem compiling kernel 3.1, gcc 4.6.1 or .2, latest binutils > > I think it's ld error > google suggested -Wl,--no-relax, didn't make a difference, unles

Re: problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-11-02 Thread Matt Turner
On Wed, Nov 2, 2011 at 10:54 PM, carl hansen wrote: > Problem compiling kernel 3.1, gcc 4.6.1 or .2, latest binutils > > I think it's ld error > google suggested -Wl,--no-relax, didn't make a difference, unless I > did  it wrong > > >  ld  -static -N  --build-id -o .tmp_vmlinux1 -T > arch/alpha/ke

problem compiling kernel ld error relocation truncated to fit: GPREL16 against symbol

2011-11-02 Thread carl hansen
Problem compiling kernel 3.1, gcc 4.6.1 or .2, latest binutils I think it's ld error google suggested -Wl,--no-relax, didn't make a difference, unless I did it wrong ld -static -N --build-id -o .tmp_vmlinux1 -T arch/alpha/kernel/vmlinux.lds arch/alpha/kernel/head.o init/built-in.o --start-gr