Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-22 Thread Nicholas Piggin
On Tue, 22 Aug 2017 11:19:02 +0200
Michal Simek <mon...@monstr.eu> wrote:

> On 20.8.2017 05:36, Nicholas Piggin wrote:
> > On Sun, 20 Aug 2017 08:37:36 +0800
> > kbuild test robot <fengguang...@intel.com> wrote:
> >   
> >> Hi Nicholas,
> >>
> >> FYI, the error/warning still remains.  
> > 
> > Still same answer as before, i.e., it seems to be this toolchain bug:
> > 
> > https://sourceware.org/bugzilla/show_bug.cgi?id=21017
> > 
> > I've had no response from the microblaze maintainer, so please stop
> > generating this warning now. If we get a bug report from a user who
> > actually cares and will test toolchain fixes then we can easily work
> > with them.
> > 
> > Many thanks for the very good service this build system provides!  
> 
> Can you please point me to the log?

Hmm, don't know if they keep a full log, but the error is

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

I suspect the change to thin archives, allowed the linker more
flexibility to satisfy all relocations with GOT relative. And
that would cause the bug.

If you could verify that the upstream kernel build succeeds with
an upstream binutils using allnoconfig, then we could see about
updating the kbuild test robot's toolchain.

Thanks,
Nick


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-22 Thread Nicholas Piggin
On Tue, 22 Aug 2017 11:19:02 +0200
Michal Simek  wrote:

> On 20.8.2017 05:36, Nicholas Piggin wrote:
> > On Sun, 20 Aug 2017 08:37:36 +0800
> > kbuild test robot  wrote:
> >   
> >> Hi Nicholas,
> >>
> >> FYI, the error/warning still remains.  
> > 
> > Still same answer as before, i.e., it seems to be this toolchain bug:
> > 
> > https://sourceware.org/bugzilla/show_bug.cgi?id=21017
> > 
> > I've had no response from the microblaze maintainer, so please stop
> > generating this warning now. If we get a bug report from a user who
> > actually cares and will test toolchain fixes then we can easily work
> > with them.
> > 
> > Many thanks for the very good service this build system provides!  
> 
> Can you please point me to the log?

Hmm, don't know if they keep a full log, but the error is

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

I suspect the change to thin archives, allowed the linker more
flexibility to satisfy all relocations with GOT relative. And
that would cause the bug.

If you could verify that the upstream kernel build succeeds with
an upstream binutils using allnoconfig, then we could see about
updating the kbuild test robot's toolchain.

Thanks,
Nick


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-22 Thread Michal Simek
On 20.8.2017 05:36, Nicholas Piggin wrote:
> On Sun, 20 Aug 2017 08:37:36 +0800
> kbuild test robot  wrote:
> 
>> Hi Nicholas,
>>
>> FYI, the error/warning still remains.
> 
> Still same answer as before, i.e., it seems to be this toolchain bug:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=21017
> 
> I've had no response from the microblaze maintainer, so please stop
> generating this warning now. If we get a bug report from a user who
> actually cares and will test toolchain fixes then we can easily work
> with them.
> 
> Many thanks for the very good service this build system provides!

Can you please point me to the log?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs




signature.asc
Description: OpenPGP digital signature


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-22 Thread Michal Simek
On 20.8.2017 05:36, Nicholas Piggin wrote:
> On Sun, 20 Aug 2017 08:37:36 +0800
> kbuild test robot  wrote:
> 
>> Hi Nicholas,
>>
>> FYI, the error/warning still remains.
> 
> Still same answer as before, i.e., it seems to be this toolchain bug:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=21017
> 
> I've had no response from the microblaze maintainer, so please stop
> generating this warning now. If we get a bug report from a user who
> actually cares and will test toolchain fixes then we can easily work
> with them.
> 
> Many thanks for the very good service this build system provides!

Can you please point me to the log?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs




signature.asc
Description: OpenPGP digital signature


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-21 Thread Fengguang Wu

Hi Nick,

On Sun, Aug 20, 2017 at 01:36:37PM +1000, Nicholas Piggin wrote:

On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot <fengguang...@intel.com> wrote:


Hi Nicholas,

FYI, the error/warning still remains.


Still same answer as before, i.e., it seems to be this toolchain bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

I've had no response from the microblaze maintainer, so please stop
generating this warning now. If we get a bug report from a user who
actually cares and will test toolchain fixes then we can easily work
with them.


OK. I'll ignore this error for now. Sorry for the noise!


Many thanks for the very good service this build system provides!


You are welcome. :)

Thanks,
Fengguang



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   58d4e450a490d5f02183f6834c12550ba26d3b47
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   7 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-21 Thread Fengguang Wu

Hi Nick,

On Sun, Aug 20, 2017 at 01:36:37PM +1000, Nicholas Piggin wrote:

On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot  wrote:


Hi Nicholas,

FYI, the error/warning still remains.


Still same answer as before, i.e., it seems to be this toolchain bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

I've had no response from the microblaze maintainer, so please stop
generating this warning now. If we get a bug report from a user who
actually cares and will test toolchain fixes then we can easily work
with them.


OK. I'll ignore this error for now. Sorry for the noise!


Many thanks for the very good service this build system provides!


