Re: frv build failure in mainline kernel

2017-05-16 Thread Matthias Kaehlcke
El Tue, May 16, 2017 at 11:22:07AM -0700 Guenter Roeck ha dit: > On Tue, May 16, 2017 at 10:58:20AM -0700, Matthias Kaehlcke wrote: > > El Tue, May 16, 2017 at 10:21:30AM -0700 Guenter Roeck ha dit: > > > > > On Tue, May 16, 2017 at 05:04:32PM +0100, David Howells wrote: > > > > Guenter Roeck wr

Re: frv build failure in mainline kernel

2017-05-16 Thread Guenter Roeck
On Tue, May 16, 2017 at 10:58:20AM -0700, Matthias Kaehlcke wrote: > El Tue, May 16, 2017 at 10:21:30AM -0700 Guenter Roeck ha dit: > > > On Tue, May 16, 2017 at 05:04:32PM +0100, David Howells wrote: > > > Guenter Roeck wrote: > > > > > > > Turns out not here because cacheline_aligned_in_sm

Re: frv build failure in mainline kernel

2017-05-16 Thread Matthias Kaehlcke
El Tue, May 16, 2017 at 10:21:30AM -0700 Guenter Roeck ha dit: > On Tue, May 16, 2017 at 05:04:32PM +0100, David Howells wrote: > > Guenter Roeck wrote: > > > > > Turns out not here because cacheline_aligned_in_smp includes > > > __page_aligned_data which also declares the section, at least

Re: frv build failure in mainline kernel

2017-05-16 Thread Guenter Roeck
On Tue, May 16, 2017 at 05:04:32PM +0100, David Howells wrote: > Guenter Roeck wrote: > > > Turns out not here because cacheline_aligned_in_smp includes > > __page_aligned_data which also declares the section, at least on x86. > > If there's any sort of section specification, that should suf

Re: frv build failure in mainline kernel

2017-05-16 Thread David Howells
Guenter Roeck wrote: > Turns out not here because cacheline_aligned_in_smp includes > __page_aligned_data which also declares the section, at least on x86. If there's any sort of section specification, that should suffice, I think. The problem might come that jiffies and jiffies_64 don't coi

Re: frv build failure in mainline kernel

2017-05-16 Thread Guenter Roeck
On 05/16/2017 05:44 AM, David Howells wrote: Guenter Roeck wrote: I assume declaring both __jiffy_data and cacheline_aligned_in_smp attributes doesn't work ? You should be able to stack attributes, I think. Turns out not here because cacheline_aligned_in_smp includes __page_aligne

Re: frv build failure in mainline kernel

2017-05-16 Thread David Howells
Guenter Roeck wrote: > I assume declaring both __jiffy_data and cacheline_aligned_in_smp > attributes doesn't work ? You should be able to stack attributes, I think. David

Re: frv build failure in mainline kernel

2017-05-15 Thread Guenter Roeck
On 05/15/2017 12:13 PM, Matthias Kaehlcke wrote: El Mon, May 15, 2017 at 10:02:15AM -0700 Guenter Roeck ha dit: Hi all, frv fails to build in mainline with the following build errors. kernel/built-in.o: In function `__do_softirq': (.text+0x6460): relocation truncated to fit: R_FRV_GPREL12 aga

Re: frv build failure in mainline kernel

2017-05-15 Thread Matthias Kaehlcke
El Mon, May 15, 2017 at 10:02:15AM -0700 Guenter Roeck ha dit: > Hi all, > > frv fails to build in mainline with the following build errors. > > kernel/built-in.o: In function `__do_softirq': > (.text+0x6460): relocation truncated to fit: R_FRV_GPREL12 against symbol > `jiffies' defined in *ABS*

frv build failure in mainline kernel

2017-05-15 Thread Guenter Roeck
Hi all, frv fails to build in mainline with the following build errors. kernel/built-in.o: In function `__do_softirq': (.text+0x6460): relocation truncated to fit: R_FRV_GPREL12 against symbol `jiffies' defined in *ABS* section in .tmp_vmlinux1 kernel/built-in.o: In function `__do_softirq': (.tex