relocation truncated to fit: GPREL16 against `.sbss'
Hi all,
I build the cross-compilers on kernel.org and those used for
linux-next. It seems linux-next is using an older (4.3.3) gcc because if we use a newer one we get several errors like the on in $subject.
In http://marc.info/?l=linux-arch&m=133580603202270&w=2
Matt explained that it was due to the kernel being to big to fit be compiled with -msmall-data. I was wondering if there is any possibility of correcting that?
I'm about to build anew batch of 4.8.0 compilers and it'd be nice if I could compile an alpha kernel :)
Yours Tony
Quoted 8 lines · Tony Breeds
I build the cross-compilers on kernel.org and those used for
linux-next. It seems linux-next is using an older (4.3.3) gcc because if we use a newer one we get several errors like the on in $subject.In http://marc.info/?l=linux-arch&m=133580603202270&w=2
Matt explained that it was due to the kernel being to big to fit be compiled with -msmall-data. I was wondering if there is any possibility of correcting that?
We have a patch to remove the -msmall-data which I shall be forwarding to Linus in the next couple or so days. That will fix the relocation errors for those using recent gcc compilers.
Cheers
Michael.
Quoted 11 lines · Michael Cree
Quoted 9 lines · Tony Breeds
I build the cross-compilers on kernel.org and those used for
linux-next. It seems linux-next is using an older (4.3.3) gcc because if we use a newer one we get several errors like the on in $subject.In http://marc.info/?l=linux-arch&m=133580603202270&w=2
Matt explained that it was due to the kernel being to big to fit be compiled with -msmall-data. I was wondering if there is any possibility
of correcting that?
Quoted 3 lines
We have a patch to remove the -msmall-data which I shall be forwarding to Linus in the next couple or so days. That will fix the relocation errors for those using recent gcc compilers.
Awesome thanks! I assume that's close to being in linux-next?
Yours Tony