You are welcome. :)

Thanks,
Fengguang



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   58d4e450a490d5f02183f6834c12550ba26d3b47
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   7 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-19 Thread Nicholas Piggin
On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot <fengguang...@intel.com> wrote:

> Hi Nicholas,
> 
> FYI, the error/warning still remains.

Still same answer as before, i.e., it seems to be this toolchain bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

I've had no response from the microblaze maintainer, so please stop
generating this warning now. If we get a bug report from a user who
actually cares and will test toolchain fixes then we can easily work
with them.

Many thanks for the very good service this build system provides!

Thanks,
Nick

> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   58d4e450a490d5f02183f6834c12550ba26d3b47
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
> default for all archs
> date:   7 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
> ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
>scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation



Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-19 Thread Nicholas Piggin
On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot  wrote:

> Hi Nicholas,
> 
> FYI, the error/warning still remains.

Still same answer as before, i.e., it seems to be this toolchain bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

I've had no response from the microblaze maintainer, so please stop
generating this warning now. If we get a bug report from a user who
actually cares and will test toolchain fixes then we can easily work
with them.

Many thanks for the very good service this build system provides!

Thanks,
Nick

> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   58d4e450a490d5f02183f6834c12550ba26d3b47
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
> default for all archs
> date:   7 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
> ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>    mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
>scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation



undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-19 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   58d4e450a490d5f02183f6834c12550ba26d3b47
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   7 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-19 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   58d4e450a490d5f02183f6834c12550ba26d3b47
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   7 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-12 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   89a55278dee487b172fb16295ccb2d0b2a1b319b
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   6 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93:  5333 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-12 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   89a55278dee487b172fb16295ccb2d0b2a1b319b
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   6 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93:  5333 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-06 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   0fdd951c9bef93637d5af036851e7a5632fbd6c3
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   5 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 113680 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-06 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   0fdd951c9bef93637d5af036851e7a5632fbd6c3
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   5 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 113680 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-29 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   0a07b238e5f488b459b6113a62e06b6aab017f71
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   4 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 21303 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-29 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   0a07b238e5f488b459b6113a62e06b6aab017f71
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   4 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 21303 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread Nicholas Piggin
On Sun, 23 Jul 2017 08:20:30 +0800
kbuild test robot <fengguang...@intel.com> wrote:

> Hi Nicholas,
> 
> FYI, the error/warning still remains.

FYI, I still suspect it is this bug

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

If so, then I'm not sure if it can be worked around in Linux.

Thanks,
Nick


> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   4b162c530d9c101381500e586fedb1340595a6ff
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
> default for all archs
> date:   3 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
> ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
>scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation



Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread Nicholas Piggin
On Sun, 23 Jul 2017 08:20:30 +0800
kbuild test robot  wrote:

> Hi Nicholas,
> 
> FYI, the error/warning still remains.

FYI, I still suspect it is this bug

https://sourceware.org/bugzilla/show_bug.cgi?id=21017

If so, then I'm not sure if it can be worked around in Linux.

Thanks,
Nick


> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   4b162c530d9c101381500e586fedb1340595a6ff
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
> default for all archs
> date:   3 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
> ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>    mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'  
>scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation



undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   4b162c530d9c101381500e586fedb1340595a6ff
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   3 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread kbuild test robot
Hi Nicholas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   4b162c530d9c101381500e586fedb1340595a6ff
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make 
default for all archs
date:   3 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-06 Thread Fengguang Wu

On Wed, Oct 05, 2016 at 10:43:45PM -0400, Nicolas Pitre wrote:

On Thu, 6 Oct 2016, Fengguang Wu wrote:


On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:
>On Tue, 4 Oct 2016, Fengguang Wu wrote:
>
> > CC Michal. It looks like a microblaze specific error. I'll blacklist
> > this old error on microblaze if there are no good solutions.
>
>It doesn't exhibit any build error on my end.  Which is why I suggested
>that you verify the integrity of your toolchain on your end.

OK, let me try upgrade the debian package first.
What's your toolchain version?


The one that was installed by make.cross from the reproduction
instructions included in the error report below. Currently:

gcc version 4.9.0
GNU ld (GNU Binutils) 2.24


Ah yes. It's a problem with the gcc 6.2 I built recently:

% gcc-6.2.0/microblaze-linux/bin/microblaze-linux-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-6.2.0/microblaze-linux/bin/microblaze-linux-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-6.2.0/microblaze-linux/bin/../libexec/gcc/microblaze-linux/6.2.0/lto-wrapper
Target: microblaze-linux
Configured with: /c/gcc/configure --target=microblaze-linux 
--enable-targets=all --prefix=/opt/cross/gcc-6.2.0/microblaze-linux 
--enable-languages=c --without-headers --disable-bootstrap 
--enable-sjlj-exceptions --with-system-libunwind --disable-nls 
--disable-threads --disable-shared --disable-libmudflap --disable-libssp 
--disable-libgomp --disable-decimal-float --disable-libquadmath 
--disable-libatomic --disable-libcc1 --disable-libmpx --enable-checking=release 
--enable-lto --enable-plugin
Thread model: single
gcc version 6.2.0 (GCC)

The below 2 both works. I'll revert to the working gcc 4.9.

% gcc-4.9.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-4.9.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-4.9.0-nolibc/microblaze-linux/bin/../libexec/gcc/microblaze-linux/4.9.0/lto-wrapper
Target: microblaze-linux
Configured with: /home/tony/buildall/src/gcc/configure 
--target=microblaze-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu 
--enable-targets=all --prefix=/opt/cross/gcc-4.9.0-nolibc/microblaze-linux/ 
--enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions 
--with-system-libunwind --disable-nls --disable-threads --disable-shared 
--disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float 
--enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 
--with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap
Thread model: single
gcc version 4.9.0 (GCC)

% gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/microblaze-xilinx-elf-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/microblaze-xilinx-elf-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/../libexec/gcc/microblaze-xilinx-elf/4.6.4/lto-wrapper
Target: microblaze-xilinx-elf
Configured with: 
/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/src/gcc-4.6.1/configure
 --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu 
--target=microblaze-xilinx-elf 
--prefix=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build
 
--with-local-prefix=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build/microblaze-xilinx-elf/sysroot
 --disable-libmudflap 
--with-sysroot=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build/microblaze-xilinx-elf/sysroot
 --with-newlib --enable-threads=no --disable-shared 
--with-pkgversion='crosstool-NG 1.15.3' --disable-__cxa_atexit 
--with-gmp=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 
--with-mpfr=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 
--with-mpc=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 --with-ppl=no --with-cloog=no --with-libelf=no --disable-lto 
--enable-target-optspace --without-long-double-128 --disable-libgomp 
--disable-libmudflap --disable-nls --disable-libstdcxx-pch --with-system-zlib 
--enable-multilib --enable-languages=c,c++
Thread model: single
gcc version 4.6.4 20120924 (prerelease) (crosstool-NG 1.15.3)

Thanks,
Fengguang


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-06 Thread Fengguang Wu

On Wed, Oct 05, 2016 at 10:43:45PM -0400, Nicolas Pitre wrote:

On Thu, 6 Oct 2016, Fengguang Wu wrote:


On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:
>On Tue, 4 Oct 2016, Fengguang Wu wrote:
>
> > CC Michal. It looks like a microblaze specific error. I'll blacklist
> > this old error on microblaze if there are no good solutions.
>
>It doesn't exhibit any build error on my end.  Which is why I suggested
>that you verify the integrity of your toolchain on your end.

OK, let me try upgrade the debian package first.
What's your toolchain version?


The one that was installed by make.cross from the reproduction
instructions included in the error report below. Currently:

gcc version 4.9.0
GNU ld (GNU Binutils) 2.24


Ah yes. It's a problem with the gcc 6.2 I built recently:

% gcc-6.2.0/microblaze-linux/bin/microblaze-linux-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-6.2.0/microblaze-linux/bin/microblaze-linux-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-6.2.0/microblaze-linux/bin/../libexec/gcc/microblaze-linux/6.2.0/lto-wrapper
Target: microblaze-linux
Configured with: /c/gcc/configure --target=microblaze-linux 
--enable-targets=all --prefix=/opt/cross/gcc-6.2.0/microblaze-linux 
--enable-languages=c --without-headers --disable-bootstrap 
--enable-sjlj-exceptions --with-system-libunwind --disable-nls 
--disable-threads --disable-shared --disable-libmudflap --disable-libssp 
--disable-libgomp --disable-decimal-float --disable-libquadmath 
--disable-libatomic --disable-libcc1 --disable-libmpx --enable-checking=release 
--enable-lto --enable-plugin
Thread model: single
gcc version 6.2.0 (GCC)

The below 2 both works. I'll revert to the working gcc 4.9.

% gcc-4.9.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-4.9.0-nolibc/microblaze-linux/bin/microblaze-linux-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-4.9.0-nolibc/microblaze-linux/bin/../libexec/gcc/microblaze-linux/4.9.0/lto-wrapper
Target: microblaze-linux
Configured with: /home/tony/buildall/src/gcc/configure 
--target=microblaze-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu 
--enable-targets=all --prefix=/opt/cross/gcc-4.9.0-nolibc/microblaze-linux/ 
--enable-languages=c --with-newlib --without-headers --enable-sjlj-exceptions 
--with-system-libunwind --disable-nls --disable-threads --disable-shared 
--disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float 
--enable-checking=release --with-mpfr=/home/tony/buildall/src/sys-x86_64 
--with-gmp=/home/tony/buildall/src/sys-x86_64 --disable-bootstrap
Thread model: single
gcc version 4.9.0 (GCC)

% gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/microblaze-xilinx-elf-gcc -v
Using built-in specs.
COLLECT_GCC=gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/microblaze-xilinx-elf-gcc
COLLECT_LTO_WRAPPER=/opt/kbuild/opt/cross/gcc-4.6.4-nolibc/microblaze-xilinx-elf/bin/../libexec/gcc/microblaze-xilinx-elf/4.6.4/lto-wrapper
Target: microblaze-xilinx-elf
Configured with: 
/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/src/gcc-4.6.1/configure
 --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu 
--target=microblaze-xilinx-elf 
--prefix=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build
 
--with-local-prefix=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build/microblaze-xilinx-elf/sysroot
 --disable-libmudflap 
--with-sysroot=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/tool-build/microblaze-xilinx-elf/sysroot
 --with-newlib --enable-threads=no --disable-shared 
--with-pkgversion='crosstool-NG 1.15.3' --disable-__cxa_atexit 
--with-gmp=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 
--with-mpfr=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 
--with-mpc=/home/buildbot/plgx_bld/xils005/2012_12_19/toolchains/lin64-microblaze-xilinx-elf/crosstool-ng/targets/microblaze-xilinx-elf/buildtools
 --with-ppl=no --with-cloog=no --with-libelf=no --disable-lto 
--enable-target-optspace --without-long-double-128 --disable-libgomp 
--disable-libmudflap --disable-nls --disable-libstdcxx-pch --with-system-zlib 
--enable-multilib --enable-languages=c,c++
Thread model: single
gcc version 4.6.4 20120924 (prerelease) (crosstool-NG 1.15.3)

Thanks,
Fengguang


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-05 Thread Nicolas Pitre
On Thu, 6 Oct 2016, Fengguang Wu wrote:

> On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:
> >On Tue, 4 Oct 2016, Fengguang Wu wrote:
> >
> > > CC Michal. It looks like a microblaze specific error. I'll blacklist
> > > this old error on microblaze if there are no good solutions.
> >
> >It doesn't exhibit any build error on my end.  Which is why I suggested
> >that you verify the integrity of your toolchain on your end.
> 
> OK, let me try upgrade the debian package first.
> What's your toolchain version?

The one that was installed by make.cross from the reproduction 
instructions included in the error report below. Currently:

gcc version 4.9.0
GNU ld (GNU Binutils) 2.24


> > > On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
> > > >On Thu, 22 Sep 2016, kbuild test robot wrote:
> > > >
> > > > > Hi Nicolas,
> > > > >
> > > > > FYI, the error/warning still remains.
> > > > >
> > > > > tree:
> > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > > > master
> > > > > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > > > > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > > > > optimization for constant divisor on 32-bit machines
> > > > > date:   10 months ago
> > > > > config: microblaze-mmu_defconfig (attached as .config)
> > > > > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > > > > reproduce:
> > > > > wget
> > > > > 
> > > > > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > > > > -O ~/bin/make.cross
> > > > > chmod +x ~/bin/make.cross
> > > > > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > > > > # save the attached .config to linux build tree
> > > > > make.cross ARCH=microblaze
> > > > >
> > > > > All errors (new ones prefixed by >>):
> > > > >
> > > > >net/built-in.o: In function `rpc_print_iostats':
> > > > > > > net/sunrpc/stats.c:204: undefined reference to
> > > > > > > `_GLOBAL_OFFSET_TABLE_'
> > > > >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault
> > > > >${LD}
> > > > >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds}
> > > > >${KBUILD_VMLINUX_INIT}
> > > > >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> > > >
> > > >The problem must be at your end, especially if the toolchain exhibits
> > > >segmentation faults.
> > > >
> > > >Following exactly the instructions above, I get:
> > > >
> > > >[...]
> > > >  LD  vmlinux
> > > >  SORTEX  vmlinux
> > > >  SYSMAP  System.map
> > > >  OBJCOPY arch/microblaze/boot/linux.bin
> > > >  Building modules, stage 2.
> > > >  MODPOST 3 modules
> > > >  CC  crypto/drbg.mod.o
> > > >  CC  crypto/echainiv.mod.o
> > > >  CC  crypto/jitterentropy_rng.mod.o
> > > >  LD [M]  crypto/jitterentropy_rng.ko
> > > >  LD [M]  crypto/drbg.ko
> > > >  LD [M]  crypto/echainiv.ko
> > > >Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
> > > >
> > > >
> > > >Nicolas
> > >
> 
> 


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-05 Thread Nicolas Pitre
On Thu, 6 Oct 2016, Fengguang Wu wrote:

> On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:
> >On Tue, 4 Oct 2016, Fengguang Wu wrote:
> >
> > > CC Michal. It looks like a microblaze specific error. I'll blacklist
> > > this old error on microblaze if there are no good solutions.
> >
> >It doesn't exhibit any build error on my end.  Which is why I suggested
> >that you verify the integrity of your toolchain on your end.
> 
> OK, let me try upgrade the debian package first.
> What's your toolchain version?

The one that was installed by make.cross from the reproduction 
instructions included in the error report below. Currently:

gcc version 4.9.0
GNU ld (GNU Binutils) 2.24


> > > On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
> > > >On Thu, 22 Sep 2016, kbuild test robot wrote:
> > > >
> > > > > Hi Nicolas,
> > > > >
> > > > > FYI, the error/warning still remains.
> > > > >
> > > > > tree:
> > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > > > master
> > > > > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > > > > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > > > > optimization for constant divisor on 32-bit machines
> > > > > date:   10 months ago
> > > > > config: microblaze-mmu_defconfig (attached as .config)
> > > > > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > > > > reproduce:
> > > > > wget
> > > > > 
> > > > > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > > > > -O ~/bin/make.cross
> > > > > chmod +x ~/bin/make.cross
> > > > > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > > > > # save the attached .config to linux build tree
> > > > > make.cross ARCH=microblaze
> > > > >
> > > > > All errors (new ones prefixed by >>):
> > > > >
> > > > >net/built-in.o: In function `rpc_print_iostats':
> > > > > > > net/sunrpc/stats.c:204: undefined reference to
> > > > > > > `_GLOBAL_OFFSET_TABLE_'
> > > > >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault
> > > > >${LD}
> > > > >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds}
> > > > >${KBUILD_VMLINUX_INIT}
> > > > >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> > > >
> > > >The problem must be at your end, especially if the toolchain exhibits
> > > >segmentation faults.
> > > >
> > > >Following exactly the instructions above, I get:
> > > >
> > > >[...]
> > > >  LD  vmlinux
> > > >  SORTEX  vmlinux
> > > >  SYSMAP  System.map
> > > >  OBJCOPY arch/microblaze/boot/linux.bin
> > > >  Building modules, stage 2.
> > > >  MODPOST 3 modules
> > > >  CC  crypto/drbg.mod.o
> > > >  CC  crypto/echainiv.mod.o
> > > >  CC  crypto/jitterentropy_rng.mod.o
> > > >  LD [M]  crypto/jitterentropy_rng.ko
> > > >  LD [M]  crypto/drbg.ko
> > > >  LD [M]  crypto/echainiv.ko
> > > >Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
> > > >
> > > >
> > > >Nicolas
> > >
> 
> 


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-05 Thread Fengguang Wu

On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:

On Tue, 4 Oct 2016, Fengguang Wu wrote:


CC Michal. It looks like a microblaze specific error. I'll blacklist
this old error on microblaze if there are no good solutions.


It doesn't exhibit any build error on my end.  Which is why I suggested
that you verify the integrity of your toolchain on your end.


OK, let me try upgrade the debian package first.
What's your toolchain version?

Thanks,
Fengguang


On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
>On Thu, 22 Sep 2016, kbuild test robot wrote:
>
> > Hi Nicolas,
> >
> > FYI, the error/warning still remains.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > optimization for constant divisor on 32-bit machines
> > date:   10 months ago
> > config: microblaze-mmu_defconfig (attached as .config)
> > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > reproduce:
> > wget
> > 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > # save the attached .config to linux build tree
> > make.cross ARCH=microblaze
> >
> > All errors (new ones prefixed by >>):
> >
> >net/built-in.o: In function `rpc_print_iostats':
> > > > net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
> >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD}
> >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT}
> >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
>
>The problem must be at your end, especially if the toolchain exhibits
>segmentation faults.
>
>Following exactly the instructions above, I get:
>
>[...]
>  LD  vmlinux
>  SORTEX  vmlinux
>  SYSMAP  System.map
>  OBJCOPY arch/microblaze/boot/linux.bin
>  Building modules, stage 2.
>  MODPOST 3 modules
>  CC  crypto/drbg.mod.o
>  CC  crypto/echainiv.mod.o
>  CC  crypto/jitterentropy_rng.mod.o
>  LD [M]  crypto/jitterentropy_rng.ko
>  LD [M]  crypto/drbg.ko
>  LD [M]  crypto/echainiv.ko
>Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
>
>
>Nicolas



Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-05 Thread Fengguang Wu

On Tue, Oct 04, 2016 at 09:08:27AM -0400, Nicolas Pitre wrote:

On Tue, 4 Oct 2016, Fengguang Wu wrote:


CC Michal. It looks like a microblaze specific error. I'll blacklist
this old error on microblaze if there are no good solutions.


It doesn't exhibit any build error on my end.  Which is why I suggested
that you verify the integrity of your toolchain on your end.


OK, let me try upgrade the debian package first.
What's your toolchain version?

Thanks,
Fengguang


On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
>On Thu, 22 Sep 2016, kbuild test robot wrote:
>
> > Hi Nicolas,
> >
> > FYI, the error/warning still remains.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > optimization for constant divisor on 32-bit machines
> > date:   10 months ago
> > config: microblaze-mmu_defconfig (attached as .config)
> > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > reproduce:
> > wget
> > 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > # save the attached .config to linux build tree
> > make.cross ARCH=microblaze
> >
> > All errors (new ones prefixed by >>):
> >
> >net/built-in.o: In function `rpc_print_iostats':
> > > > net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
> >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD}
> >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT}
> >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
>
>The problem must be at your end, especially if the toolchain exhibits
>segmentation faults.
>
>Following exactly the instructions above, I get:
>
>[...]
>  LD  vmlinux
>  SORTEX  vmlinux
>  SYSMAP  System.map
>  OBJCOPY arch/microblaze/boot/linux.bin
>  Building modules, stage 2.
>  MODPOST 3 modules
>  CC  crypto/drbg.mod.o
>  CC  crypto/echainiv.mod.o
>  CC  crypto/jitterentropy_rng.mod.o
>  LD [M]  crypto/jitterentropy_rng.ko
>  LD [M]  crypto/drbg.ko
>  LD [M]  crypto/echainiv.ko
>Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
>
>
>Nicolas



Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-04 Thread Nicolas Pitre
On Tue, 4 Oct 2016, Fengguang Wu wrote:

> CC Michal. It looks like a microblaze specific error. I'll blacklist
> this old error on microblaze if there are no good solutions.

It doesn't exhibit any build error on my end.  Which is why I suggested 
that you verify the integrity of your toolchain on your end.


> On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
> >On Thu, 22 Sep 2016, kbuild test robot wrote:
> >
> > > Hi Nicolas,
> > >
> > > FYI, the error/warning still remains.
> > >
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > master
> > > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > > optimization for constant divisor on 32-bit machines
> > > date:   10 months ago
> > > config: microblaze-mmu_defconfig (attached as .config)
> > > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > > reproduce:
> > > wget
> > > 
> > > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > > -O ~/bin/make.cross
> > > chmod +x ~/bin/make.cross
> > > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > > # save the attached .config to linux build tree
> > > make.cross ARCH=microblaze
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > >net/built-in.o: In function `rpc_print_iostats':
> > > > > net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
> > >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD}
> > >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT}
> > >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> >
> >The problem must be at your end, especially if the toolchain exhibits
> >segmentation faults.
> >
> >Following exactly the instructions above, I get:
> >
> >[...]
> >  LD  vmlinux
> >  SORTEX  vmlinux
> >  SYSMAP  System.map
> >  OBJCOPY arch/microblaze/boot/linux.bin
> >  Building modules, stage 2.
> >  MODPOST 3 modules
> >  CC  crypto/drbg.mod.o
> >  CC  crypto/echainiv.mod.o
> >  CC  crypto/jitterentropy_rng.mod.o
> >  LD [M]  crypto/jitterentropy_rng.ko
> >  LD [M]  crypto/drbg.ko
> >  LD [M]  crypto/echainiv.ko
> >Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
> >
> >
> >Nicolas
> 


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-04 Thread Nicolas Pitre
On Tue, 4 Oct 2016, Fengguang Wu wrote:

> CC Michal. It looks like a microblaze specific error. I'll blacklist
> this old error on microblaze if there are no good solutions.

It doesn't exhibit any build error on my end.  Which is why I suggested 
that you verify the integrity of your toolchain on your end.


> On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:
> >On Thu, 22 Sep 2016, kbuild test robot wrote:
> >
> > > Hi Nicolas,
> > >
> > > FYI, the error/warning still remains.
> > >
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > master
> > > head:   7d1e042314619115153a0f6f06e4552c09a50e13
> > > commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic
> > > optimization for constant divisor on 32-bit machines
> > > date:   10 months ago
> > > config: microblaze-mmu_defconfig (attached as .config)
> > > compiler: microblaze-linux-gcc (GCC) 6.2.0
> > > reproduce:
> > > wget
> > > 
> > > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > > -O ~/bin/make.cross
> > > chmod +x ~/bin/make.cross
> > > git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> > > # save the attached .config to linux build tree
> > > make.cross ARCH=microblaze
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > >net/built-in.o: In function `rpc_print_iostats':
> > > > > net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
> > >scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD}
> > >${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT}
> > >--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> >
> >The problem must be at your end, especially if the toolchain exhibits
> >segmentation faults.
> >
> >Following exactly the instructions above, I get:
> >
> >[...]
> >  LD  vmlinux
> >  SORTEX  vmlinux
> >  SYSMAP  System.map
> >  OBJCOPY arch/microblaze/boot/linux.bin
> >  Building modules, stage 2.
> >  MODPOST 3 modules
> >  CC  crypto/drbg.mod.o
> >  CC  crypto/echainiv.mod.o
> >  CC  crypto/jitterentropy_rng.mod.o
> >  LD [M]  crypto/jitterentropy_rng.ko
> >  LD [M]  crypto/drbg.ko
> >  LD [M]  crypto/echainiv.ko
> >Kernel: arch/microblaze/boot/linux.bin is ready  (#1)
> >
> >
> >Nicolas
> 


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-03 Thread Fengguang Wu

CC Michal. It looks like a microblaze specific error. I'll blacklist
this old error on microblaze if there are no good solutions.

Sorry for the noise!

On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:

On Thu, 22 Sep 2016, kbuild test robot wrote:


Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}


The problem must be at your end, especially if the toolchain exhibits
segmentation faults.

Following exactly the instructions above, I get:

[...]
 LD  vmlinux
 SORTEX  vmlinux
 SYSMAP  System.map
 OBJCOPY arch/microblaze/boot/linux.bin
 Building modules, stage 2.
 MODPOST 3 modules
 CC  crypto/drbg.mod.o
 CC  crypto/echainiv.mod.o
 CC  crypto/jitterentropy_rng.mod.o
 LD [M]  crypto/jitterentropy_rng.ko
 LD [M]  crypto/drbg.ko
 LD [M]  crypto/echainiv.ko
Kernel: arch/microblaze/boot/linux.bin is ready  (#1)


Nicolas


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-03 Thread Fengguang Wu

CC Michal. It looks like a microblaze specific error. I'll blacklist
this old error on microblaze if there are no good solutions.

Sorry for the noise!

On Fri, Sep 23, 2016 at 05:11:32PM -0400, Nicolas Pitre wrote:

On Thu, 22 Sep 2016, kbuild test robot wrote:


Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}


The problem must be at your end, especially if the toolchain exhibits
segmentation faults.

Following exactly the instructions above, I get:

[...]
 LD  vmlinux
 SORTEX  vmlinux
 SYSMAP  System.map
 OBJCOPY arch/microblaze/boot/linux.bin
 Building modules, stage 2.
 MODPOST 3 modules
 CC  crypto/drbg.mod.o
 CC  crypto/echainiv.mod.o
 CC  crypto/jitterentropy_rng.mod.o
 LD [M]  crypto/jitterentropy_rng.ko
 LD [M]  crypto/drbg.ko
 LD [M]  crypto/echainiv.ko
Kernel: arch/microblaze/boot/linux.bin is ready  (#1)


Nicolas


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-03 Thread Nicolas Pitre

As I stated before, I can't reproduce this.
Please check your toolchain. It apparently throws segmentation faults.

On Sun, 2 Oct 2016, kbuild test robot wrote:

> Hi Nicolas,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
> commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic 
> optimization for constant divisor on 32-bit machines
> date:   11 months ago
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>net/built-in.o: In function `rpc_print_iostats':
> >> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
>scripts/link-vmlinux.sh: line 52: 107322 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
> --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> 
> vim +204 net/sunrpc/stats.c
> 
> 840210fc Weston Andros Adamson 2014-06-24  188
>   [task->tk_msg.rpc_proc->p_statidx]);
> 840210fc Weston Andros Adamson 2014-06-24  189  }
> 0a702195 Weston Andros Adamson 2012-02-17  190  
> EXPORT_SYMBOL_GPL(rpc_count_iostats);
> 11c556b3 Chuck Lever   2006-03-20  191  
> ec535ce1 Adrian Bunk   2006-04-18  192  static void 
> _print_name(struct seq_file *seq, unsigned int op,
> ec535ce1 Adrian Bunk   2006-04-18  193struct 
> rpc_procinfo *procs)
> cc0175c1 Chuck Lever   2006-03-20  194  {
> cc0175c1 Chuck Lever   2006-03-20  195if (procs[op].p_name)
> cc0175c1 Chuck Lever   2006-03-20  196seq_printf(seq, 
> "\t%12s: ", procs[op].p_name);
> cc0175c1 Chuck Lever   2006-03-20  197else if (op == 0)
> cc0175c1 Chuck Lever   2006-03-20  198seq_printf(seq, 
> "\tNULL: ");
> cc0175c1 Chuck Lever   2006-03-20  199else
> cc0175c1 Chuck Lever   2006-03-20  200seq_printf(seq, 
> "\t%12u: ", op);
> cc0175c1 Chuck Lever   2006-03-20  201  }
> cc0175c1 Chuck Lever   2006-03-20  202  
> 11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
> seq_file *seq, struct rpc_clnt *clnt)
> 11c556b3 Chuck Lever   2006-03-20 @204  {
> 11c556b3 Chuck Lever   2006-03-20  205struct rpc_iostats 
> *stats = clnt->cl_metrics;
> 2446ab60 Trond Myklebust   2012-03-01  206struct rpc_xprt *xprt;
> 11c556b3 Chuck Lever   2006-03-20  207unsigned int op, 
> maxproc = clnt->cl_maxproc;
> 11c556b3 Chuck Lever   2006-03-20  208  
> 11c556b3 Chuck Lever   2006-03-20  209if (!stats)
> 11c556b3 Chuck Lever   2006-03-20  210return;
> 11c556b3 Chuck Lever   2006-03-20  211  
> 11c556b3 Chuck Lever   2006-03-20  212seq_printf(seq, "\tRPC 
> iostats version: %s  ", RPC_IOSTATS_VERS);
> 
> :: The code at line 204 was first introduced by commit
> :: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism 
> for collecting stats in the RPC client
> 
> :: TO: Chuck Lever <c...@netapp.com>
> :: CC: Trond Myklebust <trond.mykleb...@netapp.com>
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation
> 


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-03 Thread Nicolas Pitre

As I stated before, I can't reproduce this.
Please check your toolchain. It apparently throws segmentation faults.

On Sun, 2 Oct 2016, kbuild test robot wrote:

> Hi Nicolas,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
> commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic 
> optimization for constant divisor on 32-bit machines
> date:   11 months ago
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>net/built-in.o: In function `rpc_print_iostats':
> >> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
>scripts/link-vmlinux.sh: line 52: 107322 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
> --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
> 
> vim +204 net/sunrpc/stats.c
> 
> 840210fc Weston Andros Adamson 2014-06-24  188
>   [task->tk_msg.rpc_proc->p_statidx]);
> 840210fc Weston Andros Adamson 2014-06-24  189  }
> 0a702195 Weston Andros Adamson 2012-02-17  190  
> EXPORT_SYMBOL_GPL(rpc_count_iostats);
> 11c556b3 Chuck Lever   2006-03-20  191  
> ec535ce1 Adrian Bunk   2006-04-18  192  static void 
> _print_name(struct seq_file *seq, unsigned int op,
> ec535ce1 Adrian Bunk   2006-04-18  193struct 
> rpc_procinfo *procs)
> cc0175c1 Chuck Lever   2006-03-20  194  {
> cc0175c1 Chuck Lever   2006-03-20  195if (procs[op].p_name)
> cc0175c1 Chuck Lever   2006-03-20  196seq_printf(seq, 
> "\t%12s: ", procs[op].p_name);
> cc0175c1 Chuck Lever   2006-03-20  197else if (op == 0)
> cc0175c1 Chuck Lever   2006-03-20  198seq_printf(seq, 
> "\tNULL: ");
> cc0175c1 Chuck Lever   2006-03-20  199else
> cc0175c1 Chuck Lever   2006-03-20  200seq_printf(seq, 
> "\t%12u: ", op);
> cc0175c1 Chuck Lever   2006-03-20  201  }
> cc0175c1 Chuck Lever   2006-03-20  202  
> 11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
> seq_file *seq, struct rpc_clnt *clnt)
> 11c556b3 Chuck Lever   2006-03-20 @204  {
> 11c556b3 Chuck Lever   2006-03-20  205struct rpc_iostats 
> *stats = clnt->cl_metrics;
> 2446ab60 Trond Myklebust   2012-03-01  206struct rpc_xprt *xprt;
> 11c556b3 Chuck Lever   2006-03-20  207unsigned int op, 
> maxproc = clnt->cl_maxproc;
> 11c556b3 Chuck Lever   2006-03-20  208  
> 11c556b3 Chuck Lever   2006-03-20  209if (!stats)
> 11c556b3 Chuck Lever   2006-03-20  210return;
> 11c556b3 Chuck Lever   2006-03-20  211  
> 11c556b3 Chuck Lever   2006-03-20  212seq_printf(seq, "\tRPC 
> iostats version: %s  ", RPC_IOSTATS_VERS);
> 
> :: The code at line 204 was first introduced by commit
> :: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism 
> for collecting stats in the RPC client
> 
> :: TO: Chuck Lever 
> :: CC: Trond Myklebust 
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation
> 


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-01 Thread kbuild test robot
Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   11 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52: 107322 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever <c...@netapp.com>
:: CC: Trond Myklebust <trond.mykleb...@netapp.com>

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-10-01 Thread kbuild test robot
Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f51fdffad5b7709d0ade40736b58a2da2707fa15
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   11 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52: 107322 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever 
:: CC: Trond Myklebust 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-23 Thread Nicolas Pitre
On Thu, 22 Sep 2016, kbuild test robot wrote:

> Hi Nicolas,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   7d1e042314619115153a0f6f06e4552c09a50e13
> commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic 
> optimization for constant divisor on 32-bit machines
> date:   10 months ago
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>net/built-in.o: In function `rpc_print_iostats':
> >> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
>scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
> --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

The problem must be at your end, especially if the toolchain exhibits 
segmentation faults.

Following exactly the instructions above, I get:

[...]
  LD  vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/microblaze/boot/linux.bin
  Building modules, stage 2.
  MODPOST 3 modules
  CC  crypto/drbg.mod.o
  CC  crypto/echainiv.mod.o
  CC  crypto/jitterentropy_rng.mod.o
  LD [M]  crypto/jitterentropy_rng.ko
  LD [M]  crypto/drbg.ko
  LD [M]  crypto/echainiv.ko
Kernel: arch/microblaze/boot/linux.bin is ready  (#1)


Nicolas


Re: net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-23 Thread Nicolas Pitre
On Thu, 22 Sep 2016, kbuild test robot wrote:

> Hi Nicolas,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   7d1e042314619115153a0f6f06e4552c09a50e13
> commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic 
> optimization for constant divisor on 32-bit machines
> date:   10 months ago
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 461a5e51060c93f5844113f4be9dba513cc92830
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze 
> 
> All errors (new ones prefixed by >>):
> 
>net/built-in.o: In function `rpc_print_iostats':
> >> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
>scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
> ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
> --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

The problem must be at your end, especially if the toolchain exhibits 
segmentation faults.

Following exactly the instructions above, I get:

[...]
  LD  vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/microblaze/boot/linux.bin
  Building modules, stage 2.
  MODPOST 3 modules
  CC  crypto/drbg.mod.o
  CC  crypto/echainiv.mod.o
  CC  crypto/jitterentropy_rng.mod.o
  LD [M]  crypto/jitterentropy_rng.ko
  LD [M]  crypto/drbg.ko
  LD [M]  crypto/echainiv.ko
Kernel: arch/microblaze/boot/linux.bin is ready  (#1)


Nicolas


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-21 Thread kbuild test robot
Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever <c...@netapp.com>
:: CC: Trond Myklebust <trond.mykleb...@netapp.com>

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-21 Thread kbuild test robot
Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever 
:: CC: Trond Myklebust 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-16 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   024c7e3756d8a42fc41fe8a9488488b9b09d1dcc
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52: 198800 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever <c...@netapp.com>
:: CC: Trond Myklebust <trond.mykleb...@netapp.com>

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-16 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   024c7e3756d8a42fc41fe8a9488488b9b09d1dcc
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52: 198800 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  [task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever 
:: CC: Trond Myklebust 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip